Skip to content
Snippets Groups Projects
Commit 65cc30d7 authored by Dave Airlie's avatar Dave Airlie Committed by Emil Velikov
Browse files

st/readpixels: fix accel path for skipimages.


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.

Cc: "11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarIago Toral Quiroga <itoral@igalia.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit 6a3e1fb9)
parent 71fa292d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment