r/programming • • Oct 30 '26

Experimenting with Bindless Textures in WebGPU

https://toji.dev/2026/10/06/webgpu-bindless.html
31 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/South_Survey_2088 Oct 31 '26

So then just do that? WebGPU allows you to wait as well(e.g. wgpuInstanceWaitAny).

The async API just makes this easier. For example, you return your staging buffers to the pool via callback when done so you just wait until the pool is not empty instead of manually juggling fences.

But just because you wait for a fence doesn't mean it's not an async operation anymore. You are just replacing Futures/Promises with fences..