mesa: only update fixed-func programs on texture matrix enablement changes
authorMarek Olšák <marek.olsak@amd.com>
Wed, 3 Feb 2021 18:03:24 +0000 (13:03 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Feb 2021 23:38:02 +0000 (23:38 +0000)
commitec978e002f59c8ed829e354f8ca8d9440df487f1
treeb8c6396e682d1e12eb359ee04e7b6b70250f6d5b
parent10c75ae41c4e914a0160f9d93bbe1e65b5e14517
mesa: only update fixed-func programs on texture matrix enablement changes

This should reduce fixed-func program key recomputations.

I also update the fixed-func fragment program, which was incorrectly
ignored because it's clearly used there.

Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8850>
src/mesa/main/state.c
src/mesa/main/texstate.c
src/mesa/main/texstate.h