mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
i965/vs: Fix condition code for scalar expression all_equals.
Fixes vs-op-eq-bool-bool.
This commit is contained in:
parent
8a649277cb
commit
feff7c62ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue