Thanks for your bug report. I've opened a merge request to fix this bug: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/946