-
Notifications
You must be signed in to change notification settings - Fork 13
Naga transpiling to wgsl #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@tombh feel free to comment on the build script example in the description, or try out the linked project on branch |
I'm not sure we want to do this. Is there any way this can be pushed "down" into rust-gpu? It feels like surfacing unnecessary impl details. To users, the transpiling is basically part of the compilation step...except targeting something like |
ec26508
to
c2d886d
Compare
superseded by Rust-GPU/rust-gpu#280 To add a native |
Requires #80
https://github.com/Firestar99/colorbubble/blob/eedd20ecc8155f9be15bc95b0fcd68b5002b94f3/build.rs
I've separated the transpiling into two steps:
naga_transpile
andto_wgsl
. This would allow us to add more naga transpiling targets in the future, without having to reparse the spv again or cause major code breakage.