anv/meta: Add function to create anv_meta_blit2d_surf from anv_image
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 2 Mar 2016 07:15:35 +0000 (23:15 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 3 Mar 2016 19:25:10 +0000 (11:25 -0800)
commit61ad78d0d1ffafc89cdc9da9d5ae710be36e3089
tree16a660843bc0cf70b2f1a65d2d405e7006f8c51d
parent2e9b08b9b89c0cf10cc7ca73fd39380766943283
anv/meta: Add function to create anv_meta_blit2d_surf from anv_image

v2: Keep pitch in units of bytes (Jason)

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