From: Jakob Bornecrantz Date: Wed, 22 Sep 2010 20:29:15 +0000 (+0200) Subject: tgsi: Fix missing test before check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4bb42a4f7e86d3e6e09fa504ea2d8630cb877066;p=mesa.git tgsi: Fix missing test before check As introduced with commit d21301675c249602e19310d5b62fad424f2f2ac2 NOTE: This is a candidate for the 7.9 branch. --- 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: