tgsi: Fix missing test before check
authorJakob Bornecrantz <wallbraker@gmail.com>
Wed, 22 Sep 2010 20:29:15 +0000 (22:29 +0200)
committerJakob Bornecrantz <wallbraker@gmail.com>
Wed, 22 Sep 2010 20:56:54 +0000 (22:56 +0200)
As introduced with commit d21301675c249602e19310d5b62fad424f2f2ac2

NOTE: This is a candidate for the 7.9 branch.

src/gallium/auxiliary/tgsi/tgsi_sse2.c

index 67deffbd11975f38b32055110da65773a1cb2a0b..086d983a73a38685c4893306a74e9d7b7b63a7e8 100644 (file)
@@ -2975,7 +2975,8 @@ tgsi_emit_sse2(
                          tgsi_get_processor_name(proc));
         }
 
-         ok = check_soa_dependencies(&parse.FullToken.FullInstruction);
+         if (ok)
+            ok = check_soa_dependencies(&parse.FullToken.FullInstruction);
          break;
 
       case TGSI_TOKEN_TYPE_IMMEDIATE: