Skip to content

Commit

Permalink
vkd3d: Add marker region for NV_dgc.
Browse files Browse the repository at this point in the history
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
  • Loading branch information
HansKristian-Work committed Sep 5, 2023
1 parent f17215d commit a5b0291
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/vkd3d/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -11804,7 +11804,11 @@ static void d3d12_command_list_execute_indirect_state_template_dgc(
if (require_patch)
WARN("Template requires patching :(\n");

/* Makes RGP captures easier to read. */
d3d12_command_list_debug_mark_begin_region(list, generated.pipelineBindPoint == VK_PIPELINE_BIND_POINT_GRAPHICS ?
"ExecuteIndirect (graphics)" : "ExecuteIndirect (compute)");
VK_CALL(vkCmdExecuteGeneratedCommandsNV(list->vk_command_buffer, VK_FALSE, &generated));
d3d12_command_list_debug_mark_end_region(list);

/* Need to clear state to zero if it was part of a command signature. */
for (i = 0; i < signature->desc.NumArgumentDescs; i++)
Expand Down

0 comments on commit a5b0291

Please sign in to comment.