radeonsi: don't add info->start to the index buffer offset
authorMarek Olšák <marek.olsak@amd.com>
Thu, 24 Apr 2014 14:13:54 +0000 (16:13 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 17 Jul 2014 23:58:58 +0000 (01:58 +0200)
commit887b69a2336df21d2c61ad65352a0cc7f23fec41
tree17e857afb5662336e28460fe88dbb2e614239248
parent09056b352d6de42d24decafdcd6819ad70dc98f1
radeonsi: don't add info->start to the index buffer offset

info->start will be invalid once info->indirect isn't NULL, so it shouldn't
be added to ib.offset.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state_draw.c