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
ed948c8e
Unverified
Commit
ed948c8e
authored
Apr 16, 2021
by
Greg Fischer
Committed by
GitHub
Apr 16, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2612 from greg-lunarg/explicit0
Fix builtins for GL_EXT_shader_explicit_arithmetic_types for es
parents
b3859343
100457e0
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 @
ed948c8e
This diff is collapsed.
Click to expand it.
glslang/MachineIndependent/ParseHelper.cpp
View file @
ed948c8e
...
...
@@ -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
)
...
...
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