1
0
Fork 0
mirror of https://git.suyu.dev/suyu/sirit.git synced 2024-12-22 12:12:05 +00:00

Fixup empty GLSL extension creation

This commit is contained in:
ReinUsesLisp 2018-11-13 19:30:29 -03:00
parent 7c15e838c6
commit 30dbb951dd

View file

@ -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();
}