From f7952bf6f589f9ee58eedceb955452b6d4ce2b4b Mon Sep 17 00:00:00 2001 From: nek0 Date: Wed, 28 Dec 2022 04:31:18 +0100 Subject: [PATCH] clear out errors --- src/GraphicsPipeline.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GraphicsPipeline.hs b/src/GraphicsPipeline.hs index 7b56129..13cbbeb 100644 --- a/src/GraphicsPipeline.hs +++ b/src/GraphicsPipeline.hs @@ -106,7 +106,7 @@ createRenderPass , Vk.dstSubpass = 0 , Vk.srcStageMask = Vk.PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT , Vk.dstStageMask = Vk.PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT - , Vk.srcAccessMask = bit 0 + , Vk.srcAccessMask = Vk.ACCESS_MEMORY_READ_BIT , Vk.dstAccessMask = Vk.ACCESS_COLOR_ATTACHMENT_WRITE_BIT } subpassDepthDependency = Vk.zero @@ -114,7 +114,7 @@ createRenderPass , Vk.dstSubpass = 0 , Vk.srcStageMask = Vk.PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT .|. Vk.PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT - , Vk.srcAccessMask = bit 0 + , Vk.srcAccessMask = Vk.ACCESS_MEMORY_READ_BIT , Vk.dstStageMask = Vk.PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT .|. Vk.PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT , Vk.dstAccessMask = Vk.ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT