6d0aceae4d
this simplifies implementations since a lot of the code is going to be copy/pasted around, enabling related tweaks to be made in a centralized place Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11496>