llvmpipe: make sample position a global array.
authorDave Airlie <airlied@redhat.com>
Thu, 7 May 2020 00:04:16 +0000 (10:04 +1000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 7 May 2020 18:38:51 +0000 (18:38 +0000)
commit89d4b6b5c857e1efcff4d945fb83b4e77d26378d
tree5eae2817c0517b5505d9ea1fabca75960dcf3799
parent3b6449d45317f4441eef464b415f5c65e5103dab
llvmpipe: make sample position a global array.

I messed this up and LLVM asserts on it.

Use the gallivm struct wrappers to make it clearer.

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2913
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Tested-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4933>
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c
src/gallium/drivers/llvmpipe/lp_bld_interp.c
src/gallium/drivers/llvmpipe/lp_state_fs.c