broadcom/vc5: Add proper support for base_vertex and base_instance.
authorEric Anholt <eric@anholt.net>
Wed, 27 Sep 2017 22:06:09 +0000 (15:06 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 10 Oct 2017 18:42:05 +0000 (11:42 -0700)
commitc25de31824a64873a9000ce10b90fcf493050a8a
tree3cefc401b43f7c0d1163643ab8dbc4b807170210
parente74a9e8def040d55d994c5233bca0ddcccda42d5
broadcom/vc5: Add proper support for base_vertex and base_instance.

I had base_vertex hacked into the shader state setup like in vc4, but it's
not correct for big offsets.  Using the proper packet is easier and
hopefully means we can re-emit shader state setup less frequently.
src/gallium/drivers/vc5/vc5_context.h
src/gallium/drivers/vc5/vc5_draw.c
src/gallium/drivers/vc5/vc5_screen.c