gallivm/sample: change texture function generator api
authorDave Airlie <airlied@redhat.com>
Tue, 19 May 2020 02:01:54 +0000 (12:01 +1000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Jul 2020 04:12:16 +0000 (04:12 +0000)
commit8b15a08ebdefd9aff8cd0f8b727052515f61a4a0
tree56d214ed3069a0ed45dfb7bf2458d10c52d76bbd
parent30c5cbbcd206aa55f8dad4cdc96407642d0e98a8
gallivm/sample: change texture function generator api

This passes some more paramters in directly and changes how
the returns are done in order to reuse this function for
indirect texture support later.

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