Upload of interleaved arrays currently assumes that position is the
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 13 Oct 2006 11:21:55 +0000 (11:21 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 13 Oct 2006 11:21:55 +0000 (11:21 +0000)
commita2c50b0f4ad16855cf8a2ff2ab4029342f4297dd
treeee65d1d23c303094d5acd713337a75e762ce6bc4
parentfd6341e57494e80f02aaf69461a7169e9048c39f
Upload of interleaved arrays currently assumes that position is the
first element in the interleaved group.  Add a test to catch cases
where this isn't true and use per-array uploads instead.  Fixes compiz
glitches on x64.
src/mesa/drivers/dri/i965/brw_draw_upload.c