I'm running into an unfortunate bug where DXC requests RayQueryKHR even when ray queries are never used.
This is an issue, because NVIDIA cards without RT cores using their software fallback do not support ray queries.
As a consequence, no ray tracing shaders compiled by DXC are compatible with GTX cards or NVIDIA cards like the A100 without RT cores.
Further, we get incorrect compilation errors stating generated SPIR-V is invalid: 1st operand of Capability: operand RayQueryKHR(4472) requires one of these extensions: SPV_KHR_ray_query
I'm running into an unfortunate bug where DXC requests RayQueryKHR even when ray queries are never used.
This is an issue, because NVIDIA cards without RT cores using their software fallback do not support ray queries.
As a consequence, no ray tracing shaders compiled by DXC are compatible with GTX cards or NVIDIA cards like the A100 without RT cores.
Further, we get incorrect compilation errors stating
generated SPIR-V is invalid: 1st operand of Capability: operand RayQueryKHR(4472) requires one of these extensions: SPV_KHR_ray_query