brw: Drop inst->mlen check from is_send()

We used to have inst->mlen set on various virtual opcodes, but these
days the only instructions that should have inst->mlen set are
SHADER_OPCODE_SEND and SHADER_OPCODE_SEND_GATHER, which are already
covered in inst->is_send_from_grf().  So we don't need to check for mlen
specifically.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34040>
This commit is contained in:
Kenneth Graunke 2025-08-04 13:50:42 -07:00 committed by Marge Bot
parent 3c455c3532
commit e7d20bc86a

View file

@ -333,7 +333,7 @@ get_exec_type_size(const brw_inst *inst)
static inline bool
is_send(const brw_inst *inst)
{
return inst->mlen || inst->is_send_from_grf();
return inst->is_send_from_grf();
}
/**