Re: [Mesa-dev] [PATCH 1/3] st/readpixels: fix accel path for skipimages.

2015-09-01 Thread Iago Toral
Reviewed-by: Iago Toral Quiroga On Tue, 2015-09-01 at 16:41 +1000, Dave Airlie wrote: > From: Dave Airlie > > We don't need to use the 3d image address here as that will > include SKIP_IMAGES, and we are only blitting a single > 2D anyways, so just use the 2D path. > > This fixes some memory o

[Mesa-dev] [PATCH 1/3] st/readpixels: fix accel path for skipimages.

2015-08-31 Thread Dave Airlie
From: Dave Airlie We don't need to use the 3d image address here as that will include SKIP_IMAGES, and we are only blitting a single 2D anyways, so just use the 2D path. This fixes some memory overruns under CTS packed_pixels.packed_pixels_pixelstore when PACK_SKIP_IMAGES is used. Signed-off-b