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
e7061422
Commit
e7061422
authored
Aug 08, 2018
by
Corentin Wallez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix -Wignored-qualifier and -Wunused-variable warnings
parent
29619b23
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
GlslangToSpv.cpp
SPIRV/GlslangToSpv.cpp
+2
-0
reflection.h
glslang/MachineIndependent/reflection.h
+1
-1
No files found.
SPIRV/GlslangToSpv.cpp
View file @
e7061422
...
...
@@ -5383,8 +5383,10 @@ spv::Id TGlslangToSpvTraverser::createAtomicOperation(glslang::TOperator op, spv
// Create group invocation operations.
spv
::
Id
TGlslangToSpvTraverser
::
createInvocationsOperation
(
glslang
::
TOperator
op
,
spv
::
Id
typeId
,
std
::
vector
<
spv
::
Id
>&
operands
,
glslang
::
TBasicType
typeProxy
)
{
#ifdef AMD_EXTENSIONS
bool
isUnsigned
=
isTypeUnsignedInt
(
typeProxy
);
bool
isFloat
=
isTypeFloat
(
typeProxy
);
#endif
spv
::
Op
opCode
=
spv
::
OpNop
;
std
::
vector
<
spv
::
Id
>
spvGroupOperands
;
...
...
glslang/MachineIndependent/reflection.h
View file @
e7061422
...
...
@@ -59,7 +59,7 @@ public:
name
(
pName
),
offset
(
pOffset
),
glDefineType
(
pGLDefineType
),
size
(
pSize
),
index
(
pIndex
),
counterIndex
(
-
1
),
stages
(
EShLanguageMask
(
0
)),
type
(
pType
.
clone
())
{
}
const
TType
*
const
getType
()
const
{
return
type
;
}
const
TType
*
getType
()
const
{
return
type
;
}
int
getBinding
()
const
{
if
(
type
==
nullptr
||
!
type
->
getQualifier
().
hasBinding
())
...
...
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