gallivm: add const qualifier in lp_bld_nir_soa.c

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/16937>
This commit is contained in:
Brian Paul 2022-05-18 21:02:28 -06:00 committed by Marge Bot
parent 3d6192c0b8
commit 5f671de486
1 changed files with 1 additions and 1 deletions

View File

@ -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);