Update g_verbose SpirvToolsDisassemble to output based on spirv target env for Metal and SPIRV. (#2306)

Fix up alignment in shaderc help string.
This commit is contained in:
pheonix
2020-11-08 10:57:03 -08:00
committed by GitHub
parent 4a5eb7a2ef
commit e541312851
3 changed files with 3 additions and 3 deletions

View File

@@ -1041,7 +1041,7 @@ namespace bgfx { namespace spirv
if (g_verbose)
{
glslang::SpirvToolsDisassemble(std::cout, spirv);
glslang::SpirvToolsDisassemble(std::cout, spirv, getSpirvTargetVersion(_version) );
}
// Loop through the separate_images, and extract the uniform names: