vc4: Disable vc4_opt_vpm in the presence of control flow.
authorEric Anholt <eric@anholt.net>
Sat, 9 Jul 2016 00:06:18 +0000 (17:06 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 14 Jul 2016 06:54:15 +0000 (23:54 -0700)
commit37ecc616628d3d5fb75e53135f2f31b11e0cce74
treebbd251acc4b1cdf8d7902dc8309bc20846c7d3ce
parentee69cfd11d34e6570c579c42f9cd8b5c8ea36bcf
vc4: Disable vc4_opt_vpm in the presence of control flow.

It's a really valuable pass currently, but it will be a mess to rewrite
for control flow.  For now, just disable it if we have multiple blocks
present.
src/gallium/drivers/vc4/vc4_opt_vpm.c