mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-05 21:44:24 +00:00
Specify entry point when disassembling with spirv-cross. Closes #2342
This commit is contained in:
2 files changed
+7
-1
No files matched your search
@@ -698,7 +698,7 @@ ShaderProcessingTool::ShaderProcessingTool(const QVariant &var)
|
||||
rdcstr ShaderProcessingTool::DefaultArguments() const
|
||||
{
|
||||
if(tool == KnownShaderTool::SPIRV_Cross)
|
||||
return "--output {output_file} {input_file} --vulkan-semantics";
|
||||
return "--output {output_file} {input_file} --vulkan-semantics --entry {entry_point}";
|
||||
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