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 <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5213>
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;