mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
Add missing NV_EXTENSIONS ifdef
This commit is contained in:
parent
9fe95274f8
commit
71e5b1323d
@ -4988,8 +4988,10 @@ void TParseContext::setLayoutQualifier(const TSourceLoc& loc, TPublicType& publi
|
||||
requireProfile(loc, ECoreProfile | ECompatibilityProfile, "fragment shader interlock layout qualifier");
|
||||
profileRequires(loc, ECoreProfile | ECompatibilityProfile, 450, nullptr, "fragment shader interlock layout qualifier");
|
||||
requireExtensions(loc, 1, &E_GL_ARB_fragment_shader_interlock, TQualifier::getInterlockOrderingString(order));
|
||||
#ifdef NV_EXTENSIONS
|
||||
if (order == EioShadingRateInterlockOrdered || order == EioShadingRateInterlockUnordered)
|
||||
requireExtensions(loc, 1, &E_GL_NV_shading_rate_image, TQualifier::getInterlockOrderingString(order));
|
||||
#endif
|
||||
publicType.shaderQualifiers.interlockOrdering = order;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user