mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
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:
parent
3c455c3532
commit
e7d20bc86a
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue