Re: [Mesa-dev] [PATCH] swr: allocate all scratch space in one go for vertex buffers

2016-11-21 Thread Cherniak, Bruce
Reviewed-by: Bruce Cherniak > On Nov 20, 2016, at 4:25 PM, Ilia Mirkin wrote: > > Multiple buffers may reference client arrays. When this happens, we > might reach for scratch space multiple times, which could cause later > arrays to invalidate the pointers allocated for the earlier ones. > >

[Mesa-dev] [PATCH] swr: allocate all scratch space in one go for vertex buffers

2016-11-20 Thread Ilia Mirkin
Multiple buffers may reference client arrays. When this happens, we might reach for scratch space multiple times, which could cause later arrays to invalidate the pointers allocated for the earlier ones. This fixes copyteximage 2D_ARRAY. Signed-off-by: Ilia Mirkin --- It also fixes a bunch of r