blob: 944bb795e8d32c5319969ac546935569d55d2f3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//TEST:SIMPLE:-profile ps_4_0 -target hlsl -target reflection-json
// Confirm that basic reflection info can be output
float4 use(float4 val) { return val; };
float4 use(Texture2D t, SamplerState s) { return t.Sample(s, 0.0); }
Texture2D t;
SamplerState s;
cbuffer C
{
float c;
}
float4 main() : SV_Target
{
return use(t,s) + use(c);
}
|