Merge pull request #1466 from Kangz/warning_fixes
Fix -Wignored-qualifier and -Wunused-variable warnings
This commit is contained in:
@@ -5377,8 +5377,10 @@ spv::Id TGlslangToSpvTraverser::createAtomicOperation(glslang::TOperator op, spv
|
||||
// Create group invocation operations.
|
||||
spv::Id TGlslangToSpvTraverser::createInvocationsOperation(glslang::TOperator op, spv::Id typeId, std::vector<spv::Id>& operands, glslang::TBasicType typeProxy)
|
||||
{
|
||||
#ifdef AMD_EXTENSIONS
|
||||
bool isUnsigned = isTypeUnsignedInt(typeProxy);
|
||||
bool isFloat = isTypeFloat(typeProxy);
|
||||
#endif
|
||||
|
||||
spv::Op opCode = spv::OpNop;
|
||||
std::vector<spv::Id> spvGroupOperands;
|
||||
|
||||
Reference in New Issue
Block a user