mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 07:50:11 +01:00
pan/bi: Set roundmode to RTZ for f2u operations
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7636>
This commit is contained in:
parent
00a6a9bdf8
commit
058bcf4406
1 changed files with 1 additions and 0 deletions
|
|
@ -1320,6 +1320,7 @@ emit_alu(bi_context *ctx, nir_alu_instr *instr)
|
|||
alu.src_types[2] = nir_type_uint8;
|
||||
break;
|
||||
case nir_op_f2i32:
|
||||
case nir_op_f2u32:
|
||||
alu.roundmode = BIFROST_RTZ;
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue