From: Mathias Fröhlich <mathias.froehl...@gmx.net> Hi all,
The following series applies some optimizations to fixed function vertex shader hash key generation. Most is targeted to get a smaller hash key to get a smaller cache footprint and a shorter final key to compare. Two of the changes avoid possible different shader hash keys if they do not result in a different final shader. The series introduced no regressions in a piglit run on i965 and radeonsi. Please review best Mathias Mathias Fröhlich (8): mesa: Get the point size array state from varying_vp_inputs. mesa: Move seperate_specular into the lighting section. mesa: Encode fog modes in a 2 bit field. mesa: texgen_enabled is only 1 bit. mesa: Remove unused bit in ffvertex_prog state_key. mesa: Remove unused ffvertex_prog texunit_really_enabled. mesa: Reduce ffvertex_prog state_key to 36 bytes. mesa: Care for differences in fog mode only if fog is consumed. src/mesa/main/ffvertex_prog.c | 128 +++++++++++++++++++----------------------- 1 file changed, 58 insertions(+), 70 deletions(-) -- 2.14.3 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev