This reverts commit 9632c9b280. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36253>
9632c9b280