freedreno/ir3: don't be confused by eliminated indirects
authorRob Clark <robclark@freedesktop.org>
Thu, 2 Jul 2015 19:38:34 +0000 (15:38 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 3 Jul 2015 12:56:09 +0000 (08:56 -0400)
commita84505c71920f2c70bc8d83cee3e223cd2d976ad
tree84bfe5d730962956d06c8bd738c605c5756b5984
parent2215ff2a5d5f1df5791399e1ff78b56bf06e9102
freedreno/ir3: don't be confused by eliminated indirects

If an instruction using address register value gets eliminated, we need
to remove it from the indirects list, otherwise it causes mayhem in
sched for scheduling address register usage.

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