blob: 5c91ed339f4bac5279a46673694feee58c86e8c2 (
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
//TEST:REFLECTION:-stage fragment -target hlsl -profile sm_5_0
//TEST:REFLECTION:-stage fragment -target hlsl -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; }
|