a0b08e2858
functions Removes the duplicated code and start using the new common code. v2: split anv/radv parts to separate commits Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (v1) Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (v1) Signed-off-by: Igor Torrente <igor.torrente@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18281>