diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-06-26 08:55:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-26 08:55:54 -0700 |
| commit | de454b0e84ae160678698609b4754242159ae566 (patch) | |
| tree | fe086eaeb9b4d8cbfb1247640db793aca23af480 /tests | |
| parent | e1d0ef2002d7b0f459cf689ec1f8e37c4ff2afba (diff) | |
Fix Texture2DMSArray (#4485)
* Fix Texture2DMSArray
Close #4427
We had the postfix order wrong for the keyword MS. This commit changes
the incorrect name Texture2DArrayMS to Texture2DMSArray.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/compute/texture-subscript-multisample.slang | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/compute/texture-subscript-multisample.slang b/tests/compute/texture-subscript-multisample.slang index 4640a2630..76ededbda 100644 --- a/tests/compute/texture-subscript-multisample.slang +++ b/tests/compute/texture-subscript-multisample.slang @@ -12,8 +12,8 @@ //TEST_INPUT: RWTexture2D(format=R8G8B8A8_SINT, size=4, content = zero, sampleCount=two, mipMaps = 1):name outputTexture2DMS RWTexture2DMS<int4> outputTexture2DMS; -//TEST_INPUT: RWTexture2D(format=R8G8B8A8_SINT, size=4, content = zero, arrayLength=2, sampleCount=two, mipMaps = 1):name outputTexture2DArrayMS -RWTexture2DArrayMS<int4> outputTexture2DArrayMS; +//TEST_INPUT: RWTexture2D(format=R8G8B8A8_SINT, size=4, content = zero, arrayLength=2, sampleCount=two, mipMaps = 1):name outputTexture2DMSArray +RWTexture2DMSArray<int4> outputTexture2DMSArray; //TEST_INPUT:ubuffer(data=[0], stride=4):out,name=outputBuffer RWStructuredBuffer<uint> outputBuffer; @@ -26,16 +26,16 @@ void computeMain() outputTexture2DMS[0, 0].xz = int2(1,2); outputTexture2DMS[int2(0, 0), 1].xz = int2(3,4); - outputTexture2DArrayMS[0, 0].xz = int2(1,2); - outputTexture2DArrayMS[int3(0, 0, 1), 1].xz = int2(3,4); + outputTexture2DMSArray[0, 0].xz = int2(1,2); + outputTexture2DMSArray[int3(0, 0, 1), 1].xz = int2(3,4); outputBuffer[0] = uint(true && all(outputTexture2DMS[0, 0] == int4(1, 0, 2, 0)) == true && all(outputTexture2DMS[int2(0, 0), 1] == int4(3, 0, 4, 0)) == true - && all(outputTexture2DArrayMS[0, 0] == int4(1, 0, 2, 0)) == true - && all(outputTexture2DArrayMS[int3(0, 0, 1), 1] == int4(3, 0, 4, 0)) == true + && all(outputTexture2DMSArray[0, 0] == int4(1, 0, 2, 0)) == true + && all(outputTexture2DMSArray[int3(0, 0, 1), 1] == int4(3, 0, 4, 0)) == true ); } -//BUF: 1
\ No newline at end of file +//BUF: 1 |
