gallium/ttn: MOD is an integer instruction
Signed-off-by: Rob Clark <robclark@freedesktop.org> Reviewed-by: Eric Anholt <eric@anholt.net
This commit is contained in:
@@ -1034,7 +1034,7 @@ static const nir_op op_trans[TGSI_OPCODE_LAST] = {
|
||||
[TGSI_OPCODE_SHL] = nir_op_ishl,
|
||||
[TGSI_OPCODE_AND] = nir_op_iand,
|
||||
[TGSI_OPCODE_OR] = nir_op_ior,
|
||||
[TGSI_OPCODE_MOD] = nir_op_fmod,
|
||||
[TGSI_OPCODE_MOD] = nir_op_umod,
|
||||
[TGSI_OPCODE_XOR] = nir_op_ixor,
|
||||
[TGSI_OPCODE_SAD] = 0, /* XXX */
|
||||
[TGSI_OPCODE_TXF] = 0,
|
||||
|
||||
Reference in New Issue
Block a user