Skip to content

Commit

Permalink
Fixes #3826 - Add support for OpTypeRayQueryKHR and OpTypeAcceleratio…
Browse files Browse the repository at this point in the history
…nStructureKHR to SPVRemapper
  • Loading branch information
danginsburg authored and jeremy-lunarg committed Dec 30, 2024
1 parent 3fc8229 commit f754c85
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions SPIRV/SPVRemapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1384,13 +1384,15 @@ namespace spv {
return hash;
}

case spv::OpTypeEvent: return 300000;
case spv::OpTypeDeviceEvent: return 300001;
case spv::OpTypeReserveId: return 300002;
case spv::OpTypeQueue: return 300003;
case spv::OpTypePipe: return 300004;
case spv::OpConstantTrue: return 300007;
case spv::OpConstantFalse: return 300008;
case spv::OpTypeEvent: return 300000;
case spv::OpTypeDeviceEvent: return 300001;
case spv::OpTypeReserveId: return 300002;
case spv::OpTypeQueue: return 300003;
case spv::OpTypePipe: return 300004;
case spv::OpConstantTrue: return 300007;
case spv::OpConstantFalse: return 300008;
case spv::OpTypeRayQueryKHR: return 300009;
case spv::OpTypeAccelerationStructureKHR: return 300010;
case spv::OpConstantComposite:
{
std::uint32_t hash = 300011 + hashType(idPos(spv[typeStart+1]));
Expand Down

0 comments on commit f754c85

Please sign in to comment.