summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-08-15 20:13:53 -0700
committerEric Anholt <[email protected]>2011-08-16 13:04:43 -0700
commitfeff7c62ce446f4e3bb755a2f40dcbd0e70155e4 (patch)
tree0d9a0215bc02d48d5d25e1be302542c1b554465a /src/mesa
parent8a649277cb57cc13fb38f8e8daf07e8a2b96223c (diff)
i965/vs: Fix condition code for scalar expression all_equals.
Fixes vs-op-eq-bool-bool.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index d03fbff27fc..3ae89dfbc45 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@ -985,7 +985,7 @@ vec4_visitor::visit(ir_expression *ir)
temp.type = op[0].type;
inst = emit(BRW_OPCODE_CMP, temp, op[0], op[1]);
- inst->conditional_mod = BRW_CONDITIONAL_NZ;
+ inst->conditional_mod = BRW_CONDITIONAL_Z;
emit(BRW_OPCODE_AND, result_dst, result_src, src_reg(0x1));
}
break;