anv: blorp: support multiple aspect blits
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 28 Aug 2018 10:16:33 +0000 (11:16 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 29 Aug 2018 09:31:06 +0000 (10:31 +0100)
commit5a1c23d1502d275c4d554c586bf029e66131f4ac
tree679770bed4d8c35196dd2f6b76a27f433b351ede
parenta72dbc461bdb7714656e62cd8f4b00a404c2e6e0
anv: blorp: support multiple aspect blits

Newer blit tests are enabling depth&stencils blits. We currently don't
support it but can do by iterating over the aspects masks (copy some
logic from the CopyImage function).

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 9f44745eca0e41 ("anv: Use blorp to implement VkBlitImage")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_blorp.c