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