Mesa (main): intel/compiler: Don't set SBID on EOT send messages
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Jul 9 06:00:45 UTC 2022
Module: Mesa
Branch: main
Commit: c08f51d0cffbfa4fee58e25fcdc22ee942506ea8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c08f51d0cffbfa4fee58e25fcdc22ee942506ea8
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Thu Jun 23 01:55:20 2022 -0700
intel/compiler: Don't set SBID on EOT send messages
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 at riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17202>
---
src/intel/compiler/brw_fs_scoreboard.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/compiler/brw_fs_scoreboard.cpp b/src/intel/compiler/brw_fs_scoreboard.cpp
index 0f7423492b7..a9ed6f737c6 100644
--- a/src/intel/compiler/brw_fs_scoreboard.cpp
+++ b/src/intel/compiler/brw_fs_scoreboard.cpp
@@ -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));
More information about the mesa-commit
mailing list