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