1 SamplerState g_sSamp : register(s0);
2 uniform sampler2D g_sSamp2d;
4 Texture1D g_tTex1df4a : register(t1);
6 uniform Texture1D <float4> g_tTex1df4 : register(t0);
7 Texture1D <int4> g_tTex1di4;
8 Texture1D <uint4> g_tTex1du4;
10 Texture2D <float4> g_tTex2df4;
11 Texture2D <int4> g_tTex2di4;
12 Texture2D <uint4> g_tTex2du4;
14 Texture3D <float4> g_tTex3df4;
15 Texture3D <int4> g_tTex3di4;
16 Texture3D <uint4> g_tTex3du4;
18 TextureCube <float4> g_tTexcdf4;
19 TextureCube <int4> g_tTexcdi4;
20 TextureCube <uint4> g_tTexcdu4;
24 float4 Color : SV_Target0;
25 float Depth : SV_Depth;
46 float4 txval001 = g_tTex2df4 . GatherRed(g_sSamp, c2, o2);
47 int4 txval011 = g_tTex2di4 . GatherRed(g_sSamp, c2, o2);
48 uint4 txval021 = g_tTex2du4 . GatherRed(g_sSamp, c2, o2);
50 float4 txval004 = g_tTex2df4 . GatherRed(g_sSamp, c2, o2, o2, o2, o2);
51 int4 txval014 = g_tTex2di4 . GatherRed(g_sSamp, c2, o2, o2, o2, o2);
52 uint4 txval024 = g_tTex2du4 . GatherRed(g_sSamp, c2, o2, o2, o2, o2);
54 // float4 txval00s = g_tTex2df4 . GatherRed(g_sSamp, c2, o2, status);
55 // int4 txval01s = g_tTex2di4 . GatherRed(g_sSamp, c2, o2, status);
56 // uint4 txval02s = g_tTex2du4 . GatherRed(g_sSamp, c2, o2, status);
58 // float4 txval004s = g_tTex2df4 . GatherRed(g_sSamp, c2, o2, o2, o2, o2, status);
59 // int4 txval014s = g_tTex2di4 . GatherRed(g_sSamp, c2, o2, o2, o2, o2, status);
60 // uint4 txval024s = g_tTex2du4 . GatherRed(g_sSamp, c2, o2, o2, o2, o2, status);
62 float4 txval101 = g_tTex2df4 . GatherGreen(g_sSamp, c2, o2);
63 int4 txval111 = g_tTex2di4 . GatherGreen(g_sSamp, c2, o2);
64 uint4 txval121 = g_tTex2du4 . GatherGreen(g_sSamp, c2, o2);
66 float4 txval104 = g_tTex2df4 . GatherGreen(g_sSamp, c2, o2, o2, o2, o2);
67 int4 txval114 = g_tTex2di4 . GatherGreen(g_sSamp, c2, o2, o2, o2, o2);
68 uint4 txval124 = g_tTex2du4 . GatherGreen(g_sSamp, c2, o2, o2, o2, o2);
70 // float4 txval10s = g_tTex2df4 . GatherGreen(g_sSamp, c2, o2, status);
71 // int4 txval11s = g_tTex2di4 . GatherGreen(g_sSamp, c2, o2, status);
72 // uint4 txval12s = g_tTex2du4 . GatherGreen(g_sSamp, c2, o2, status);
74 // float4 txval104 = g_tTex2df4 . GatherGreen(g_sSamp, c2, o2, o2, o2, o2, status);
75 // int4 txval114 = g_tTex2di4 . GatherGreen(g_sSamp, c2, o2, o2, o2, o2, status);
76 // uint4 txval124 = g_tTex2du4 . GatherGreen(g_sSamp, c2, o2, o2, o2, o2, status);
78 float4 txval201 = g_tTex2df4 . GatherBlue(g_sSamp, c2, o2);
79 int4 txval211 = g_tTex2di4 . GatherBlue(g_sSamp, c2, o2);
80 uint4 txval221 = g_tTex2du4 . GatherBlue(g_sSamp, c2, o2);
82 float4 txval204 = g_tTex2df4 . GatherBlue(g_sSamp, c2, o2, o2, o2, o2);
83 int4 txval214 = g_tTex2di4 . GatherBlue(g_sSamp, c2, o2, o2, o2, o2);
84 uint4 txval224 = g_tTex2du4 . GatherBlue(g_sSamp, c2, o2, o2, o2, o2);
86 // float4 txval204s = g_tTex2df4 . GatherBlue(g_sSamp, c2, o2, o2, o2, o2, status);
87 // int4 txval214s = g_tTex2di4 . GatherBlue(g_sSamp, c2, o2, o2, o2, o2, status);
88 // uint4 txval224s = g_tTex2du4 . GatherBlue(g_sSamp, c2, o2, o2, o2, o2, status);
90 // float4 txval20s = g_tTex2df4 . GatherBlue(g_sSamp, c2, o2, status);
91 // int4 txval21s = g_tTex2di4 . GatherBlue(g_sSamp, c2, o2, status);
92 // uint4 txval22s = g_tTex2du4 . GatherBlue(g_sSamp, c2, o2, status);
94 float4 txval301 = g_tTex2df4 . GatherAlpha(g_sSamp, c2, o2);
95 int4 txval311 = g_tTex2di4 . GatherAlpha(g_sSamp, c2, o2);
96 uint4 txval321 = g_tTex2du4 . GatherAlpha(g_sSamp, c2, o2);
98 float4 txval304 = g_tTex2df4 . GatherAlpha(g_sSamp, c2, o2, o2, o2, o2);
99 int4 txval314 = g_tTex2di4 . GatherAlpha(g_sSamp, c2, o2, o2, o2, o2);
100 uint4 txval324 = g_tTex2du4 . GatherAlpha(g_sSamp, c2, o2, o2, o2, o2);
102 // float4 txval304s = g_tTex2df4 . GatherAlpha(g_sSamp, c2, o2, o2, o2, o2, status);
103 // int4 txval314s = g_tTex2di4 . GatherAlpha(g_sSamp, c2, o2, o2, o2, o2, status);
104 // uint4 txval324s = g_tTex2du4 . GatherAlpha(g_sSamp, c2, o2, o2, o2, o2, status);
106 // float4 txval30s = g_tTex2df4 . GatherAlpha(g_sSamp, c2, o2, status);
107 // int4 txval31s = g_tTex2di4 . GatherAlpha(g_sSamp, c2, o2, status);
108 // uint4 txval32s = g_tTex2du4 . GatherAlpha(g_sSamp, c2, o2, status);
110 // no 3D gathers with offset