llvmpipe: fix some integer instruction lowering.
authorDave Airlie <airlied@redhat.com>
Mon, 20 Jan 2020 03:16:49 +0000 (13:16 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Jan 2020 03:48:16 +0000 (13:48 +1000)
commitfc9d67394d6d6a83f592f5b40fdf28bfb6e980b0
tree4233a4e9c1d3dedd00f9af4f3bcea1f030ddf0ed
parent6c88c81df9544fc6653eca02ec088ed4c842235c
llvmpipe: fix some integer instruction lowering.

We want to lower to shifts for bitfields, and lower ifind_msb.

Fixes a bunch of gpu shader5 tests.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3528>
src/gallium/drivers/llvmpipe/lp_screen.c