1 SamplerState g_sSamp : register(s0);
3 Texture1D g_tTex1df4a : register(t1);
5 uniform Texture1D <float4> g_tTex1df4 : register(t0);
6 Texture1D <int4> g_tTex1di4;
7 Texture1D <uint4> g_tTex1du4;
9 Texture2D <float4> g_tTex2df4;
10 Texture2D <int4> g_tTex2di4;
11 Texture2D <uint4> g_tTex2du4;
13 Texture3D <float4> g_tTex3df4;
14 Texture3D <int4> g_tTex3di4;
15 Texture3D <uint4> g_tTex3du4;
17 TextureCube <float4> g_tTexcdf4;
18 TextureCube <int4> g_tTexcdi4;
19 TextureCube <uint4> g_tTexcdu4;
23 float4 Color : SV_Target0;
24 float Depth : SV_Depth;
31 float4 txval10 = g_tTex1df4 . SampleGrad(g_sSamp, 0.1, 1.1, 1.2);
32 int4 txval11 = g_tTex1di4 . SampleGrad(g_sSamp, 0.2, 1.1, 1.2);
33 uint4 txval12 = g_tTex1du4 . SampleGrad(g_sSamp, 0.3, 1.1, 1.2);
35 float4 txval20 = g_tTex2df4 . SampleGrad(g_sSamp, float2(0.1, 0.2), float2(1.1, 1.2), float2(1.1, 1.2));
36 int4 txval21 = g_tTex2di4 . SampleGrad(g_sSamp, float2(0.3, 0.4), float2(1.1, 1.2), float2(1.1, 1.2));
37 uint4 txval22 = g_tTex2du4 . SampleGrad(g_sSamp, float2(0.5, 0.6), float2(1.1, 1.2), float2(1.1, 1.2));
39 float4 txval30 = g_tTex3df4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float3(1.1, 1.2, 1.3), float3(1.1, 1.2, 1.3));
40 int4 txval31 = g_tTex3di4 . SampleGrad(g_sSamp, float3(0.4, 0.5, 0.6), float3(1.1, 1.2, 1.3), float3(1.1, 1.2, 1.3));
41 uint4 txval32 = g_tTex3du4 . SampleGrad(g_sSamp, float3(0.7, 0.8, 0.9), float3(1.1, 1.2, 1.3), float3(1.1, 1.2, 1.3));
43 float4 txval40 = g_tTexcdf4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float3(1.1, 1.2, 1.3), float3(1.1, 1.2, 1.3));
44 int4 txval41 = g_tTexcdi4 . SampleGrad(g_sSamp, float3(0.4, 0.5, 0.6), float3(1.1, 1.2, 1.3), float3(1.1, 1.2, 1.3));
45 uint4 txval42 = g_tTexcdu4 . SampleGrad(g_sSamp, float3(0.7, 0.8, 0.9), float3(1.1, 1.2, 1.3), float3(1.1, 1.2, 1.3));