mesa: remove derived _EffEnabled* fields and compute them at their only use
authorMarek Olšák <marek.olsak@amd.com>
Fri, 18 Nov 2022 23:18:33 +0000 (18:18 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 12 Dec 2022 19:15:34 +0000 (19:15 +0000)
commitd5187dbc077281c60405f5090f88dd0d315ee4e4
tree30403d1660d42a8e01cfbf33bc636fd0d5ed66e6
parent888463b17344e1449f2fc5923a3331c43646f987
mesa: remove derived _EffEnabled* fields and compute them at their only use

We were passing the fields to their only use and used them only once,
so let's just compute them there.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19953>
src/mesa/main/arrayobj.c
src/mesa/main/arrayobj.h
src/mesa/main/attrib.c
src/mesa/main/mtypes.h