vc4: Prevent copy propagating out the MOVs from r4.
authorEric Anholt <eric@anholt.net>
Thu, 9 Oct 2014 14:36:45 +0000 (16:36 +0200)
committerEric Anholt <eric@anholt.net>
Thu, 9 Oct 2014 19:47:06 +0000 (21:47 +0200)
commit93cac2637ba5a7cd5c79a0e74b87298fae807135
tree40b4a73b8ee4b7437cd237d18ffdced7173a88a3
parentc4b0dd53568fa276079f6b6bf7ba4b857ddd65a5
vc4: Prevent copy propagating out the MOVs from r4.

Copy propagating these might result in reading the r4 after some other
instruction has written r4.  Just prevent all copy propagation of this for
now.

Fixes bad rendering with upcoming indirect register access support, where
the copy propagation was consistently happening across another read.
src/gallium/drivers/vc4/vc4_opt_copy_propagation.c