vc4: Move shader record setup before the draw call.
authorEric Anholt <eric@anholt.net>
Tue, 12 Aug 2014 21:57:39 +0000 (14:57 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 25 Sep 2014 03:49:08 +0000 (20:49 -0700)
commit61cb08ab4fb7bf9266d6c6e70f3fb8cc4b9bb00c
tree30d99fb693ee5f6b0d1d621caf147d3d61697a8d
parentba0c0a186de65869030e80efeab6cf374c0911b9
vc4: Move shader record setup before the draw call.

The flush only happens after both are written, so we can do them in either
order.  This will let me compute max_index during the shader record setup.
src/gallium/drivers/vc4/vc4_draw.c