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
d9952419
Commit
d9952419
authored
Apr 11, 2016
by
John Kessenich
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #226 from baldurk/warning-fixes
A couple of small warning fixes
parents
6e620c46
40289165
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
GlslangToSpv.cpp
SPIRV/GlslangToSpv.cpp
+1
-1
Types.h
glslang/Include/Types.h
+2
-2
No files found.
SPIRV/GlslangToSpv.cpp
View file @
d9952419
...
@@ -2125,7 +2125,7 @@ void TGlslangToSpvTraverser::updateMemberOffset(const glslang::TType& /*structTy
...
@@ -2125,7 +2125,7 @@ void TGlslangToSpvTraverser::updateMemberOffset(const glslang::TType& /*structTy
bool
TGlslangToSpvTraverser
::
isShaderEntrypoint
(
const
glslang
::
TIntermAggregate
*
node
)
bool
TGlslangToSpvTraverser
::
isShaderEntrypoint
(
const
glslang
::
TIntermAggregate
*
node
)
{
{
// have to ignore mangling and just look at the base name
// have to ignore mangling and just look at the base name
in
t
firstOpen
=
node
->
getName
().
find
(
'('
);
size_
t
firstOpen
=
node
->
getName
().
find
(
'('
);
return
node
->
getName
().
compare
(
0
,
firstOpen
,
glslangIntermediate
->
getEntryPoint
().
c_str
())
==
0
;
return
node
->
getName
().
compare
(
0
,
firstOpen
,
glslangIntermediate
->
getEntryPoint
().
c_str
())
==
0
;
}
}
...
...
glslang/Include/Types.h
View file @
d9952419
...
@@ -999,9 +999,9 @@ public:
...
@@ -999,9 +999,9 @@ public:
qualifier
.
storage
=
EvqGlobal
;
qualifier
.
storage
=
EvqGlobal
;
}
}
void
init
(
const
TSourceLoc
&
l
oc
,
bool
global
=
false
)
void
init
(
const
TSourceLoc
&
l
,
bool
global
=
false
)
{
{
initType
(
l
oc
);
initType
(
l
);
sampler
.
clear
();
sampler
.
clear
();
initQualifiers
(
global
);
initQualifiers
(
global
);
shaderQualifiers
.
init
();
shaderQualifiers
.
init
();
...
...
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