aboutsummaryrefslogtreecommitdiff
path: root/layers/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layers/image.cpp')
-rw-r--r--layers/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/image.cpp b/layers/image.cpp
index de157897..7fc5f7c8 100644
--- a/layers/image.cpp
+++ b/layers/image.cpp
@@ -250,7 +250,7 @@ bool is_depth_format(VkFormat format)
bool result = VK_FALSE;
switch (format) {
case VK_FORMAT_D16_UNORM:
- case VK_FORMAT_D24_UNORM:
+ case VK_FORMAT_D24_UNORM_X8:
case VK_FORMAT_D32_SFLOAT:
case VK_FORMAT_S8_UINT:
case VK_FORMAT_D16_UNORM_S8_UINT: