vc4: Restructure VPM write optimization into two passes.
authorEric Anholt <eric@anholt.net>
Tue, 15 Nov 2016 22:35:12 +0000 (14:35 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 29 Nov 2016 16:38:59 +0000 (08:38 -0800)
commitf4baf809937c98dabee90ea57b9d7e6135bdb0df
treee292072ff951813b8cc4729a99761c2f98218bb6
parenta025983dd9cfcba8a452205efbc5c0be8ff3da74
vc4: Restructure VPM write optimization into two passes.

For texturing, there won't be a fixed limit on how many writes there are,
so we need to compute uses up front.
src/gallium/drivers/vc4/vc4_opt_coalesce_ff_writes.c