vulkan: always tear down host visible memory blocks properly

in reverse order of how they were set up.

This is accomplished by introducing a new api, vkFreeMemorySyncGOOGLE,
that waits for the host to be done first before returning to the guest,
so that the gpa range is guaranteed to be torn down by the guest
afterwards not before.

Test: Chrome Fuchsia cc_unittests don't flake
Change-Id: Ica42e6197ba34e87cc9e3c2109f0e03cbb7517d9
3 files changed
tree: 009750b62161e33bd59fa6c7cc3c610be792d3bb
  1. registry/