anv: Flush caches in anv_image_copy_to_shadow
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 19 Jun 2019 19:14:20 +0000 (14:14 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 19 Jun 2019 22:21:46 +0000 (22:21 +0000)
commit215f9f83f53c5a374c32424378c640ce8181e542
treee0f3ed83ee37436b654777c3ebd95be9dded3163
parent81e51b412e9fc72000868ebe5bbe2417b1f0486d
anv: Flush caches in anv_image_copy_to_shadow

Copies to a shadow image happen during a VkCmdPipelineBarrier or at
subpass transitions.  We could potentially be a bit more conservative
but these transitions shouldn't happen often and it's better to have our
bases covered.

Fixes: f3ea0cf828 "anv: Add stencil texturing support for gen7"
src/intel/vulkan/anv_blorp.c