This reverts commit 065ad0f271. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29524>
065ad0f271