zlacker

[parent] [thread] 3 comments
1. jshear+(OP)[view] [source] 2024-02-10 14:12:45
Is SDL_gpu meaningfully different from WebGPU? Looking at their goals they seem to be more or less the same, building an accessible lowest-common-denominator abstraction over DX12/Vulkan/Metal, except SDL_gpu is an early work in progress and WebGPU already has two good open implementations.
replies(1): >>stephc+81
2. stephc+81[view] [source] 2024-02-10 14:21:22
>>jshear+(OP)
Not sure about WebGPU. Is it really good? Have you checked with some benchmarks?

From my experience, it's been disappointing. Big, complex to setup, not convinced about many tradeoffs.

replies(1): >>jshear+F5
◧◩
3. jshear+F5[view] [source] [discussion] 2024-02-10 14:59:51
>>stephc+81
WebGPU running on the web necessarily has overhead compared to native due to all the extra validation it has to do for security, but there's nothing stopping native implementations from offering unsafe escape hatches as extensions for those who want them.
replies(1): >>kvark+ZX2
◧◩◪
4. kvark+ZX2[view] [source] [discussion] 2024-02-11 19:14:37
>>jshear+F5
And wgpu has been doing this for years. Things like descriptor indexing are not exposed to the web but used by Rust (mostly) engines on native.

https://wgpu.rs/

[go to top]