summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/freedreno/a3xx/ir3_depth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/freedreno/a3xx/ir3_depth.c')
-rw-r--r--src/gallium/drivers/freedreno/a3xx/ir3_depth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/ir3_depth.c b/src/gallium/drivers/freedreno/a3xx/ir3_depth.c
index 580ae08da2c..452257884df 100644
--- a/src/gallium/drivers/freedreno/a3xx/ir3_depth.c
+++ b/src/gallium/drivers/freedreno/a3xx/ir3_depth.c
@@ -68,7 +68,7 @@ int ir3_delayslots(struct ir3_instruction *assigner,
return 0;
/* assigner must be alu: */
- if (is_sfu(consumer) || is_tex(consumer)) {
+ if (is_flow(consumer) || is_sfu(consumer) || is_tex(consumer)) {
return 8;
} else if ((consumer->category == 3) &&
is_mad(consumer->opc) && (n == 2)) {