diff options
| -rw-r--r-- | tests/compute/textureSamplingTest.slang | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/compute/textureSamplingTest.slang b/tests/compute/textureSamplingTest.slang index 6dcc6b439..76eebdf03 100644 --- a/tests/compute/textureSamplingTest.slang +++ b/tests/compute/textureSamplingTest.slang @@ -93,11 +93,11 @@ FragmentStageOutput fragmentMain(FragmentStageInput input) float4 val = 0.0; val += t1D.Sample(samplerState, uv.x); val += t2D.Sample(samplerState, uv); - val += t3D.Sample (samplerState, float3(uv, 0.5)); - val += t1dArray.Sample(samplerState, float2(uv.x, 0.0)); - val += t2dArray.Sample(samplerState, float3(uv, 0.0)); - val += tCubeArray.Sample(samplerState, float4(uv, 0.5, 0.0)); - val += tCube.Sample(samplerState, float3(uv, 0.5)); - outputBuffer[0] = 7.0;//val.x; + //val += t3D.Sample (samplerState, float3(uv, 0.5)); + //val += t1dArray.Sample(samplerState, float2(uv.x, 0.0)); + //val += t2dArray.Sample(samplerState, float3(uv, 0.0)); + //val += tCubeArray.Sample(samplerState, float4(uv, 0.5, 0.0)); + //val += tCube.Sample(samplerState, float3(uv, 0.5)); + outputBuffer[0] = 5.0 + val.x; return output; }
\ No newline at end of file |
