diff options
author | ReinUsesLisp <[email protected]> | 2018-11-13 19:30:29 -0300 |
---|---|---|
committer | ReinUsesLisp <[email protected]> | 2018-11-13 19:30:54 -0300 |
commit | 30dbb951dd8b0ca1a7afabc14397a7f37a1142b9 (patch) | |
tree | f31c8cb698fbda128b2fe49439031d52265ac77e /src/sirit.cpp | |
parent | 7c15e838c6f94138933c3c1bc8005ba63a6ee23e (diff) | |
download | sirit-30dbb951dd8b0ca1a7afabc14397a7f37a1142b9.tar.gz sirit-30dbb951dd8b0ca1a7afabc14397a7f37a1142b9.zip |
Fixup empty GLSL extension creation
Diffstat (limited to 'src/sirit.cpp')
-rw-r--r-- | src/sirit.cpp | 1 |
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(); } |