diff options
| author | YONGH\yongh <yonghe@outlook.com> | 2017-10-25 21:32:28 -0400 |
|---|---|---|
| committer | YONGH\yongh <yonghe@outlook.com> | 2017-10-25 21:32:28 -0400 |
| commit | 9a120fc43ff31f93ac09075d9b7dd42af27ee350 (patch) | |
| tree | 9413031b5e9f104e480a2c3e5254c6e56f422484 /tests/compute/textureSamplingTest.slang | |
| parent | ab1009c21efb25e535ad0de043e4353f3711711f (diff) | |
test
Diffstat (limited to 'tests/compute/textureSamplingTest.slang')
| -rw-r--r-- | tests/compute/textureSamplingTest.slang | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/compute/textureSamplingTest.slang b/tests/compute/textureSamplingTest.slang index 76eebdf03..1661e6e3c 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 += 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] = 5.0 + val.x; + outputBuffer[0] = 6.0 + val.x; return output; }
\ No newline at end of file |
