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