summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Abbott <cwabbott0@gmail.com>2021-11-05 15:43:13 +0100
committerMarge Bot <emma+marge@anholt.net>2021-11-17 13:41:47 +0000
commitb9f61d728774e04d2981fe86946077851dd3d986 (patch)
treece582d7745192885a6020496b20ff5eab72bf303
parentd9a91318b1cee4d3c0a4b2b02c5c2968f3bdae31 (diff)
ir3/postsched: Fix copy-paste mistake
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13722>
-rw-r--r--src/freedreno/ir3/ir3_postsched.c2
1 files changed, 1 insertions, 1 deletions
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;
}