From: Mike Weiblen Date: Fri, 20 Jan 2017 20:34:10 +0000 (-0700) Subject: Fix for not-handled-in-switch warnings X-Git-Tag: upstream/11.4.0~1333^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e9e400ec602565f8cb624ab856ede5c1c189b15;p=platform%2Fupstream%2Fglslang.git Fix for not-handled-in-switch warnings Added default to the switch() for AMD_EXTENSIONS to avoid a spew of warning messages. --- diff --git a/SPIRV/GlslangToSpv.cpp b/SPIRV/GlslangToSpv.cpp index 81243f9..e704508 100755 --- 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 }