radeonsi: don't add info->start to the index buffer offset

Graphics / Mesa 3D Graphics Library / Mesa - Marek Olšák [amd.com] - 17 July 2014 18:58 UTC

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

887b69a radeonsi: don't add info->start to the index buffer offset
src/gallium/drivers/radeonsi/si_state_draw.c | 36 ++++++++++++++++++--------
1 file changed, 25 insertions(+), 11 deletions(-)

Upstream: cgit.freedesktop.org


  • Share