R600: Unbreak GCC build.

operator++ on an enum is not legal. clang happens to accept it anyways, I think
that's a known bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185269 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2013-06-29 20:04:19 +00:00
parent 8f9fbd67c3
commit 97daabf318

View File

@ -398,7 +398,8 @@ NextPossibleSolution(
}
if (ResetIdx == -1)
return false;
SwzCandidate[ResetIdx]++;
int NextSwizzle = SwzCandidate[ResetIdx] + 1;
SwzCandidate[ResetIdx] = (R600InstrInfo::BankSwizzle)NextSwizzle;
return true;
}