This reverts commit 601b826a5e. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26905>
601b826a5e