mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-23 10:20:50 +00:00
When using glslc command line to build SPIR-V asm, add file extension
This commit is contained in:
@@ -354,6 +354,10 @@ std::vector<uint32_t> CompileShaderToSpv(const std::string &source_text, SPIRVTa
|
||||
case ShaderStage::comp: command_line += " -fshader-stage=comp"; break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
strcat(infile, ".spvasm");
|
||||
}
|
||||
|
||||
if(target == SPIRVTarget::opengl)
|
||||
command_line += " --target-env=opengl";
|
||||
|
||||
Reference in New Issue
Block a user