From 30dbb951dd8b0ca1a7afabc14397a7f37a1142b9 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Tue, 13 Nov 2018 19:30:29 -0300 Subject: [PATCH] Fixup empty GLSL extension creation --- src/sirit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sirit.cpp b/src/sirit.cpp index be0b7fb..ed66b76 100644 --- a/src/sirit.cpp +++ b/src/sirit.cpp @@ -127,6 +127,7 @@ void Module::AddAnnotation(std::unique_ptr op) { Id Module::GetGLSLstd450() { if (!glsl_std_450) { glsl_std_450 = std::make_unique(spv::Op::OpExtInstImport, bound++); + glsl_std_450->Add("GLSL.std.450"); } return glsl_std_450.get(); }