Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24504>