From ff40a98ac73b535358d70a70863c009880d1b809 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 4 Oct 2021 17:01:34 +0100 Subject: [PATCH] Specify stage for spirv-cross in case it's needed to disambiguate --- qrenderdoc/Code/Interface/PersistantConfig.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qrenderdoc/Code/Interface/PersistantConfig.cpp b/qrenderdoc/Code/Interface/PersistantConfig.cpp index 3171cc086..450c4b525 100644 --- a/qrenderdoc/Code/Interface/PersistantConfig.cpp +++ b/qrenderdoc/Code/Interface/PersistantConfig.cpp @@ -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)