intel/compiler: Don't set SBID on EOT send messages
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 23 Jun 2022 08:55:20 +0000 (01:55 -0700)
committerMarge Bot <emma+marge@anholt.net>
Sat, 9 Jul 2022 05:26:25 +0000 (05:26 +0000)
The send message with EOT is the last instruction so there's no need to
set any SWSB annotations for future instructions.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17202>

src/intel/compiler/brw_fs_scoreboard.cpp

index 0f74234..a9ed6f7 100644 (file)
@@ -1155,7 +1155,7 @@ namespace {
                   sb.get(brw_uvec_mrf(8, inst->base_mrf + j, 0))));
          }
 
-         if (is_unordered(inst))
+         if (is_unordered(inst) && !inst->eot)
             add_dependency(ids, deps[ip],
                            dependency(TGL_SBID_SET, ip, exec_all));