News for hackers. Stuff that matters.
Re:WebGPU computations performance in comparison to WebGL by ttoinou on Wednesday December 01, 2021 @06:34PM (#29410527)
Can we transfer the result of the WebGPU compute onto a WebGL context to display on canvas afterwards ? So that intermediary computations are fast but we can still use it to display something in WebGL like before
Re:WebGPU computations performance in comparison to WebGL by tominated on Wednesday December 01, 2021 @06:51PM (#29410687)
If you have WebGPU compute support available, you'd probably wanna go straight to using WebGPU instead of WebGL for rendering too. But I don't see why it wouldn't be possible to use the result in WebGL afterwards - there's probably going to be a bit of data conversion involved though
Re:WebGPU computations performance in comparison to WebGL by modeless on Wednesday December 01, 2021 @08:55PM (#29411597)
WebGPU can display things on canvases by itself. You don't need WebGL. It is significantly more flexible than WebGL because a single context can present to multiple canvases.