summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYONGH\yongh <yonghe@outlook.com>2017-10-25 21:08:29 -0400
committerYONGH\yongh <yonghe@outlook.com>2017-10-25 21:08:29 -0400
commitab1009c21efb25e535ad0de043e4353f3711711f (patch)
tree922081de22cf2efd3d729b22daacbcebc256e66a /tests
parent052645e313b66d92873a0fde112bd8587b2070ac (diff)
test
Diffstat (limited to 'tests')
-rw-r--r--tests/compute/textureSamplingTest.slang12
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