Mesa (main): ir3/postsched: Fix copy-paste mistake
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 17 14:16:15 UTC 2021
Module: Mesa
Branch: main
Commit: b9f61d728774e04d2981fe86946077851dd3d986
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9f61d728774e04d2981fe86946077851dd3d986
Author: Connor Abbott <cwabbott0 at gmail.com>
Date: Fri Nov 5 15:43:13 2021 +0100
ir3/postsched: Fix copy-paste mistake
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13722>
---
src/freedreno/ir3/ir3_postsched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/freedreno/ir3/ir3_postsched.c b/src/freedreno/ir3/ir3_postsched.c
index 162c2dccb6c..f13a864ec7e 100644
--- a/src/freedreno/ir3/ir3_postsched.c
+++ b/src/freedreno/ir3/ir3_postsched.c
@@ -399,7 +399,7 @@ add_single_reg_dep(struct ir3_postsched_deps_state *state,
node->delay = MAX2(node->delay, d);
if (is_tex_or_prefetch(dep->instr))
node->has_tex_src = true;
- if (is_tex_or_prefetch(dep->instr))
+ if (is_sfu(dep->instr))
node->has_sfu_src = true;
}
More information about the mesa-commit
mailing list