From: Jason Ekstrand Date: Sat, 29 Aug 2020 06:00:37 +0000 (-0500) Subject: intel/fs: Implement nir_intrinsic_load_global_constant X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff2f44d86585e842d2e412e0730a5742441fafe2;p=mesa.git intel/fs: Implement nir_intrinsic_load_global_constant Part-of: --- 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);