1 SamplerState g_sSamp : register(s0);
2 uniform sampler2D g_sSamp2d;
4 uniform Texture1DArray <float4> g_tTex1df4a : register(t0);
5 Texture1DArray <int4> g_tTex1di4a;
6 Texture1DArray <uint4> g_tTex1du4a;
8 Texture2DArray <float4> g_tTex2df4a;
9 Texture2DArray <int4> g_tTex2di4a;
10 Texture2DArray <uint4> g_tTex2du4a;
12 TextureCubeArray <float4> g_tTexcdf4a;
13 TextureCubeArray <int4> g_tTexcdi4a;
14 TextureCubeArray <uint4> g_tTexcdu4a;
18 float4 Color : SV_Target0;
19 float Depth : SV_Depth;
40 float4 txval001 = g_tTex2df4a . GatherRed(g_sSamp, c3, o2);
41 int4 txval011 = g_tTex2di4a . GatherRed(g_sSamp, c3, o2);
42 uint4 txval021 = g_tTex2du4a . GatherRed(g_sSamp, c3, o2);
44 float4 txval004 = g_tTex2df4a . GatherRed(g_sSamp, c3, o2, o2, o2, o2);
45 int4 txval014 = g_tTex2di4a . GatherRed(g_sSamp, c3, o2, o2, o2, o2);
46 uint4 txval024 = g_tTex2du4a . GatherRed(g_sSamp, c3, o2, o2, o2, o2);
48 // float4 txval00s = g_tTex2df4a . GatherRed(g_sSamp, c3, o2, status);
49 // int4 txval01s = g_tTex2di4a . GatherRed(g_sSamp, c3, o2, status);
50 // uint4 txval02s = g_tTex2du4a . GatherRed(g_sSamp, c3, o2, status);
52 // float4 txval004s = g_tTex2df4a . GatherRed(g_sSamp, c3, o2, o2, o2, o2, status);
53 // int4 txval014s = g_tTex2di4a . GatherRed(g_sSamp, c3, o2, o2, o2, o2, status);
54 // uint4 txval024s = g_tTex2du4a . GatherRed(g_sSamp, c3, o2, o2, o2, o2, status);
56 float4 txval101 = g_tTex2df4a . GatherGreen(g_sSamp, c3, o2);
57 int4 txval111 = g_tTex2di4a . GatherGreen(g_sSamp, c3, o2);
58 uint4 txval121 = g_tTex2du4a . GatherGreen(g_sSamp, c3, o2);
60 float4 txval104 = g_tTex2df4a . GatherGreen(g_sSamp, c3, o2, o2, o2, o2);
61 int4 txval114 = g_tTex2di4a . GatherGreen(g_sSamp, c3, o2, o2, o2, o2);
62 uint4 txval124 = g_tTex2du4a . GatherGreen(g_sSamp, c3, o2, o2, o2, o2);
64 // float4 txval10s = g_tTex2df4a . GatherGreen(g_sSamp, c3, o2, status);
65 // int4 txval11s = g_tTex2di4a . GatherGreen(g_sSamp, c3, o2, status);
66 // uint4 txval12s = g_tTex2du4a . GatherGreen(g_sSamp, c3, o2, status);
68 // float4 txval104 = g_tTex2df4a . GatherGreen(g_sSamp, c3, o2, o2, o2, o2, status);
69 // int4 txval114 = g_tTex2di4a . GatherGreen(g_sSamp, c3, o2, o2, o2, o2, status);
70 // uint4 txval124 = g_tTex2du4a . GatherGreen(g_sSamp, c3, o2, o2, o2, o2, status);
72 float4 txval201 = g_tTex2df4a . GatherBlue(g_sSamp, c3, o2);
73 int4 txval211 = g_tTex2di4a . GatherBlue(g_sSamp, c3, o2);
74 uint4 txval221 = g_tTex2du4a . GatherBlue(g_sSamp, c3, o2);
76 float4 txval204 = g_tTex2df4a . GatherBlue(g_sSamp, c3, o2, o2, o2, o2);
77 int4 txval214 = g_tTex2di4a . GatherBlue(g_sSamp, c3, o2, o2, o2, o2);
78 uint4 txval224 = g_tTex2du4a . GatherBlue(g_sSamp, c3, o2, o2, o2, o2);
80 // float4 txval204s = g_tTex2df4a . GatherBlue(g_sSamp, c3, o2, o2, o2, o2, status);
81 // int4 txval214s = g_tTex2di4a . GatherBlue(g_sSamp, c3, o2, o2, o2, o2, status);
82 // uint4 txval224s = g_tTex2du4a . GatherBlue(g_sSamp, c3, o2, o2, o2, o2, status);
84 // float4 txval20s = g_tTex2df4a . GatherBlue(g_sSamp, c3, o2, status);
85 // int4 txval21s = g_tTex2di4a . GatherBlue(g_sSamp, c3, o2, status);
86 // uint4 txval22s = g_tTex2du4a . GatherBlue(g_sSamp, c3, o2, status);
88 float4 txval301 = g_tTex2df4a . GatherAlpha(g_sSamp, c3, o2);
89 int4 txval311 = g_tTex2di4a . GatherAlpha(g_sSamp, c3, o2);
90 uint4 txval321 = g_tTex2du4a . GatherAlpha(g_sSamp, c3, o2);
92 float4 txval304 = g_tTex2df4a . GatherAlpha(g_sSamp, c3, o2, o2, o2, o2);
93 int4 txval314 = g_tTex2di4a . GatherAlpha(g_sSamp, c3, o2, o2, o2, o2);
94 uint4 txval324 = g_tTex2du4a . GatherAlpha(g_sSamp, c3, o2, o2, o2, o2);
96 // float4 txval304s = g_tTex2df4a . GatherAlpha(g_sSamp, c3, o2, o2, o2, o2, status);
97 // int4 txval314s = g_tTex2di4a . GatherAlpha(g_sSamp, c3, o2, o2, o2, o2, status);
98 // uint4 txval324s = g_tTex2du4a . GatherAlpha(g_sSamp, c3, o2, o2, o2, o2, status);
100 // float4 txval30s = g_tTex2df4a . GatherAlpha(g_sSamp, c3, o2, status);
101 // int4 txval31s = g_tTex2di4a . GatherAlpha(g_sSamp, c3, o2, status);
102 // uint4 txval32s = g_tTex2du4a . GatherAlpha(g_sSamp, c3, o2, status);
104 // no 3D gathers with offset