From 58f720cde35420b79008ef3df1a48213b681fddf Mon Sep 17 00:00:00 2001 From: ziga-lunarg Date: Fri, 8 Nov 2024 18:27:14 +0100 Subject: [PATCH] sync2: Fix sync2 stage mask --- layers/synchronization2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/synchronization2.cpp b/layers/synchronization2.cpp index 01b3d8e3..d29517f6 100644 --- a/layers/synchronization2.cpp +++ b/layers/synchronization2.cpp @@ -497,7 +497,7 @@ static VkPipelineStageFlags ConvertPipelineStageMask(VkPipelineStageFlags2KHR st } if (stage_mask & VK_PIPELINE_STAGE_2_PRE_RASTERIZATION_SHADERS_BIT_KHR) { - result_stage_mask = VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; + result_stage_mask |= VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; if (features.tessellation) { result_stage_mask |= VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT | VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT;