Add support for GL_NV_shader_noperspective_interpolation
This commit is contained in:
parent
845860d565
commit
017a567be1
11 changed files with 1118 additions and 1073 deletions
|
|
@ -1117,7 +1117,11 @@ interpolation_qualifier
|
|||
}
|
||||
| NOPERSPECTIVE {
|
||||
parseContext.globalCheck($1.loc, "noperspective");
|
||||
#ifdef NV_EXTENSIONS
|
||||
parseContext.profileRequires($1.loc, EEsProfile, 0, E_GL_NV_shader_noperspective_interpolation, "noperspective");
|
||||
#else
|
||||
parseContext.requireProfile($1.loc, ~EEsProfile, "noperspective");
|
||||
#endif
|
||||
parseContext.profileRequires($1.loc, ENoProfile, 130, 0, "noperspective");
|
||||
$$.init($1.loc);
|
||||
$$.qualifier.nopersp = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue