freedreno/ir3: fix error in bail logic
authorRob Clark <robclark@freedesktop.org>
Wed, 3 Sep 2014 23:45:19 +0000 (19:45 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 5 Sep 2014 02:28:50 +0000 (22:28 -0400)
commit73ff4c5f70286ffe72ce6a60b68a8274d7425478
treed3f669c3184ac76b55ccf191e07f8de85f307946
parent08ee0488e6ae4c3728f00b24a2744cb3bd1929e8
freedreno/ir3: fix error in bail logic

all_delayed will also be true if we didn't attempt to schedule anything
due to no more instructions using current addr/pred.  We rely on coming
in to block_sched_undelayed() to detect and clean up when there are no
more uses of the current addr/pred, which isn't necessarily an error.

This fixes a regression introduced in b823abed.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_sched.c