We need to zero out all memory in the struct otherwise memcmp ends up comparing padding bytes. Cc: mesa-stable Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34945>
We need to zero out all memory in the struct otherwise memcmp ends up comparing padding bytes. Cc: mesa-stable Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34945>