From bd7ed4c6a2829d7edd48b757e76f8071d86a7fa1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 15 Jun 2022 15:40:09 -0600 Subject: [PATCH] gallivm: change texture/sampler_index params to unsigned To match other functions taking those params. Signed-off-by: Brian Paul Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c index 37656d95c01..54aed81c0df 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c @@ -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;