llvmpipe: Add support for load_global_constant
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 31 Aug 2020 18:47:44 +0000 (13:47 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 20:50:04 +0000 (20:50 +0000)
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6379>

src/gallium/auxiliary/gallivm/lp_bld_nir.c

index c008e22c67dead5e75f2ae8c8c871d5ee61e595b..bb04beeed12978ce25b7ea798c99d74c1753f5f5 100644 (file)
@@ -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: