anv/blit2d: Copy with stencil sources when needed
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 27 Jun 2016 22:24:36 +0000 (15:24 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 15 Jul 2016 17:35:40 +0000 (10:35 -0700)
commite179fee049da7b880dfef6f71d2919f90b3dae4e
treed4ccb1535001dd921bddb7c62b98576eceb9c338
parent1ef80b26d7488c1ac3174d4725d736ae3de9b4fd
anv/blit2d: Copy with stencil sources when needed

In the next patch, ISL will unconditionally perform verification of a
surface's tiling and usage. Since it will require that w-tiled images
be stencil buffers, create a stencil surface to copy from a
w-tiled/stencil surface.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_meta_blit2d.c