mesa: The glArrayElement api is independent of the current program.
authorMathias Fröhlich <mathias.froehlich@web.de>
Sun, 13 May 2018 07:18:57 +0000 (09:18 +0200)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Thu, 17 May 2018 18:13:40 +0000 (20:13 +0200)
commit6fac626193a077cba3154acf3820b30fc6f3e874
treefc17833e2679570c8b937ad4f59ce4d7fc37a361
parent984cb4e512f47fe6682f51985a0722c95e21f446
mesa: The glArrayElement api is independent of the current program.

All the shader program dependent handling is done on the level
of the gl_Context::Array._DrawVAO/_DrawVAOEnabledAttribs.
So, skip array element invalidation on _NEW_PROGRAM.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/main/api_arrayelt.c
src/mesa/vbo/vbo_context.c