Learn WebGPU
As someone who's very recently been looking into using WebGPU on a project, why must it be so complicated to execute some simple instructions on a GPU?<p>All of the code I was looking at seems to use (and require from the API) a lot of graphics terminology like "shaders", etc. Additionally it seemed to require a bizarre amount of boilerplate code to create compute "pipelines" and other things.<p>Is there some reason that running code on a GPU must be so difficult? Why is there no API I can call like,<p>`GPU.exec(() => 2 * 2);`<p>Sorry for the dumb question. I'll definitely be taking a look through this guide later.