blob: 67b49aadb8a02cdfebf67e4a0c26344e13b50a70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//TEST:REFLECTION:-stage fragment -target glsl -no-codegen
//TEST:REFLECTION:-stage fragment -target hlsl -no-codegen -profile sm_5_0
//TEST:REFLECTION:-stage fragment -target hlsl -no-codegen -profile sm_5_1
// Confirm that we do parameter binding correctly
// when we have both a parameter block *and* user-defined
// resource parameters that both need automatic
// binding allocation.
struct Helper
{
Texture2D t;
SamplerState s;
};
ParameterBlock<Helper> a;
Texture2D b;
float4 main() : SV_target
{ return 0.0; }
|