radeonsi: Fix draws using user index buffer.
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 1 Feb 2013 17:49:07 +0000 (18:49 +0100)
committerMichel Dänzer <michel@daenzer.net>
Fri, 1 Feb 2013 17:53:03 +0000 (18:53 +0100)
commita8a5055f2dea1960898763d17f28043577c3e64e
tree478dfe8fa9be5991c4b8be46795afa4ed6646553
parent1bb52bab9e44112c0df76fb407c72419c5c8f262
radeonsi: Fix draws using user index buffer.

Was broken since commit bf469f4edc60bd1c5fd770cb231b8d5ab801427f
('gallium: add void *user_buffer in pipe_index_buffer').

Fixes 11 piglit tests and lots of missing geometry e.g. in TORCS.

NOTE: This is a candidate for the 9.1 branch.
src/gallium/drivers/radeonsi/si_state_draw.c