blob: 22232b59a0b5a1ee692981435d3dfd06a4e45f53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//TEST:REFLECTION:-profile ps_4_0 -target hlsl
// 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);
}
|