From 1981c920f3eb40e303af264aa256147cba74e6ab Mon Sep 17 00:00:00 2001 From: "YONGH\\yongh" Date: Wed, 25 Oct 2017 22:23:02 -0400 Subject: render-test code cleanup --- tests/compute/textureSamplingTest.slang | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tests/compute/textureSamplingTest.slang') diff --git a/tests/compute/textureSamplingTest.slang b/tests/compute/textureSamplingTest.slang index 1661e6e3c..1aa267b89 100644 --- a/tests/compute/textureSamplingTest.slang +++ b/tests/compute/textureSamplingTest.slang @@ -92,12 +92,12 @@ 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] = 6.0 + val.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] = val.x; return output; } \ No newline at end of file -- cgit v1.2.3