Allow for comitting candidate intersections #6759
Labels
area: api
Issues related to API surface
area: naga front-end
feature: raytracing
Issues with the Ray Tracing Native Feature
lang: WGSL
WebGPU Shading Language
naga
Shader Translator
type: enhancement
New feature or request
Is your feature request related to a problem? Please describe.
Currently Ray Queries support getting candidate intersections. However unlike spirv, naga does not have a way to commit these candidate intersection.
Describe the solution you'd like
A way to commit the candidate intersections like
OpRayQueryConfirmIntersectionKHR
Describe alternatives you've considered
Just let the user use and compare it with the committed intersections - this is probably slower and uses more memory.
Additional context
N/A
The text was updated successfully, but these errors were encountered: