aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2020-05-21 01:03:57 -0700
committerMarge Bot <[email protected]>2020-05-26 20:35:03 +0000
commit5e0525e145a180dfbce359f83994137f8b8b7295 (patch)
tree652d2b6b90c96d40d2be178e12dd362f225e5268
parenta5a413e19a82b1d97e9d7e0fc504e6012781d90b (diff)
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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5213>
-rw-r--r--src/intel/compiler/brw_fs_nir.cpp5
1 files changed, 0 insertions, 5 deletions
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;