This website requires JavaScript.
Explore
Help
Sign In
mewin
/
glslang
Watch
1
Star
0
Fork
0
You've already forked glslang
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
Files
d5d9ffbdfdc5a3af9eaef7b8f35bfc8f5064d225
glslang
/
SPIRV
/
GlslangToSpv.h
Flavio
aea3c890d3
Added --vn option to generate a C header file containing a variable assigned to the hex representation of the shader. This is a standard feature on Microsoft's HLSL compiler and it allows developers to include pre-compiled shaders directly into the code. This option enables "Hex output", so it is NOT required to specify -x as well. The output file name is preserved, so no ".h" extension is added. If you want the output file to have ".h" extension then you have to specify it on the output file name. The generated header file uses the "#pragma once" pragma to avoid multiple inclusions.
2017-02-06 11:46:35 -08:00
2.2 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink