HomePhabricator
Diffusion Mesa 6fac626193a0

mesa: The glArrayElement api is independent of the current program.

Authored by Mathias Fröhlich <mathias.froehlich@web.de> on May 13 2018, 9:18 AM.

Description

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>

Details

Committed
Mathias Fröhlich <Mathias.Froehlich@gmx.net>May 17 2018, 8:13 PM
Pushed
pmoreauMay 22 2018, 7:03 PM
Parents
rMESA984cb4e512f4: mesa: Flag _NEW_ARRAY only if we are changing ctx->Array.VAO.
Branches
Unknown
Tags
Unknown

Event Timeline

Mathias Fröhlich <Mathias.Froehlich@gmx.net> committed rMESA6fac626193a0: mesa: The glArrayElement api is independent of the current program. (authored by Mathias Fröhlich <mathias.froehlich@web.de>).May 17 2018, 8:13 PM