From ff2f44d86585e842d2e412e0730a5742441fafe2 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Sat, 29 Aug 2020 01:00:37 -0500 Subject: [PATCH] intel/fs: Implement nir_intrinsic_load_global_constant Part-of: --- src/intel/compiler/brw_fs_nir.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp index 857ee8ed4b9..99cb0e720f2 100644 --- a/src/intel/compiler/brw_fs_nir.cpp +++ b/src/intel/compiler/brw_fs_nir.cpp @@ -4554,7 +4554,8 @@ fs_visitor::nir_emit_intrinsic(const fs_builder &bld, nir_intrinsic_instr *instr break; } - case nir_intrinsic_load_global: { + case nir_intrinsic_load_global: + case nir_intrinsic_load_global_constant: { assert(devinfo->gen >= 8); assert(nir_dest_bit_size(instr->dest) <= 32); -- 2.30.2