pex-gl / pex-context

Modern WebGL state wrapper for PEX: allocate GPU resources (textures, buffers), setup state pipelines and passes, and combine them into commands.
http://pex-gl.github.io/pex-context/
MIT License
160 stars 12 forks source link

webgpu support #82

Closed Francois-Esquire closed 4 years ago

Francois-Esquire commented 4 years ago

Hi there!

Is there any future plan to support webgpu?

vorg commented 4 years ago

As for my tweet some time ago https://twitter.com/marcinignac/status/1127935531848019970 there are indeed lots of similarities but also many differences... I have a rough version working here https://github.com/vorg/pex-20001-webgpu that introduces new concepts like samplers, bindings and UBOs but for real work to happen Safari has to enable WebGL2 so I can figure out what would be best common interface.

D6c7YmrWwAAjFYa-2

Francois-Esquire commented 4 years ago

Awesome news! I felt pex was a natural candidate for webgpu when I learned more about the proposal, really glad to read and see a prototype 👏

Closing issue, question answered, thank you @vorg !