nvir/gm107: implement OP_PERMT
authorBen Skeggs <bskeggs@redhat.com>
Sat, 6 Jun 2020 23:52:21 +0000 (09:52 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 22:52:41 +0000 (22:52 +0000)
commit4f7798be9fea0e4a2569ea3f9d7f5ba59e024fd6
treebe94ae1d8a26534cb991413fc94a43c3f96aebb1
parent9670c087a7a0c6927f847c2609852dceb2583360
nvir/gm107: implement OP_PERMT

PFETCH lowering will be changed to use this as it's more SM70-friendly,
and this will also allow us to implement extract_byte/word opcodes.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5377>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp