[Vulkan] Gracefully fail on copy if a target format is unsupported

This commit is contained in:
DrChat
2018-04-13 21:09:21 -05:00
parent abdc0ff05a
commit 399e1fac2a
3 changed files with 15 additions and 6 deletions

View File

@@ -47,6 +47,7 @@ class TextureCache {
VmaAllocation alloc;
VmaAllocationInfo alloc_info;
VkFramebuffer framebuffer; // Blit target frame buffer.
VkImageUsageFlags usage_flags;
uintptr_t access_watch_handle;
bool pending_invalidation;