1SamplerState       g_sSamp : register(s0);
2
3Texture1D <float>  g_tTex1df1;
4Texture1D <float2> g_tTex1df2;
5Texture1D <float3> g_tTex1df3;
6Texture1D <float4> g_tTex1df4;
7
8struct PS_OUTPUT
9{
10    float4 Color : SV_Target0;
11};
12
13PS_OUTPUT main()
14{
15   PS_OUTPUT psout;
16
17   float  txval10 = g_tTex1df1 . Sample(g_sSamp, 0.1);
18   float2 txval11 = g_tTex1df2 . Sample(g_sSamp, 0.2);
19   float3 txval12 = g_tTex1df3 . Sample(g_sSamp, 0.2);
20   float4 txval13 = g_tTex1df4 . Sample(g_sSamp, 0.2);
21
22   psout.Color = 1.0;
23   return psout;
24}
25