Closed sajjadmirzanv closed 4 months ago
In the underlying SPIR-V OpTypeAccelerationStructureNV
and OpTypeAccelerationStructureKHR
have the same opcode, so it's kind of hard to avoid conflating them into just one type.
Added a test case (copy of an existing one, rayQuery.rgen)
A minor quirk is that multiple source types will get mapped to the same debug type, for example both accelerationStructureNV and accelerationStructureEXT are just named accelerationStructure. But I expect a shader author won't use both extensions in the same program, they'll just pick one, so this should be OK.