Skip to content

Commit 21204e4

Browse files
Merge pull request SaschaWillems#1223 from wenqingli/master
Update the old layout of swapchain images
2 parents 27de168 + 214a450 commit 21204e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/dynamicrenderingmultisampling/dynamicrenderingmultisampling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ class VulkanExample : public VulkanExampleBase
261261
swapChain.images[i],
262262
VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT,
263263
0,
264-
VK_IMAGE_LAYOUT_UNDEFINED,
264+
VK_IMAGE_LAYOUT_GENERAL,
265265
VK_IMAGE_LAYOUT_PRESENT_SRC_KHR,
266266
VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT,
267267
VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,

0 commit comments

Comments
 (0)