mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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:
parent
3cae823f69
commit
913da2b7b3
@ -60,6 +60,7 @@ class R600TextureIntrinsicsReplacer :
|
||||
|
||||
switch (TextureType) {
|
||||
case 0:
|
||||
useShadowVariant = false;
|
||||
return;
|
||||
case TEXTURE_RECT:
|
||||
case TEXTURE_1D:
|
||||
|
Loading…
Reference in New Issue
Block a user