From 4e9e400ec602565f8cb624ab856ede5c1c189b15 Mon Sep 17 00:00:00 2001 From: Mike Weiblen Date: Fri, 20 Jan 2017 13:34:10 -0700 Subject: [PATCH] Fix for not-handled-in-switch warnings Added default to the switch() for AMD_EXTENSIONS to avoid a spew of warning messages. --- SPIRV/GlslangToSpv.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 } -- 2.7.4