jay: fix SEND scoreboarding

by inspection in a glmark2 shader.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40960>
This commit is contained in:
Alyssa Rosenzweig 2026-04-13 15:45:25 -04:00 committed by Marge Bot
parent 10fbfe1f65
commit e66bfbd691

View file

@ -239,7 +239,7 @@ lower_regdist_local(jay_function *func, jay_block *block, u32_per_pipe *access)
jay_foreach_pipe(p) {
if (dep[p]) {
jay_foreach_pipe(q) {
if (dep[q] && state.finished_ip[p][q] >= dep[q]) {
if (p != q && dep[q] && state.finished_ip[p][q] >= dep[q]) {
dep[q] = 0;
}
}