i965/draw: Use the correct buffer index for interleaved VBO sizes
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 24 May 2016 23:57:38 +0000 (16:57 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 25 May 2016 03:50:35 +0000 (20:50 -0700)
commit6f89e51c8477f21b64d1f4420b06e407de9022ff
treeeead7365387f305aa9ba89b5aa88ed39816c0cb5
parente58fabc93a25ccc910369f3638b302d46de12271
i965/draw: Use the correct buffer index for interleaved VBO sizes

The buffer_range_* arrays are indexed by buffer index not element index.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_draw_upload.c