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