vc4: Track the last block we emitted at the top level.
authorEric Anholt <eric@anholt.net>
Fri, 24 Feb 2017 20:00:38 +0000 (12:00 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 25 Feb 2017 00:31:54 +0000 (16:31 -0800)
commit84a304eb96ec36df32d939385d51fb8e2026472c
tree67804cdfcd605192cf455dd7d6a388f807d1c72a
parent99d4203ad512023a47c8479ca0281dc3275886b8
vc4: Track the last block we emitted at the top level.

This will be used for delaying our VPM reads (which must be unconditional)
until just before they're used.
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h