From a860ce1c395a1a12d93349bf1c8ca79ba21b877c Mon Sep 17 00:00:00 2001 From: Tony Barbour Date: Mon, 21 Nov 2016 12:56:25 -0700 Subject: demos: Set attachment description flag bits in cube Fixes a cubepp crash running on AMD Change-Id: Ie8ef8625a2e8a8a416bcbfe4a62871fef5e07f71 --- demos/cube.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'demos/cube.cpp') 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) -- cgit v1.2.3