aboutsummaryrefslogtreecommitdiff
path: root/demos/cube.c
diff options
context:
space:
mode:
authorIan Elliott <ianelliott@google.com>2015-12-28 15:25:33 -0700
committerJon Ashburn <jon@lunarg.com>2016-01-06 12:23:09 -0700
commit86f29a8f60f2d25e5de82e7974b6992bb5c7d791 (patch)
tree08b0118c5eb0fc30d41dcc1798ff4c3c3df34145 /demos/cube.c
parent0821ecc1ae32397a30c4896040deaac951e5d4e5 (diff)
downloadusermoji-86f29a8f60f2d25e5de82e7974b6992bb5c7d791.tar.xz
tri/cube: : Support the new VkCompositeAlphaFlagBitsKHR.
Diffstat (limited to 'demos/cube.c')
-rw-r--r--demos/cube.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/cube.c b/demos/cube.c
index adca2c14..332cd808 100644
--- a/demos/cube.c
+++ b/demos/cube.c
@@ -838,6 +838,7 @@ static void demo_prepare_buffers(struct demo *demo)
},
.imageUsage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT,
.preTransform = preTransform,
+ .compositeAlpha = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR,
.imageArrayLayers = 1,
.imageSharingMode = VK_SHARING_MODE_EXCLUSIVE,
.queueFamilyIndexCount = 0,