mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
brw: lower 16-bit mulh
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40877>
This commit is contained in:
parent
8cb8c710fb
commit
9d82888383
1 changed files with 3 additions and 0 deletions
|
|
@ -1721,6 +1721,9 @@ lower_bit_size_callback(const nir_instr *instr, void *data)
|
|||
switch (alu->op) {
|
||||
case nir_op_bitfield_reverse:
|
||||
return alu->def.bit_size != 32 ? 32 : 0;
|
||||
case nir_op_umul_high:
|
||||
case nir_op_imul_high:
|
||||
return alu->def.bit_size < 32 ? 32 : 0;
|
||||
case nir_op_idiv:
|
||||
case nir_op_imod:
|
||||
case nir_op_irem:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue