aboutsummaryrefslogtreecommitdiff
path: root/demos/cube.cpp
diff options
context:
space:
mode:
authorTony Barbour <tony@LunarG.com>2016-11-21 12:56:25 -0700
committerTony Barbour <tony@LunarG.com>2016-11-21 13:19:11 -0700
commita860ce1c395a1a12d93349bf1c8ca79ba21b877c (patch)
tree32bf1b8a0d7168357158675f8698ad56929f633b /demos/cube.cpp
parent4f265eaa4fabcac9a3216f8af2fb2cc9c4f5861a (diff)
downloadusermoji-a860ce1c395a1a12d93349bf1c8ca79ba21b877c.tar.xz
demos: Set attachment description flag bits in cube
Fixes a cubepp crash running on AMD Change-Id: Ie8ef8625a2e8a8a416bcbfe4a62871fef5e07f71
Diffstat (limited to 'demos/cube.cpp')
-rw-r--r--demos/cube.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/demos/cube.cpp b/demos/cube.cpp
index 22faccd8..d692a417 100644
--- a/demos/cube.cpp
+++ b/demos/cube.cpp
@@ -1757,7 +1757,6 @@ struct Demo {
// the renderpass, no barriers are necessary.
const vk::AttachmentDescription attachments[2] = {
vk::AttachmentDescription()
- .setFlags(vk::AttachmentDescriptionFlagBits::eMayAlias)
.setFormat(format)
.setSamples(vk::SampleCountFlagBits::e1)
.setLoadOp(vk::AttachmentLoadOp::eClear)
@@ -1767,7 +1766,6 @@ struct Demo {
.setInitialLayout(vk::ImageLayout::eUndefined)
.setFinalLayout(vk::ImageLayout::ePresentSrcKHR),
vk::AttachmentDescription()
- .setFlags(vk::AttachmentDescriptionFlagBits::eMayAlias)
.setFormat(depth.format)
.setSamples(vk::SampleCountFlagBits::e1)
.setLoadOp(vk::AttachmentLoadOp::eClear)