galllivm: fix gather offset casting
authorDave Airlie <airlied@redhat.com>
Mon, 20 Jan 2020 03:21:28 +0000 (13:21 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Jan 2020 03:48:16 +0000 (13:48 +1000)
commit1e433c398ebeacd28cd565569eae0caba2638d18
tree2eb6fcd734e60297861f607a78989c7f005a4f52
parentfc9d67394d6d6a83f592f5b40fdf28bfb6e980b0
galllivm: fix gather offset casting

cast texture offsets to 32-bit integers

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