aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sirit.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <[email protected]>2018-11-13 19:30:29 -0300
committerReinUsesLisp <[email protected]>2018-11-13 19:30:54 -0300
commit30dbb951dd8b0ca1a7afabc14397a7f37a1142b9 (patch)
treef31c8cb698fbda128b2fe49439031d52265ac77e /src/sirit.cpp
parent7c15e838c6f94138933c3c1bc8005ba63a6ee23e (diff)
downloadsirit-30dbb951dd8b0ca1a7afabc14397a7f37a1142b9.tar.gz
sirit-30dbb951dd8b0ca1a7afabc14397a7f37a1142b9.zip
Fixup empty GLSL extension creation
Diffstat (limited to 'src/sirit.cpp')
-rw-r--r--src/sirit.cpp1
1 files changed, 1 insertions, 0 deletions
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> op) {
Id Module::GetGLSLstd450() {
if (!glsl_std_450) {
glsl_std_450 = std::make_unique<Op>(spv::Op::OpExtInstImport, bound++);
+ glsl_std_450->Add("GLSL.std.450");
}
return glsl_std_450.get();
}