mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
gallium/ttn: Add support for TGSI_OPCODE_I64NEG/ABS.
Found when converting AMD's built-in TGSI shaders to not using 64-bit src mods. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8369>
This commit is contained in:
parent
8c7526afd2
commit
ecaa7c3e39
1 changed files with 2 additions and 0 deletions
|
|
@ -1955,6 +1955,8 @@ static const nir_op op_trans[TGSI_OPCODE_LAST] = {
|
|||
[TGSI_OPCODE_U64MUL] = nir_op_imul,
|
||||
[TGSI_OPCODE_U64DIV] = nir_op_udiv,
|
||||
[TGSI_OPCODE_U64SNE] = nir_op_ine,
|
||||
[TGSI_OPCODE_I64NEG] = nir_op_ineg,
|
||||
[TGSI_OPCODE_I64ABS] = nir_op_iabs,
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue