gv100/ir: fix shift lowering
authorKarol Herbst <kherbst@redhat.com>
Sat, 20 Jun 2020 14:52:44 +0000 (16:52 +0200)
committerKarol Herbst <kherbst@redhat.com>
Sun, 21 Jun 2020 22:55:57 +0000 (00:55 +0200)
commit42b9aa5f5c77390c88b17b226982a27bd1dd6c7e
tree8e3b3abc364e2f51af172744c94b42322e381a9a
parenta5445010e46517708efdcdfd756356bb2193e1bc
gv100/ir: fix shift lowering

Wrap was ignored. Also merge functions to share code.

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