vc4: Set the primitive list format at the start of rendering.
authorEric Anholt <eric@anholt.net>
Thu, 16 Oct 2014 09:17:57 +0000 (10:17 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 17 Oct 2014 12:09:28 +0000 (13:09 +0100)
commitafc3aa373d45775d08babffa49b566f952689efc
treed527190ae2c01d0ee7308fc9ec2976ab9a98becb
parent895c90410314103814ca4d2684f94463bd8f243f
vc4: Set the primitive list format at the start of rendering.

The other driver does this manually before calling into each tile, but we
can just let it get binned into the tiles (saving repeated kernel
validation on the packet).

Fixes simulator assertion failures on polygon-mode and non-auto texwrap.
src/gallium/drivers/vc4/vc4_draw.c
src/gallium/drivers/vc4/vc4_packet.h