vc4: Make sure that we don't overwrite the signal for PROG_END.
authorEric Anholt <eric@anholt.net>
Mon, 2 May 2016 21:45:45 +0000 (14:45 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 6 May 2016 17:25:55 +0000 (10:25 -0700)
commit1387e722cde7c33ad07766eb715bc74e84a43e80
tree49f1cac44530e4fd88aaf42af61600e67a7f772d
parent44de03b0f8e14285d3a870934f805846b1d90f19
vc4: Make sure that we don't overwrite the signal for PROG_END.

We should have already emitted a NOP due to the last instruction being a
TLB or VPM write.  However, if you disable dead code elimination then you
might get dead code at the end, and that dead code might have the signal
bits set to something non-default, at which point you die in assertion
failure.
src/gallium/drivers/vc4/vc4_qpu_emit.c