This reverts commit 3a2e5c1b77. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27360>
3a2e5c1b77