vc4: Don't throw out the index offset in the shadow index buffer path.
authorEric Anholt <eric@anholt.net>
Fri, 12 Dec 2014 04:34:06 +0000 (20:34 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 12 Dec 2014 07:52:25 +0000 (23:52 -0800)
commitd78eb5752838979057a8a1210d6951c084904c0f
treefa853fc6803e6aa2bc76a408d68a9eda19304847
parent0ae5e002e090c5e1bd237fa3f23549f9ab105a44
vc4: Don't throw out the index offset in the shadow index buffer path.

When we upload shadow indices at draw time, we need the source offset.
Fixes the piglit draw-elements test.
src/gallium/drivers/vc4/vc4_state.c