projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c37f8d6
)
Fix for not-handled-in-switch warnings
author
Mike Weiblen
<mikew@lunarg.com>
Fri, 20 Jan 2017 20:34:10 +0000
(13:34 -0700)
committer
Mike Weiblen
<mikew@lunarg.com>
Fri, 20 Jan 2017 20:39:30 +0000
(13:39 -0700)
Added default to the switch() for AMD_EXTENSIONS to avoid a spew
of warning messages.
SPIRV/GlslangToSpv.cpp
patch
|
blob
|
history
diff --git
a/SPIRV/GlslangToSpv.cpp
b/SPIRV/GlslangToSpv.cpp
index
81243f9
..
e704508
100755
(executable)
--- a/
SPIRV/GlslangToSpv.cpp
+++ b/
SPIRV/GlslangToSpv.cpp
@@
-4198,6
+4198,8
@@
spv::Id TGlslangToSpvTraverser::createInvocationsOperation(glslang::TOperator op
groupOperation = spv::GroupOperationExclusiveScan;
spvGroupOperands.push_back(groupOperation);
break;
+ default:
+ break;
}
#endif
}