From: Caio Marcelo de Oliveira Filho Date: Thu, 21 May 2020 08:03:57 +0000 (-0700) Subject: intel/fs: Remove unused emission of load_simd_with_intel X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e0525e145a180dfbce359f83994137f8b8b7295;p=mesa.git intel/fs: Remove unused emission of load_simd_with_intel The nir_intrinsic_load_simd_width_intel is always lowered by the brw_nir_lower_simd() pass before the emission happens. This is likely a "leftover" from patch rewriting/squashing that happened when this intrinsic was added. Reviewed-by: Jason Ekstrand Part-of: --- diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp index f7224d48bfc..8916f9b876e 100644 --- a/src/intel/compiler/brw_fs_nir.cpp +++ b/src/intel/compiler/brw_fs_nir.cpp @@ -3879,11 +3879,6 @@ fs_visitor::nir_emit_cs_intrinsic(const fs_builder &bld, break; } - case nir_intrinsic_load_simd_width_intel: { - bld.MOV(dest, brw_imm_ud(cs_prog_data->simd_size)); - break; - }; - default: nir_emit_intrinsic(bld, instr); break;