Module: Mesa Branch: master Commit: 2207daf54953bc6c51087e5354055e9146bead75 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2207daf54953bc6c51087e5354055e9146bead75
Author: Marek Olšák <[email protected]> Date: Fri Aug 2 15:19:00 2019 +0200 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 <[email protected]> --- src/gallium/auxiliary/nir/tgsi_to_nir.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c index b4c4365de32..d2e054d7fc3 100644 --- a/src/gallium/auxiliary/nir/tgsi_to_nir.c +++ b/src/gallium/auxiliary/nir/tgsi_to_nir.c @@ -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 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
