vc4: Allow user index buffers, to avoid slow readback for shadow IBs.
authorEric Anholt <eric@anholt.net>
Tue, 28 Jul 2015 18:35:03 +0000 (11:35 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 30 Oct 2015 05:58:01 +0000 (22:58 -0700)
commit04c42f3ab56a19089b46dea48615aeef8b8225da
treed9f197e5374846dd31cb9aa755847adddb862298
parent06fa2e864acea8f34eb3821523b1924fe8efdc9b
vc4: Allow user index buffers, to avoid slow readback for shadow IBs.

Improves low-settings openarena performance by 31.9975% +/- 0.659931%
(n=7).
src/gallium/drivers/vc4/vc4_draw.c
src/gallium/drivers/vc4/vc4_resource.c
src/gallium/drivers/vc4/vc4_screen.c
src/gallium/drivers/vc4/vc4_state.c