From 5f671de4867cc2349f340ee0c4109cb3738bfa21 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 18 May 2022 21:02:28 -0600 Subject: [PATCH] gallivm: add const qualifier in lp_bld_nir_soa.c Signed-off-by: Brian Paul Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c index f8079701d7a..ec712b191e6 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c @@ -2596,7 +2596,7 @@ void lp_build_nir_soa(struct gallivm_state *gallivm, LLVMValueRef (*outputs)[4]) { struct lp_build_nir_soa_context bld; - struct lp_type type = params->type; + const struct lp_type type = params->type; struct lp_type res_type; assert(type.length <= LP_MAX_VECTOR_LENGTH);