mirror of
https://github.com/azahar-emu/sirit
synced 2025-11-06 23:19:59 +01:00
Fixup empty GLSL extension creation
This commit is contained in:
parent
7c15e838c6
commit
30dbb951dd
@ -127,6 +127,7 @@ void Module::AddAnnotation(std::unique_ptr<Op> op) {
|
|||||||
Id Module::GetGLSLstd450() {
|
Id Module::GetGLSLstd450() {
|
||||||
if (!glsl_std_450) {
|
if (!glsl_std_450) {
|
||||||
glsl_std_450 = std::make_unique<Op>(spv::Op::OpExtInstImport, bound++);
|
glsl_std_450 = std::make_unique<Op>(spv::Op::OpExtInstImport, bound++);
|
||||||
|
glsl_std_450->Add("GLSL.std.450");
|
||||||
}
|
}
|
||||||
return glsl_std_450.get();
|
return glsl_std_450.get();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user