Skip to content

Commit 619315e

Browse files
fix syncval issues with out swapchain wrapper KhronosGroup/Vulkan-ValidationLayers#12066
1 parent 0b6f269 commit 619315e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/nbl/video/CVulkanSwapchain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ auto CVulkanSwapchain::acquireNextImage_impl(const SAcquireInfo& info, uint32_t*
253253
.pNext = nullptr,
254254
.semaphore = m_acquireAdaptorSemaphores[getAcquireCount()%getMaxAcquiresInFlight()],
255255
.value = 0, // value is ignored because the adaptors are binary
256-
.stageMask = VK_PIPELINE_STAGE_2_NONE,
256+
.stageMask = VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT, // https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/12066
257257
.deviceIndex = 0u // TODO: later obtain device index from swapchain
258258
};
259259

0 commit comments

Comments
 (0)