Commit 3adaa74
committed
(Naga) Handle implicit casting of operators in SPIR-V frontend
We also now also try to select the best name for the override
We also handle optimization of common conversion pattern to `As` instructions and with a proper, derived name.
This makes the constants of the final shader of a GLSL compiled SPIR-V highly readable.1 parent 0bacbdf commit 3adaa74
File tree
4 files changed
+1031
-338
lines changed- naga
- src/front/spv
- tests
- in/spv
- out/hlsl
4 files changed
+1031
-338
lines changed
0 commit comments