Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(776)

Unified Diff: include/gpu/vk/GrVkTypes.h

Issue 1943933002: Apply setImageLayout() to all of a VkImage's subresources. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/gpu/vk/GrVkGpu.cpp » ('j') | src/gpu/vk/GrVkImage.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/vk/GrVkTypes.h
diff --git a/include/gpu/vk/GrVkTypes.h b/include/gpu/vk/GrVkTypes.h
index ac33bf8dad3400a7c7bc845e3692c3fce846c7af..2e6a2556303c19fafe4a4e803dea9f6ba832f055 100755
--- a/include/gpu/vk/GrVkTypes.h
+++ b/include/gpu/vk/GrVkTypes.h
@@ -36,6 +36,7 @@ struct GrVkTextureInfo {
VkImageTiling fImageTiling;
VkImageLayout fImageLayout;
VkFormat fFormat;
+ uint32_t fLevelCount;
};
GR_STATIC_ASSERT(sizeof(GrBackendObject) >= sizeof(const GrVkTextureInfo*));
« no previous file with comments | « no previous file | src/gpu/vk/GrVkGpu.cpp » ('j') | src/gpu/vk/GrVkImage.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698