On 4 September 2018 at 09:50, Gert Wollny <gert.wol...@collabora.com> wrote: > The resource bo array must already be extended when the target index is > equal to the current size of the array. In addition, avoid a memory leak > when reallocation fails. > > Signed-off-by: Gert Wollny <gert.wol...@collabora.com> > --- > The patch doesn't address that the hash overflows at this point, so that > values > in the lookup table may be overwritten and resources search falls back to a > linear search. > A step in the right direction, nevertheless.
Fixes: 4b15b5e803e ("virgl: resize resource bo allocation if we need to.") Reviewed-by: Emil Velikov <emil.veli...@collabora.com> -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev