panfrost/midgard: Don't try to inline constants on branches
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 21 Apr 2019 03:59:05 +0000 (03:59 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Wed, 24 Apr 2019 02:22:31 +0000 (02:22 +0000)
commita1aaf72915cef87dec738646d0a40f1d0e44a876
treeedde0757b29c336c647d95f648e3f0f5f7be8542
parentc0fb2605dcd473722a871cc1416d68d901b3917d
panfrost/midgard: Don't try to inline constants on branches

Along with a corresponding fix to the move elimination pass (not
included here yet -- I just have it disabled for now), this will fix
dEQP-GLES2.functional.shaders.loops.for_uniform_iterations.*

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/midgard/midgard_compile.c