Merge pull request #2891 from dneto0/hlsl-namespace
[platform/upstream/glslang.git] / Test / spv.register.autoassign-2.frag
1
2 SamplerState g_tSamp : register(s0);
3
4 Texture2D g_tScene[2] : register(t0);
5
6 struct PS_OUTPUT
7 {
8     float4 Color : SV_Target0;
9 };
10
11 void main(out PS_OUTPUT psout)
12 {
13     psout.Color = g_tScene[0].Sample(g_tSamp, float2(0.3,0.4)) +
14                   g_tScene[1].Sample(g_tSamp, float2(0.3,0.4));
15 }