Hi, Following a short series of cleanup following the gl_array_object change. The most important change is the use ot an ffs based loop to compute gl_array_object::_MaxElement. This change provides a noticable performance improovement for my average workloads. To implement this, a small set of helper functions is introduced in the patch before, to compute the bitmasks of enabled arrays taking into account the aliasing rules for the different arrays. The first patch just makes use of the recently introduced BITFIELD64_RANGE macro where it makes sense.
The complete changeset survives a piglit quick run for r600g/rv770 and swrast without regressions. Please review. Thanks Mathias Mathias Fröhlich (3): mesa: Use BITFIELD64_RANGE for VERT_BIT_*_ALL. mesa: Introduce enabled bitfield helper functions. mesa: Clean up gl_array_object::_MaxElement computation. src/mesa/main/arrayobj.c | 41 +++++++++++------ src/mesa/main/arrayobj.h | 38 +++++++++++++++ src/mesa/main/mtypes.h | 14 ++++-- src/mesa/main/state.c | 116 +-------------------------------------------- 4 files changed, 77 insertions(+), 132 deletions(-) -- 1.7.4.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev