R600: Fix possible use of an uninitialized variable

Spotted by Nick Lewycky!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188599 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Tom Stellard 2013-08-17 00:06:51 +00:00
parent 3cae823f69
commit 913da2b7b3

View File

@ -60,6 +60,7 @@ class R600TextureIntrinsicsReplacer :
switch (TextureType) {
case 0:
useShadowVariant = false;
return;
case TEXTURE_RECT:
case TEXTURE_1D: