mesa: remove the fixed-func vert prog dependency on all texture states
authorMarek Olšák <marek.olsak@amd.com>
Mon, 1 Feb 2021 21:57:12 +0000 (16:57 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Feb 2021 23:38:02 +0000 (23:38 +0000)
commit8dd4adc1e5df05eb41c0122c1e8ef9cfaa034f2e
tree4ffe834fef48112b6e021e1a553d17154515a5a8
parent06a8f852f71368f2019fa1141ba48cf27fa1a387
mesa: remove the fixed-func vert prog dependency on all texture states

Just flag _NEW_FF_VERT_PROGRAM where needed. There are only a few places
that must do it.

Also do the same with _NEW_FF_FRAG_PROGRAM, but this is not sufficient
for the ff frag prog to ignore texture states.

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/attrib.c
src/mesa/main/enable.c
src/mesa/main/ff_fragment_shader.cpp
src/mesa/main/mtypes.h
src/mesa/main/state.c
src/mesa/main/texgen.c
src/mesa/main/texstate.c
src/mesa/main/texstate.h