aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/vk/GrVkTypes.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2016-04-21 08:03:10 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-21 08:03:10 -0700
commit58a8d9214a70e0f6c81c88a8b0b563c06bf0f70e (patch)
treedbbf36d4bd35f3c57669aacdeffb84b13aee003a /include/gpu/vk/GrVkTypes.h
parent12d62a7d51a1826e221ffd34224d01c9bec49bab (diff)
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
Diffstat (limited to 'include/gpu/vk/GrVkTypes.h')
-rwxr-xr-xinclude/gpu/vk/GrVkTypes.h1
1 files changed, 1 insertions, 0 deletions
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*));