vc4: Add support for having 0 vertex elements used.
authorEric Anholt <eric@anholt.net>
Thu, 25 Sep 2014 21:57:01 +0000 (14:57 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 14 Oct 2014 10:29:48 +0000 (11:29 +0100)
commitb5fc9d5664d08d2e47ae89bf580e43732346a694
treea491d70780565b0908ee273b35875b3565af1934
parenta2fd55cfb65d3933c27ed6c2259966a98acc55eb
vc4: Add support for having 0 vertex elements used.

You have to load at least 1, according to the simulator.  Fixes 4 piglit
tests and even more ES2 conformance tests.
src/gallium/drivers/vc4/vc4_draw.c
src/gallium/drivers/vc4/vc4_program.c