DirectXShaderCompiler
DirectXShaderCompiler copied to clipboard
[SPIR-V] `vk::SpirvType` used as `T` in `vk::RawBuffer` APIs causes SIGSEGV
Description
Tried to use a sized inline SpirvType for uint8_t with RawBuffer because I couldn't use my own bda::__ref (inline Spir-V PhysicalStorageBuffer class pointer to type T) because of #6951 not being merged yet fixing the Spir-V Type of Spir-V Type issue.
Steps to Reproduce
Godbolt DXC trunk: https://godbolt.org/z/61WsMPzjr
Actual Behavior
Crash with SIGSEGV
My own godbolt instance (a few commits behind) has a Debug build of DXC and I can't see any assert being hit.
Environment
- DXC version: latest
- Host Operating System: whatever you have an Godbolt