SPV: Ensure Parameterize is called during Disassemble

This commit is contained in:
Jack Andersen
2016-02-23 12:03:21 -10:00
parent 0967748fbc
commit 52e61acf26
2 changed files with 1 additions and 1 deletions

View File

@@ -753,7 +753,6 @@ void CompileAndLinkShaderUnits(std::vector<ShaderCompUnit> compUnits)
if (! (Options & EOptionMemoryLeakMode)) {
glslang::OutputSpv(spirv, GetBinaryName((EShLanguage)stage));
if (Options & EOptionHumanReadableSpv) {
spv::Parameterize();
spv::Disassemble(std::cout, spirv);
}
}