Build: Fix #1347: Compile with NV_EXTENSIONS disabled.
This commit is contained in:
parent
b9e9e57f12
commit
5d3babdbdf
1 changed files with 2 additions and 0 deletions
|
|
@ -3978,6 +3978,7 @@ void TParseContext::finish()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NV_EXTENSIONS
|
||||||
// Set default outputs for GL_NV_geometry_shader_passthrough
|
// Set default outputs for GL_NV_geometry_shader_passthrough
|
||||||
if (language == EShLangGeometry && extensionTurnedOn(E_SPV_NV_geometry_shader_passthrough)) {
|
if (language == EShLangGeometry && extensionTurnedOn(E_SPV_NV_geometry_shader_passthrough)) {
|
||||||
if (intermediate.getOutputPrimitive() == ElgNone) {
|
if (intermediate.getOutputPrimitive() == ElgNone) {
|
||||||
|
|
@ -3997,6 +3998,7 @@ void TParseContext::finish()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue