steve-lunarg | 8b0227c | 2016-10-14 16:40:32 -0600 | [diff] [blame] | 1 | SamplerState g_sSamp : register(s0); |
| 2 | |
| 3 | Texture1D <float> g_tTex1df1; |
| 4 | Texture1D <float2> g_tTex1df2; |
| 5 | Texture1D <float3> g_tTex1df3; |
| 6 | Texture1D <float4> g_tTex1df4; |
| 7 | |
| 8 | struct PS_OUTPUT |
| 9 | { |
| 10 | float4 Color : SV_Target0; |
| 11 | }; |
| 12 | |
| 13 | PS_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 | } |