Fix for not-handled-in-switch warnings
authorMike Weiblen <mikew@lunarg.com>
Fri, 20 Jan 2017 20:34:10 +0000 (13:34 -0700)
committerMike 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

index 81243f9..e704508 100755 (executable)
@@ -4198,6 +4198,8 @@ spv::Id TGlslangToSpvTraverser::createInvocationsOperation(glslang::TOperator op
             groupOperation = spv::GroupOperationExclusiveScan;
             spvGroupOperands.push_back(groupOperation);
             break;
+        default:
+            break;
         }
 #endif
     }