This reverts commit 084add9959. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37219>
084add9959