diff --git a/util/test/demos/test_common.cpp b/util/test/demos/test_common.cpp index 1d0024de5..dd67d6e09 100644 --- a/util/test/demos/test_common.cpp +++ b/util/test/demos/test_common.cpp @@ -354,6 +354,10 @@ std::vector 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";