From 58a8d9214a70e0f6c81c88a8b0b563c06bf0f70e Mon Sep 17 00:00:00 2001 From: egdaniel Date: Thu, 21 Apr 2016 08:03:10 -0700 Subject: Update min Vulkan version to 1.0.8.0, and fix various bugs With updating the SDK, the debug layers also showed multiple bugs. I have fixed those as well in this CL. These include: 1. Incorrectly tracking the allocated descriptor sets from the descriptor pools 2. Using MemoryBarriers inside render passes. 3. Correctly setting the Stencil Image layout anytime we are using a render pass with a stencil attachment 4. Setting the correct aspect mask for Depth/Stencil in a barrier. TBR=bsalomon@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1906623002 Review URL: https://codereview.chromium.org/1906623002 --- include/gpu/vk/GrVkTypes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/gpu/vk/GrVkTypes.h') diff --git a/include/gpu/vk/GrVkTypes.h b/include/gpu/vk/GrVkTypes.h index 833f6d30df..ac33bf8dad 100755 --- a/include/gpu/vk/GrVkTypes.h +++ b/include/gpu/vk/GrVkTypes.h @@ -35,6 +35,7 @@ struct GrVkTextureInfo { VkDeviceMemory fAlloc; // this may be null iff the texture is an RT and uses borrow semantics VkImageTiling fImageTiling; VkImageLayout fImageLayout; + VkFormat fFormat; }; GR_STATIC_ASSERT(sizeof(GrBackendObject) >= sizeof(const GrVkTextureInfo*)); -- cgit v1.2.3