Skip to content

Commit

Permalink
vkd3d: Add breadcrumb checkpoint after pre-barriers.
Browse files Browse the repository at this point in the history
Signed-off-by: Hans-Kristian Arntzen <[email protected]>
  • Loading branch information
HansKristian-Work committed Jan 9, 2025
1 parent f10f3b0 commit a8f2e62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/vkd3d/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -7348,6 +7348,7 @@ static void d3d12_command_list_check_pre_compute_barrier(struct d3d12_command_li

VK_CALL(vkCmdPipelineBarrier2(list->cmd.vk_command_buffer, &dep_info));
VKD3D_BREADCRUMB_TAG("ForcePreBarrier");
VKD3D_BREADCRUMB_COMMAND(BARRIER);

list->current_compute_meta_flags &= ~(VKD3D_SHADER_META_FLAG_FORCE_GRAPHICS_BEFORE_DISPATCH |
VKD3D_SHADER_META_FLAG_FORCE_PRE_RASTERIZATION_BEFORE_DISPATCH |
Expand Down Expand Up @@ -7388,6 +7389,7 @@ static void d3d12_command_list_check_compute_barrier(struct d3d12_command_list *

VK_CALL(vkCmdPipelineBarrier2(list->cmd.vk_command_buffer, &dep_info));
VKD3D_BREADCRUMB_TAG("ForceBarrier");
VKD3D_BREADCRUMB_COMMAND(BARRIER);
}
}

Expand Down

0 comments on commit a8f2e62

Please sign in to comment.