[Mesa-dev] [PATCH] anv/copy: Account for the anv_surface.offset when creating a blit2d_surf

Nanley Chery nanleychery at gmail.com
Fri Jun 3 23:32:49 UTC 2016


On Thu, Jun 02, 2016 at 05:05:09PM -0700, Nanley Chery wrote:
> On Thu, Jun 02, 2016 at 04:27:26PM -0700, Jason Ekstrand wrote:
> > This was causing problems if the user tried to copy to/from the stencil
> > portion of a combined depth/stencil image.
> > 
> > Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
> > Cc: Nanley Chery <nanleychery at gmail.com>
> > ---
> >  src/intel/vulkan/anv_meta_copy.c | 34 +++++++++++++++++-----------------
> >  1 file changed, 17 insertions(+), 17 deletions(-)
> > 
> 
> Thanks for fixing this bug. I have a patch that needed this change in
> order to fix the case in which a user attempts to copy both depth and
> stencil aspects between images.
> 

For future reference, the commit is on my branch located here:
https://cgit.freedesktop.org/~nchery/mesa/commit/?h=2-fast_blit2d&id=7df0f49363396ee586bd3bee9200975c5095a8c8

I didn't send it out for review because I haven't seen any failing test
cases and wasn't sure if the bug was real or not.

- Nanley

[snip]


More information about the mesa-dev mailing list