From: Jason Ekstrand Date: Mon, 31 Aug 2020 18:47:44 +0000 (-0500) Subject: llvmpipe: Add support for load_global_constant X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dfa63f26561c9735fbd1926ae01dd98b2b5d3235;p=mesa.git llvmpipe: Add support for load_global_constant Reviewed-by: Karol Herbst Part-of: --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c b/src/gallium/auxiliary/gallivm/lp_bld_nir.c index c008e22c67d..bb04beeed12 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c @@ -1552,6 +1552,7 @@ static void visit_intrinsic(struct lp_build_nir_context *bld_base, visit_load_kernel_input(bld_base, instr, result); break; case nir_intrinsic_load_global: + case nir_intrinsic_load_global_constant: visit_load_global(bld_base, instr, result); break; case nir_intrinsic_store_global: