[Mesa-dev] [PATCH 0/8] Clean up fixed function vertex shader key
Mathias.Froehlich at gmx.net
Mathias.Froehlich at gmx.net
Sat Jan 27 19:09:40 UTC 2018
From: Mathias Fröhlich <Mathias.Froehlich at 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
More information about the mesa-dev
mailing list