summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_hs_visitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_hs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_hs_visitor.cpp
index 869dee89f5..0ddbaed536 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_hs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_hs_visitor.cpp
@@ -137,7 +137,7 @@ vec4_hs_visitor::emit_thread_end()
vec4_instruction *inst;
emit(ADD(nir_system_values[SYSTEM_VALUE_INVOCATION_ID], src_reg(nir_system_values[SYSTEM_VALUE_INVOCATION_ID]), src_reg(1)));
- inst = emit(CMP(dst_null_d(), src_reg(nir_system_values[SYSTEM_VALUE_INVOCATION_ID]), src_reg(((struct brw_hs_prog_data *) prog_data)->instances), BRW_CONDITIONAL_LE));
+ inst = emit(CMP(dst_null_d(), src_reg(nir_system_values[SYSTEM_VALUE_INVOCATION_ID]), src_reg(((struct brw_hs_prog_data *) prog_data)->instances), BRW_CONDITIONAL_L));
inst = emit(BRW_OPCODE_WHILE);
inst->predicate = BRW_PREDICATE_NORMAL;