vc4: Make sure we don't overflow texture input/output FIFOs when threaded.
authorEric Anholt <eric@anholt.net>
Tue, 22 Nov 2016 21:31:46 +0000 (13:31 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 23 Nov 2016 00:46:03 +0000 (16:46 -0800)
commitff018e0979458636a1e3ad555a39ec4393206343
tree2db3bbfca0e466beeda47c0fe62640c572d0a49c
parentea417f53354b5ea65c7c4863a4f336dda23bf019
vc4: Make sure we don't overflow texture input/output FIFOs when threaded.

I dropped the first hunk of this change last minute when I decided it
wasn't actually needed, and apparently failed to piglit it in simulation.
The simulator threw an an assertion in gl-1.0-drawpixels-color-index,
which queued up 5 coordinates (3 before a switch, two after) before
loading the result.
src/gallium/drivers/vc4/vc4_qir_schedule.c