mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Specify stage for spirv-cross in case it's needed to disambiguate
This commit is contained in:
@@ -698,7 +698,8 @@ ShaderProcessingTool::ShaderProcessingTool(const QVariant &var)
|
||||
rdcstr ShaderProcessingTool::DefaultArguments() const
|
||||
{
|
||||
if(tool == KnownShaderTool::SPIRV_Cross)
|
||||
return "--output {output_file} {input_file} --vulkan-semantics --entry {entry_point}";
|
||||
return "--output {output_file} {input_file} --vulkan-semantics --entry {entry_point} --stage "
|
||||
"{glsl_stage4}";
|
||||
else if(tool == KnownShaderTool::spirv_dis)
|
||||
return "--no-color -o {output_file} {input_file}";
|
||||
else if(tool == KnownShaderTool::glslangValidatorGLSL)
|
||||
|
||||
Reference in New Issue
Block a user