From dfa63f26561c9735fbd1926ae01dd98b2b5d3235 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 31 Aug 2020 13:47:44 -0500 Subject: [PATCH] llvmpipe: Add support for load_global_constant Reviewed-by: Karol Herbst Part-of: --- src/gallium/auxiliary/gallivm/lp_bld_nir.c | 1 + 1 file changed, 1 insertion(+) 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: -- 2.30.2