draw: don't assume fixed offset for data in struct vertex_info
authorRoland Scheidegger <sroland@vmware.com>
Fri, 11 Dec 2015 03:53:21 +0000 (04:53 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 11 Dec 2015 19:09:21 +0000 (20:09 +0100)
commit6c2c1e0ffeb265aa508e0ce8e552e10b0b5c5962
tree226b8b9853fee6c11d212f8207423cbb8fa258db
parent583a5778f46aa6a18d7ec52178ebf1fb82c6daa8
draw: don't assume fixed offset for data in struct vertex_info

Otherwise, if struct vertex_info is changed, you're in for some surprises...

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_pt_fetch.c