mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 21:38:18 +02:00
tgsi_to_nir: translate MAD as ffma_weak
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41165>
This commit is contained in:
parent
16d47c246d
commit
5160d6f806
1 changed files with 1 additions and 1 deletions
|
|
@ -1650,7 +1650,7 @@ static const nir_op op_trans[TGSI_OPCODE_LAST] = {
|
|||
[TGSI_OPCODE_MAX] = nir_op_fmax,
|
||||
[TGSI_OPCODE_SLT] = nir_op_slt,
|
||||
[TGSI_OPCODE_SGE] = nir_op_sge,
|
||||
[TGSI_OPCODE_MAD] = nir_op_ffma_old,
|
||||
[TGSI_OPCODE_MAD] = nir_op_ffma_weak,
|
||||
[TGSI_OPCODE_LRP] = 0,
|
||||
[TGSI_OPCODE_SQRT] = nir_op_fsqrt,
|
||||
[TGSI_OPCODE_FRC] = nir_op_ffract,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue