2 Texture2DMS <float> g_tTex2dmsf1;
3 Texture2DMS <float2> g_tTex2dmsf2;
4 Texture2DMS <float3> g_tTex2dmsf3;
5 Texture2DMS <float4> g_tTex2dmsf4;
7 Texture2D <float> g_tTex2df1;
8 Texture2D <float2> g_tTex2df2;
9 Texture2D <float3> g_tTex2df3;
10 Texture2D <float4> g_tTex2df4;
14 float4 main() : SV_Target0
22 uint NumberOfSamplesU;
24 g_tTex2dmsf1 . GetDimensions(WidthU, HeightU, NumberOfSamplesU);
25 g_tTex2dmsf2 . GetDimensions(WidthU, HeightU, NumberOfSamplesU);
26 g_tTex2dmsf3 . GetDimensions(WidthU, HeightU, NumberOfSamplesU);
27 g_tTex2dmsf4 . GetDimensions(WidthU, HeightU, NumberOfSamplesU);
29 g_tTex2dmsf1 . Load(int2(1,2), 3);
30 g_tTex2dmsf2 . Load(int2(1,2), 3);
31 g_tTex2dmsf3 . Load(int2(1,2), 3);
32 g_tTex2dmsf4 . Load(int2(1,2), 3);
34 g_tTex2df1 . Sample(g_sSamp, float2(.1, .2));
35 g_tTex2df2 . Sample(g_sSamp, float2(.1, .2));
36 g_tTex2df3 . Sample(g_sSamp, float2(.1, .2));
37 g_tTex2df4 . Sample(g_sSamp, float2(.1, .2));