Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
100457e0
Commit
100457e0
authored
Apr 16, 2021
by
Greg Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing builtins for GL_EXT_explicit_arithmetic_types for es
parent
b3859343
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Initialize.cpp
glslang/MachineIndependent/Initialize.cpp
+0
-0
ParseHelper.cpp
glslang/MachineIndependent/ParseHelper.cpp
+5
-2
No files found.
glslang/MachineIndependent/Initialize.cpp
View file @
100457e0
This diff is collapsed.
Click to expand it.
glslang/MachineIndependent/ParseHelper.cpp
View file @
100457e0
...
@@ -6424,8 +6424,11 @@ const TFunction* TParseContext::findFunction(const TSourceLoc& loc, const TFunct
...
@@ -6424,8 +6424,11 @@ const TFunction* TParseContext::findFunction(const TSourceLoc& loc, const TFunct
extensionTurnedOn
(
E_GL_EXT_shader_explicit_arithmetic_types_float64
);
extensionTurnedOn
(
E_GL_EXT_shader_explicit_arithmetic_types_float64
);
if
(
isEsProfile
())
if
(
isEsProfile
())
function
=
(
extensionTurnedOn
(
E_GL_EXT_shader_implicit_conversions
)
&&
version
>=
310
)
?
function
=
(
explicitTypesEnabled
&&
version
>=
310
)
findFunction120
(
loc
,
call
,
builtIn
)
:
findFunctionExact
(
loc
,
call
,
builtIn
);
?
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
)
else
if
(
version
<
120
)
function
=
findFunctionExact
(
loc
,
call
,
builtIn
);
function
=
findFunctionExact
(
loc
,
call
,
builtIn
);
else
if
(
version
<
400
)
else
if
(
version
<
400
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment