The memory is freed before trying to reallocate it. If the alloc fails, NumVarying should be updated to 0. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37331>
The memory is freed before trying to reallocate it. If the alloc fails, NumVarying should be updated to 0. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37331>