Hacker News new | ask | show | jobs
by jsheard 783 days ago
The answer to that for any given feature is "can untrusted code be trusted with that?". Wave intrinsics are probably doable. Bindless maybe, but expect a bunch of bounds checking overhead. Pointers/BDA, absolutely not.

Native libraries like wgpu can do whatever they want in extensions, safety be damned, but you're stepping outside of the WebGPU spec in that case.

1 comments

What's BDA in that context, please? I can only confidently assume it's not “battle damage assessment”.
Buffer Device Address, the Vulkan name for raw pointers in shaders.
Thx