From 4bb42a4f7e86d3e6e09fa504ea2d8630cb877066 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 22 Sep 2010 22:29:15 +0200 Subject: [PATCH] tgsi: Fix missing test before check As introduced with commit d21301675c249602e19310d5b62fad424f2f2ac2 NOTE: This is a candidate for the 7.9 branch. --- src/gallium/auxiliary/tgsi/tgsi_sse2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c index 67deffb..086d983 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: -- 2.7.4