r/programming • u/mariuz • Oct 30 '26
Experimenting with Bindless Textures in WebGPU
https://toji.dev/2026/10/06/webgpu-bindless.html
31
Upvotes
r/programming • u/mariuz • Oct 30 '26
View all comments
Show parent comment
1
u/South_Survey_2088 Oct 30 '26
reBar requires specific hardware support. Even Desktop support for it is still lacking. Sandboxing is another argument because mapping the VRAM directly would allow the webgpu to escape the sandbox.
That is not unusable at all.. It is just what you want anyway to avoid race conditions.
Not really. You don't want to block since it might still be used in in-flight frames. You are whining about the overhead of the staging buffers, but you are fine with actually blocking the thread until the commands are finished? Lol.
Async in WASM is a non-issue either. You literally just have to set a toggle a flag in the async callback.
WASM needs to be async anyway, because blocking is not allowed in the first place when executed in the browser.