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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user