This reverts commit d22fe48a58. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34402>
d22fe48a58