Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: