blob: 04f58af19ff5d4c12bdba9566fbc8fee0f989efe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//TEST:SIMPLE:-profile ps_4_0 -target hlsl -target reflection-json
// Confirm that shader parameters in imported modules get reflected properly.
__import reflect_imported_code;
Texture2D t;
SamplerState s;
cbuffer C
{
float c;
}
float4 main() : SV_Target
{
return use(t,s_i)
+ use(c)
+ use(t_i, s)
+ use(c_i);
}
|