summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-09-22 22:29:15 +0200
committerJakob Bornecrantz <[email protected]>2010-09-22 22:56:54 +0200
commit4bb42a4f7e86d3e6e09fa504ea2d8630cb877066 (patch)
treee9f7b8c74bb5189b80b23bcf779ad0023ca9a5a6
parenteaa6bf59db68f97fa32c3395eb4aa6e589f34b26 (diff)
tgsi: Fix missing test before check
As introduced with commit d21301675c249602e19310d5b62fad424f2f2ac2 NOTE: This is a candidate for the 7.9 branch.
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_sse2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
index 67deffbd119..086d983a73a 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_sse2.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
@@ -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: