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
9b3baf98
Unverified
Commit
9b3baf98
authored
Mar 25, 2020
by
Geoffrey Martin-Noble
Committed by
GitHub
Mar 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing braces to if condition
The indentation implies this was the intention. Noticed the issue while trying to compile our code with -Werror -Wall
parent
8e26c5f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Initialize.cpp
glslang/MachineIndependent/Initialize.cpp
+2
-1
No files found.
glslang/MachineIndependent/Initialize.cpp
View file @
9b3baf98
...
@@ -8983,9 +8983,10 @@ void TBuiltIns::identifyBuiltIns(int version, EProfile profile, const SpvVersion
...
@@ -8983,9 +8983,10 @@ void TBuiltIns::identifyBuiltIns(int version, EProfile profile, const SpvVersion
}
}
break
;
break
;
case
EShLangIntersect
:
case
EShLangIntersect
:
if
(
profile
!=
EEsProfile
&&
version
>=
460
)
if
(
profile
!=
EEsProfile
&&
version
>=
460
)
{
symbolTable
.
relateToOperator
(
"reportIntersectionNV"
,
EOpReportIntersection
);
symbolTable
.
relateToOperator
(
"reportIntersectionNV"
,
EOpReportIntersection
);
symbolTable
.
relateToOperator
(
"reportIntersectionEXT"
,
EOpReportIntersection
);
symbolTable
.
relateToOperator
(
"reportIntersectionEXT"
,
EOpReportIntersection
);
}
break
;
break
;
case
EShLangAnyHit
:
case
EShLangAnyHit
:
if
(
profile
!=
EEsProfile
&&
version
>=
460
)
{
if
(
profile
!=
EEsProfile
&&
version
>=
460
)
{
...
...
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