Skip to content

Commit

Permalink
sync2: Fix sync2 stage mask
Browse files Browse the repository at this point in the history
  • Loading branch information
ziga-lunarg committed Nov 8, 2024
1 parent dc6fd2c commit 58f720c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/synchronization2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 58f720c

Please sign in to comment.