Add missing builtins for GL_EXT_explicit_arithmetic_types for es
This commit is contained in:
parent
b3859343a2
commit
100457e095
2 changed files with 244 additions and 21 deletions
|
|
@ -6424,8 +6424,11 @@ const TFunction* TParseContext::findFunction(const TSourceLoc& loc, const TFunct
|
|||
extensionTurnedOn(E_GL_EXT_shader_explicit_arithmetic_types_float64);
|
||||
|
||||
if (isEsProfile())
|
||||
function = (extensionTurnedOn(E_GL_EXT_shader_implicit_conversions) && version >= 310) ?
|
||||
findFunction120(loc, call, builtIn) : findFunctionExact(loc, call, builtIn);
|
||||
function = (explicitTypesEnabled && version >= 310)
|
||||
? findFunctionExplicitTypes(loc, call, builtIn)
|
||||
: ((extensionTurnedOn(E_GL_EXT_shader_implicit_conversions) && version >= 310)
|
||||
? findFunction120(loc, call, builtIn)
|
||||
: findFunctionExact(loc, call, builtIn));
|
||||
else if (version < 120)
|
||||
function = findFunctionExact(loc, call, builtIn);
|
||||
else if (version < 400)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue