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:
parent
3d6192c0b8
commit
5f671de486
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue