mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
tgsi_to_nir: implement a few needed 64-bit integer opcodes
for internal radeonsi shaders v2 (Connor): - Split this out from the prep work, and rework the former - Add support for U64SNE Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
37f6350c1d
commit
2207daf549
1 changed files with 5 additions and 0 deletions
|
|
@ -1715,6 +1715,11 @@ static const nir_op op_trans[TGSI_OPCODE_LAST] = {
|
|||
[TGSI_OPCODE_INTERP_CENTROID] = 0, /* XXX */
|
||||
[TGSI_OPCODE_INTERP_SAMPLE] = 0, /* XXX */
|
||||
[TGSI_OPCODE_INTERP_OFFSET] = 0, /* XXX */
|
||||
|
||||
[TGSI_OPCODE_U64ADD] = nir_op_iadd,
|
||||
[TGSI_OPCODE_U64MUL] = nir_op_imul,
|
||||
[TGSI_OPCODE_U64DIV] = nir_op_udiv,
|
||||
[TGSI_OPCODE_U64SNE] = nir_op_ine,
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue