This reverts commit 686459f115. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31530>
686459f115