This reverts commit 40b87cde2a. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26835>
40b87cde2a