Open csyonghe opened 7 years ago
Source/SpireCore/SpirVCodeGen.cpp
is the relevant file. There are GLSL and HLSL code gen in that folder too that you could cross reference. The SpireMiniGameEngine repo has a Vulkan backend that will accept GLSL if you have an Nvidia card that you could set up to verify correctness, or you could use Spire as a standalone compiler and pass the SPIR-V in to any Vulkan renderer.
Okay, thanks. I'll look what I can do.
How to?