summaryrefslogtreecommitdiffstats
path: root/tests/spirv/pointer-bug.slang
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-03-12 19:31:25 -0700
committerGitHub <noreply@github.com>2024-03-12 19:31:25 -0700
commit6f7c8271710b43349d34b8f7569ceb6957400548 (patch)
tree288c18bb4b9a2cf32de7e400c1fe8b56385b727e /tests/spirv/pointer-bug.slang
parenteef7e208bf7436a4f111a9290f37204e3220d82b (diff)
Fix `sessionDesc.defaultMatrixLayoutMode` being ineffective. (#3753)
* Fix `sessionDesc.defaultMatrixLayoutMode` being ineffective. * Fix matrix layout in buffer pointer. * Attempt to fix. * Fix buffer element type lowering for buffer pointers. * Add comment. * Fix test. * Fix member lookup in `Ref<T>`. * Fix validation error. * Enhance test.
Diffstat (limited to 'tests/spirv/pointer-bug.slang')
-rw-r--r--tests/spirv/pointer-bug.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spirv/pointer-bug.slang b/tests/spirv/pointer-bug.slang
index 1668cec13..404da286f 100644
--- a/tests/spirv/pointer-bug.slang
+++ b/tests/spirv/pointer-bug.slang
@@ -7,7 +7,7 @@ struct Params {
Foo *foo;
};
-// CHECK: %_ptr_PhysicalStorageBuffer_Foo = OpTypePointer PhysicalStorageBuffer %Foo
+// CHECK: OpTypePointer PushConstant %_ptr_PhysicalStorageBuffer_Foo_natural
[[vk::push_constant]] Params params;