Optimize SPIRV code generated via genspirv command.

This commit is contained in:
gibbed
2018-11-26 11:46:09 -06:00
parent da8f094bf8
commit af206addd1
23 changed files with 818 additions and 1508 deletions

View File

@@ -708,6 +708,7 @@ class GenSpirvCommand(Command):
# GLSL source -> .spv binary
shell_call([
glslang,
'-Os',
'-V', src_file,
'-o', spv_file,
])