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:
parent
4a5eb7a2ef
commit
e541312851
@ -909,7 +909,7 @@ namespace bgfx { namespace metal
|
||||
{
|
||||
if (g_verbose)
|
||||
{
|
||||
glslang::SpirvToolsDisassemble(std::cout, spirv);
|
||||
glslang::SpirvToolsDisassemble(std::cout, spirv, SPV_ENV_VULKAN_1_0);
|
||||
}
|
||||
|
||||
spirv_cross::CompilerMSL msl(std::move(spirv) );
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user