vbo: Fix handling of POS/GENERIC0 attributes.
authorMathias Fröhlich <mathias.froehlich@web.de>
Fri, 22 Jul 2016 08:58:58 +0000 (10:58 +0200)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Wed, 27 Jul 2016 04:43:03 +0000 (06:43 +0200)
commit2060f19b4f7331299e597beee42be4c987b58762
tree686503f317b8119b0d6ecd1108c570c0a5accda5
parentc98c7321581cf7b5fbbedb434d8f073e357f67af
vbo: Fix handling of POS/GENERIC0 attributes.

In case of split primitives we need to restore
the original setting of the vtx.attrsz array to make
immediate mode attribute array tracking work.

v2: Use bool instead of boolean.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Brian Paul <brianp@vmware.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96950
src/mesa/vbo/vbo_exec_draw.c