2 SamplerState g_sSamp1 : register(s0);
4 SamplerState g_sSamp3[2] : register(s2);
5 SamplerState g_sSamp4[3];
8 SamplerState g_sSamp_unused1;
9 SamplerState g_sSamp_unused2;
11 Texture1D g_tTex1 : register(t1);
12 const uniform Texture1D g_tTex2;
13 Texture1D g_tTex3[2] : register(t3);
17 Texture1D g_tTex_unused1 : register(t0);
18 Texture1D g_tTex_unused2 : register(t2);
19 Texture1D g_tTex_unused3;
27 uniform MyStruct_t mystruct : register(b4);
31 float4 Color : SV_Target0;
34 uniform float4 myfloat4_a;
35 uniform float4 myfloat4_b;
36 uniform int4 myint4_a;
41 g_tTex1 . Sample(g_sSamp1, 0.1) +
42 g_tTex2 . Sample(g_sSamp2, 0.2) +
43 g_tTex3[0] . Sample(g_sSamp3[0], 0.3) +
44 g_tTex3[1] . Sample(g_sSamp3[1], 0.3) +
45 g_tTex4[1] . Sample(g_sSamp4[1], 0.4) +
46 g_tTex4[2] . Sample(g_sSamp4[2], 0.4) +
47 g_tTex5 . Sample(g_sSamp5, 0.5) +
54 g_tTex1 . Sample(g_sSamp1, 0.1) +
55 g_tTex3[1] . Sample(g_sSamp3[1], 0.3);
58 // Not called from entry point:
62 g_tTex_unused1 . Sample(g_sSamp_unused1, 1.1) +
63 g_tTex_unused2 . Sample(g_sSamp_unused2, 1.2);
69 psout.Color = Func1() + Func2();