Call checkShaderStageForNVExtensions() from function updateExtensionBehavior()
This commit is contained in:
parent
3ae0f58322
commit
251344f692
2 changed files with 5 additions and 5 deletions
|
|
@ -874,11 +874,6 @@ int TPpContext::CPPextension(TPpToken* ppToken)
|
|||
return token;
|
||||
}
|
||||
|
||||
#ifdef NV_EXTENSIONS
|
||||
if (!parseContext.checkShaderStageForNVExtensions(ppToken->loc, extensionName))
|
||||
return token;
|
||||
#endif
|
||||
|
||||
parseContext.updateExtensionBehavior(line, extensionName, ppToken->name);
|
||||
parseContext.notifyExtensionDirective(line, extensionName, ppToken->name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue