2 ms·
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
by jsheard 3y 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.
- littlestymaar 3y agoWhat's BDA in that context, please? I can only confidently assume it's not “battle damage assessment”.
- jsheard 3y agoBuffer Device Address, the Vulkan name for raw pointers in shaders.
- littlestymaar 3y agoThx