summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-07-02 15:08:27 -0700
committerEric Anholt <[email protected]>2016-07-04 16:33:22 -0700
commit44df374a9c91b87be0f5ebccadc52760ebe95871 (patch)
tree2df05de838c79600788736091af8030e59dc8860 /src/gallium/drivers
parenteaa53f80d9da292ade219c609f8ac37f9a8ca0d7 (diff)
vc4: Fix a pasteo in scheduling condition flag usage.
Noticed by code inspection. This hasn't been too big of a deal, because our cond usages all start out as adder ops, either MOVs or the FTOI for Z writes. MOVs *can* get converted to mul ops during scheduling, but apparently we hadn't hit this.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/vc4/vc4_qpu_schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qpu_schedule.c b/src/gallium/drivers/vc4/vc4_qpu_schedule.c
index 09164b74932..4af605c109c 100644
--- a/src/gallium/drivers/vc4/vc4_qpu_schedule.c
+++ b/src/gallium/drivers/vc4/vc4_qpu_schedule.c
@@ -404,7 +404,7 @@ calculate_deps(struct schedule_state *state, struct schedule_node *n)
}
process_cond_deps(state, n, QPU_GET_FIELD(inst, QPU_COND_ADD));
- process_cond_deps(state, n, QPU_GET_FIELD(inst, QPU_COND_ADD));
+ process_cond_deps(state, n, QPU_GET_FIELD(inst, QPU_COND_MUL));
if (inst & QPU_SF)
add_write_dep(state, &state->last_sf, n);
}