llvmpipe: make sample position a global array

Graphics / Mesa 3D Graphics Library / Mesa - Dave Airlie [redhat.com] - 7 May 2020 18:38 EDT

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

89d4b6b5c85 llvmpipe: make sample position a global array.
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c | 4 ++--
src/gallium/drivers/llvmpipe/lp_bld_interp.c | 17 +++++++++--------
src/gallium/drivers/llvmpipe/lp_state_fs.c | 2 +-
3 files changed, 12 insertions(+), 11 deletions(-)

Upstream: cgit.freedesktop.org


  • Share