This reverts commit 4e8f01b864. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37712>
4e8f01b864