You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be an awesome addition. I've been wanting to support compute shaders for awhile and it's starting to look like it's become more viable, now. And adding query functions like this is a good first step.
Bvh buffer representation
The BVH is already stored in a linear buffer so this shouldn't be too difficult to support.
(I've read somewhere that its not finalized and might change)
As far as I understand the spec is still in flux a bit but I think that's okay. It won't change so dramatically that it will completely invalidate the work, I don't think.
Issue #499 also lays out some papers for building a BVH on the GPU via compute shader, which would help improve build times and allow you to use the BVH on the GPU directly after building it, as well. Perhaps something else to look at once basic queries are done if it's interesting depending on what your use cases are.
Is your feature request related to a problem? Please describe.
WebGPU compute shaders seem to be more performant than GPGPU with WebGL. So it seems natural to support new API
Describe the solution you'd like
Add support for all operations that are available in GLSL right now for compute shaders.
Additional context
Original idea from here
The text was updated successfully, but these errors were encountered: