This reverts commit 6cde457ab6. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29648>
6cde457ab6