anv: resolve depth buffer on ownership release

As specified in following Vulkan spec sections:

   - Queue Family Ownership Transfer
   - External Resource Sharing

This fixes issue seen when attempting to read depth buffer values when
buffer is cleared in Vulkan and shared to GL using GL_EXT_memory_object.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Status Job ID Name Coverage
  Container
manual #2822729
aarch64 manual
arm_build
manual #2822731
aarch64 manual
arm_test
manual #2822732
windows shell 1809 mesa manual
windows_build_vs2019
manual #2822725
manual
x86_build
manual #2822728
manual
x86_build_old
manual #2822730
manual
x86_cross_arm_test
manual #2822726
manual
x86_test-gl
manual #2822727
manual
x86_test-vk
 
  Meson X86 64
created #2822736
meson-clang
created #2822735
meson-classic
created #2822737
meson-clover
created #2822738
meson-clover-old-llvm
created #2822734
meson-gallium
created #2822733
meson-testing
created #2822739
meson-vulkan
 
  Scons
created #2822740
allowed to fail
scons-win64
 
  Meson Misc
created #2822742
aarch64
meson-arm64
created #2822743
aarch64
meson-arm64-build-test
created #2822741
aarch64
meson-armhf
created #2822745
meson-i386
created #2822748
meson-mingw32-x86_64
created #2822747
kvm
meson-ppc64el
created #2822746
kvm
meson-s390x
created #2822744
docker windows 1809 mesa
meson-windows-vs2019