vc4: Add support for ARB_draw_elements_base_vertex.
authorEric Anholt <eric@anholt.net>
Wed, 22 Jul 2015 19:14:40 +0000 (12:14 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 28 Jul 2015 05:48:20 +0000 (22:48 -0700)
commit7850774f2118ae87c7e6a4f6c17751e405edfb34
tree7ef8157708e879373d1a7eade39c22a080edd154
parent98a4b111fbb9e3ae45e907ddd4d2407e5ab669ec
vc4: Add support for ARB_draw_elements_base_vertex.

Gallium exposes it unconditionally, so do our best to support it.  It
fails on the negative index cases, but those seem unlikely to be used in
the wild.
src/gallium/drivers/vc4/vc4_draw.c