mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
r600/sfn: Handle shifts on Cayman
Fixes: 00599f6e71
r600/sfn: Schedule shift instruction on R600 in t-slot
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18619>
This commit is contained in:
parent
2fbcd3d4a9
commit
260cddf9ec
1 changed files with 3 additions and 0 deletions
|
|
@ -1223,6 +1223,9 @@ bool AluInstr::from_nir(nir_alu_instr *alu, Shader& shader)
|
|||
case nir_op_umul_high: return emit_alu_trans_op2_cayman(*alu, op2_mulhi_uint, shader);
|
||||
case nir_op_f2u32: return emit_alu_op1(*alu, op1_flt_to_uint, shader);
|
||||
case nir_op_f2i32: return emit_alu_op1(*alu, op1_flt_to_int, shader);
|
||||
case nir_op_ishl: return emit_alu_op2_int(*alu, op2_lshl_int, shader);
|
||||
case nir_op_ishr: return emit_alu_op2_int(*alu, op2_ashr_int, shader);
|
||||
case nir_op_ushr: return emit_alu_op2_int(*alu, op2_lshr_int, shader);
|
||||
default:
|
||||
;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue