mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
i965/vec4: Fix implementation of i2b.
I broke this in commit 2881b123d. I must have misread i2b as b2i.
Cc: 10.5 <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88246
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
b8a1637119
commit
43ef2657a0
1 changed files with 1 additions and 1 deletions
|
|
@ -1655,7 +1655,7 @@ vec4_visitor::visit(ir_expression *ir)
|
|||
emit(CMP(result_dst, op[0], src_reg(0.0f), BRW_CONDITIONAL_NZ));
|
||||
break;
|
||||
case ir_unop_i2b:
|
||||
emit(AND(result_dst, op[0], src_reg(1)));
|
||||
emit(CMP(result_dst, op[0], src_reg(0), BRW_CONDITIONAL_NZ));
|
||||
break;
|
||||
|
||||
case ir_unop_trunc:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue