brw: Rename is_send_from_grf to is_send, replace other is_send() helper

The is_send() helper is just a wrapper around inst->is_send_from_grf()
now, so we can combine the two.  Trim the name from is_send_from_grf()
to is_send(), as it's shorter, and also matches is_math().

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-01-31 02:47:53 -08:00
committed by Marge Bot
parent e7d20bc86a
commit b848fa4595
7 changed files with 13 additions and 20 deletions
@@ -946,7 +946,7 @@ namespace {
execute_instruction(st, perf);
/* Mark any source dependencies. */
if (inst->is_send_from_grf()) {
if (inst->is_send()) {
for (unsigned i = 0; i < inst->sources; i++) {
if (inst->is_payload(i)) {
for (unsigned j = 0; j < regs_read(devinfo, inst, i); j++)