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
2baa7742
Commit
2baa7742
authored
Aug 31, 2017
by
LoopDawg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Linux build warning fix
* Remove complaint about unused function parameter in resolveUniformLocation() * Remove complaint about defined but not used variable in spvIR.h
parent
75e057f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
spvIR.h
SPIRV/spvIR.h
+8
-0
iomapper.cpp
glslang/MachineIndependent/iomapper.cpp
+1
-1
No files found.
SPIRV/spvIR.h
View file @
2baa7742
...
@@ -65,6 +65,14 @@ const Id NoResult = 0;
...
@@ -65,6 +65,14 @@ const Id NoResult = 0;
const
Id
NoType
=
0
;
const
Id
NoType
=
0
;
const
Decoration
NoPrecision
=
DecorationMax
;
const
Decoration
NoPrecision
=
DecorationMax
;
#ifdef __GNUC__
# define POTENTIALLY_UNUSED __attribute__((unused))
#else
# define POTENTIALLY_UNUSED
#endif
POTENTIALLY_UNUSED
const
MemorySemanticsMask
MemorySemanticsAllMemory
=
const
MemorySemanticsMask
MemorySemanticsAllMemory
=
(
MemorySemanticsMask
)(
MemorySemanticsSequentiallyConsistentMask
|
(
MemorySemanticsMask
)(
MemorySemanticsSequentiallyConsistentMask
|
MemorySemanticsUniformMemoryMask
|
MemorySemanticsUniformMemoryMask
|
...
...
glslang/MachineIndependent/iomapper.cpp
View file @
2baa7742
...
@@ -416,7 +416,7 @@ struct TDefaultIoResolverBase : public glslang::TIoMapResolver
...
@@ -416,7 +416,7 @@ struct TDefaultIoResolverBase : public glslang::TIoMapResolver
return
0
;
return
0
;
}
}
int
resolveUniformLocation
(
EShLanguage
/*stage*/
,
const
char
*
/*name*/
,
const
glslang
::
TType
&
type
,
bool
is_live
)
override
int
resolveUniformLocation
(
EShLanguage
/*stage*/
,
const
char
*
/*name*/
,
const
glslang
::
TType
&
type
,
bool
/*is_live*/
)
override
{
{
// kick out of not doing this
// kick out of not doing this
if
(
!
doAutoLocationMapping
)
if
(
!
doAutoLocationMapping
)
...
...
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