summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-08-16 13:26:09 +0800
committerGitHub <noreply@github.com>2023-08-15 22:26:09 -0700
commit9ec30a1d5ac99ec08f83ad262156a671c35a287d (patch)
tree412dcc85f2f7e0e0cb05f38250261b3b01227c09
parentc16f711d83df90f6826a65d61fc56cdbb932c92c (diff)
Remove -use-glsl-matrix-layout-modifier from test (#3104)
Co-authored-by: Yong He <yonghe@outlook.com>
-rw-r--r--tests/hlsl/glsl-matrix-layout.slang6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/hlsl/glsl-matrix-layout.slang b/tests/hlsl/glsl-matrix-layout.slang
index 6178cc813..99ea77f0d 100644
--- a/tests/hlsl/glsl-matrix-layout.slang
+++ b/tests/hlsl/glsl-matrix-layout.slang
@@ -1,15 +1,13 @@
// Test that storage type lowering correctly handles matrix layout modifiers.
-//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj -output-using-type -xslang -use-glsl-matrix-layout-modifier -xslang -fvk-use-gl-layout
+//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj -output-using-type -xslang -fvk-use-gl-layout
//TEST_INPUT:ubuffer(data=[0 0 0 0 0 0 0 0 0 0 0 0 0 ], stride=4):out,name=outputBuffer
RWStructuredBuffer<float> outputBuffer;
struct MyStruct
{
- // row_major here is flipped by the `-use-glsl-matrix-layout-modifier` compiler option so
- // it actually means column_major here.
- row_major float3x2 mat;
+ column_major float3x2 mat;
int otherVal[4];
}