support SPV_KHR_ray_tracing_position_fetch in naga #6763
Labels
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.
spirv supports SPV_KHR_ray_tracing_position_fetch which can be very useful if one does not want to keep vertex & index buffers around
Describe the solution you'd like
The feature to be supported
Describe alternatives you've considered
Not supporting it, it's only on spirv - Con: uses one or two of the (valuable) buffer spaces in a shader.
Additional context
Previous suggestion for API (see #1040 (comment))
I've partially implemented this already, with getCommittedHitVertexPositions implemented
The text was updated successfully, but these errors were encountered: