gallivm: change texture/sampler_index params to unsigned

To match other functions taking those params.

Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18213>
This commit is contained in:
Brian Paul 2022-06-15 15:40:09 -06:00 committed by Marge Bot
parent 9b86745d69
commit bd7ed4c6a2

View file

@ -4085,7 +4085,7 @@ lp_build_sample_soa_func(struct gallivm_state *gallivm,
const struct lp_static_sampler_state *static_sampler_state,
struct lp_sampler_dynamic_state *dynamic_state,
const struct lp_sampler_params *params,
int texture_index, int sampler_index,
unsigned texture_index, unsigned sampler_index,
LLVMValueRef *tex_ret)
{
LLVMBuilderRef builder = gallivm->builder;