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