slang icon indicating copy to clipboard operation
slang copied to clipboard

Support OpDebugTypePointer for struct member pointer

Open jkwak-work opened this issue 7 months ago • 4 comments

This change supports OpDebugTypePointer for a member variable whose type is a pointer type for the outer struct that hasn't been declared yet. It is done with new extension, "SPV_KHR_relaxed_extended_instruction", that comes with a new instruction, "OpExtInstWithForwardRefs".

Closes #4304

Following external submodules had to be also modified.

external/spirv-header:

commit 2acb319af38d43be3ea76bfabf3998e5281d8d12 Author: Kévin Petit [email protected] Date: Wed Jun 12 16:41:14 2024 +0100 SPV_ARM_cooperative_matrix_layouts (https://github.com/shader-slang/slang/pull/433)

external/spirv-tools:

commit ce46482db7ab3ea9c52fce832d27ca40b14f8e87 Author: Nathan Gauër [email protected] Date: Thu Jun 6 12:17:51 2024 +0200 Add KHR suffix to OpExtInstWithForwardRef opcode. (#5704) The KHR suffix was missing from the published SPIR-V extension. This is now fixed, but requires some patches in SPIRV-Tools.

external/spirv-tools-generated: This is generated from spirv-tools

jkwak-work avatar Jul 02 '24 03:07 jkwak-work