This reverts commit 7c36fc1b74. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38736>
7c36fc1b74