gallivm: let nir_lower_tex handle projectors
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 29 Jul 2021 09:06:12 +0000 (11:06 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 30 Jul 2021 11:19:50 +0000 (11:19 +0000)
commit175bc33da7a722969d17ae377e019c4e40725fc6
treefacf7be41fc3136a568a8fa1b0da50d1b28753eb
parent3914bd457b6e91c805a6ed9977ed984205f8acae
gallivm: let nir_lower_tex handle projectors

There's no need for us to do this lowering ourselves while emitting
code, when there's already a helper that can do this for us that we're
even using. Let's just set the right flag, and not worry about
projectors any more.

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