f6c8ca06 changed this code to only set color materials mask when the VERT_BIT_COLOR0 bit is set instead of when color material is enabled. But this meant we always skipped over the STATE_CURRENT_ATTRIB values. Fixes: f6c8ca06f6 ("mesa: fix material inputs in ffvertex_prog.c") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7122 Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34833>
f6c8ca06
f6c8ca06f6