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

Unified Diff: src/gpu/vk/GrVkCaps.cpp

Issue 1920163004: Remove AttachmentInfo from VulkanViewer setup (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Restore check 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 | tools/vulkan/VulkanTestContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/vk/GrVkCaps.cpp
diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp
index b0f3acffb403165fdef79425cb83d1908003c8b4..89b618cd67cc7f70c8e1c859a064988115559d82 100644
--- a/src/gpu/vk/GrVkCaps.cpp
+++ b/src/gpu/vk/GrVkCaps.cpp
@@ -189,7 +189,7 @@ bool stencil_format_supported(const GrVkInterface* interface,
void GrVkCaps::initStencilFormat(const GrVkInterface* interface, VkPhysicalDevice physDev) {
// List of legal stencil formats (though perhaps not supported on
// the particular gpu/driver) from most preferred to least. We are guaranteed to have either
- // VK_FORMAT_D24_UNORM_S8_UINT or VK_FORMAT_D24_SFLOAT_S8_UINT. VK_FORMAT_D32_SFLOAT_S8_UINT
+ // VK_FORMAT_D24_UNORM_S8_UINT or VK_FORMAT_D32_SFLOAT_S8_UINT. VK_FORMAT_D32_SFLOAT_S8_UINT
// can optionally have 24 unused bits at the end so we assume the total bits is 64.
static const StencilFormat
// internal Format stencil bits total bits packed?
« no previous file with comments | « no previous file | tools/vulkan/VulkanTestContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698