Skip to content

What's the status on supporting WebGPU and WGSL? #26

Answered by LegNeato
PoignardAzur asked this question in Q&A
Discussion options

You must be logged in to vote

We support wgpu, both native (passed through to vulkan directly where possible) and on the web (using naga to translate). Some of the examples in the repo use it and we have run a few on multiple platforms including web and Android.

I don't believe there are any plans for the compiler backend to output anything other than spir-v, especially with MS switching to spir-v for directx (https://devblogs.microsoft.com/directx/directx-adopting-spir-v/) and naga existing.

That being said, we have an experimental IR which may allow us to directly do the translation naga does internally in the future if it makes sense (https://github.com/Rust-GPU/spirt).

@eddyb can correct me if I am wrong as I am s…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by schell
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #25 on October 09, 2024 10:00.