Replies: 1 comment
-
Naga doesn't currently support combined image/samplers (#4342, #4323) which seems like a hard blocker for your shaders. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My engine is written in Vulkan 1.2 with lots of GLSL fragment, vertex and compute programs.
I just did a quick test with naga to see whether they can compile to WGSL.
From GLSL input some errors immediately don't seem reassuring:
Example:
and from SPV all of them error with:
The spirv is compiled with glslc (Google).
What would be the most robust path today for going from GLSL to WGSL (compiler versions, GLSL version, SPIR-V version, compiler arguments etc) ?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions