From 09a9d673322ebf4ca2fcb7d48f13a44e015ea33f Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 9 Dec 2024 04:48:03 -0800 Subject: Allow pointers to existential values. (#5793) * Fix pointer offset logic and add executable tests. * Fix. * Fix test. * Add existential ptr test. * Allow pointers to existential values. * Fix. * Fix. --------- Co-authored-by: Ellie Hermaszewska --- tests/bugs/gh-3825.slang | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/bugs') diff --git a/tests/bugs/gh-3825.slang b/tests/bugs/gh-3825.slang index c7c325864..5953a858b 100644 --- a/tests/bugs/gh-3825.slang +++ b/tests/bugs/gh-3825.slang @@ -21,7 +21,6 @@ float4 fragment(): SV_Target } // CHECK: OpDecorate %_ptr_PhysicalStorageBuffer_Descriptors_natural ArrayStride 4 -// CHECK: %{{.*}} = OpPtrAccessChain %_ptr_PhysicalStorageBuffer_Descriptors_natural %{{.*}} %int_1 // CHECK: OpBitcast %ulong // CHECK: OpIAdd %ulong %{{.*}} %ulong_4 // CHECK: OpBitcast %_ptr_PhysicalStorageBuffer \ No newline at end of file -- cgit v1.2.3