Description
Encountered a crash in SpirvEmitter due to a source struct called "RayQuery" having been converted to a ray query type which causes lowerStructType to return a nullptr and cause a crash.
Steps to Reproduce
Compiler Explorer example here:
https://godbolt.org/z/avj7nn41x
We're using our own build of 1.10.2605.2, but it reproduces on "trunk" (assume that's HEAD of main).
Actual Behavior
SIGSEGV or BAD_ACCESS.
Environment
- DXC version - libdxcompiler.dylib from 1.10.2605.2
- Host Operating System - macOS 26.5.1
Description
Encountered a crash in SpirvEmitter due to a source struct called "RayQuery" having been converted to a ray query type which causes
lowerStructTypeto return a nullptr and cause a crash.Steps to Reproduce
Compiler Explorer example here:
https://godbolt.org/z/avj7nn41x
We're using our own build of 1.10.2605.2, but it reproduces on "trunk" (assume that's HEAD of main).
Actual Behavior
SIGSEGV or BAD_ACCESS.
Environment