aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-15 17:41:38 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-17 10:05:24 -0600
commit556ee32901f093d5a708f25af428f52ed3cf7800 (patch)
tree7119f85b657cfc86346eb83e6efdf6b0a57115d1
parentfe95fca16869a27cb6ed7fc8efa8e97c153e838d (diff)
downloadusermoji-556ee32901f093d5a708f25af428f52ed3cf7800.tar.xz
cube: set VkAttachmentViewCreateInfo.format
-rw-r--r--demos/cube.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/cube.c b/demos/cube.c
index 7ca3f305..ad49f9d8 100644
--- a/demos/cube.c
+++ b/demos/cube.c
@@ -800,6 +800,7 @@ static void demo_prepare_depth(struct demo *demo)
.sType = VK_STRUCTURE_TYPE_ATTACHMENT_VIEW_CREATE_INFO,
.pNext = NULL,
.image.handle = VK_NULL_HANDLE,
+ .format = depth_format,
.mipLevel = 0,
.baseArraySlice = 0,
.arraySize = 1,