From 02dcb09cb2a9511f34fbb8a61f38ff5d3e914181 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Wed, 4 Dec 2024 15:09:52 +0000 Subject: [PATCH] Don't append SPIR-V onto existing SPIR-V when recompiling shaders --- src/vsg/utils/ShaderCompiler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vsg/utils/ShaderCompiler.cpp b/src/vsg/utils/ShaderCompiler.cpp index 5db11cad7..717bc0a90 100644 --- a/src/vsg/utils/ShaderCompiler.cpp +++ b/src/vsg/utils/ShaderCompiler.cpp @@ -282,6 +282,7 @@ bool ShaderCompiler::compile(ShaderStages& shaders, const std::vectormodule->code.clear(); glslang::GlslangToSpv(*(program->getIntermediate((EShLanguage)eshl_stage)), vsg_shader->module->code, &logger, &spvOptions); } }