mesa: Implement _mesa_array_element by walking enabled arrays.
In glArrayElement, use the bitmask trick to just walk the enabled vao arrays. This should be about equivalent in execution time to walk the prepare aelt_context list. Finally this will allow us to reduce the _mesa_update_state calls in a few patches. v2: Add comments. Reviewed-by:Brian Paul <brianp@vmware.com> Signed-off-by:
Mathias Fröhlich <Mathias.Froehlich@web.de>
Loading
Please register or sign in to comment