From 6f7c8271710b43349d34b8f7569ceb6957400548 Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 12 Mar 2024 19:31:25 -0700 Subject: 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`. * Fix validation error. * Enhance test. --- tests/spirv/pointer-bug.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/spirv/pointer-bug.slang') 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; -- cgit v1.2.3