nvir/nir: nir expects the shift amount to wrap, rather than clamp
authorBen Skeggs <bskeggs@redhat.com>
Sat, 6 Jun 2020 23:52:17 +0000 (09:52 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 22:52:41 +0000 (22:52 +0000)
commit59b44f90aa4db9425ed05d415c61ef63ced66726
treef77d86165db6a12f1fa18c51415fbc3c54d12da9
parent126954aade982ab79fde07de35c9911737eb0d04
nvir/nir: nir expects the shift amount to wrap, rather than clamp

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_from_nir.cpp