Skip to content

Commit

Permalink
vkd3d: Add breadcrumb tokens for workgraphs.
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 Oct 16, 2024
1 parent 6b3f305 commit 486b6c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/vkd3d/breadcrumbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ static const char *vkd3d_breadcrumb_command_type_to_str(enum vkd3d_breadcrumb_co
return "clear_pass";
case VKD3D_BREADCRUMB_COMMAND_DSTORAGE:
return "dstorage";
case VKD3D_BREADCRUMB_COMMAND_WORKGRAPH_META:
return "workgraph meta";
case VKD3D_BREADCRUMB_COMMAND_WORKGRAPH_NODE:
return "workgraph node";

default:
return "?";
Expand Down
2 changes: 2 additions & 0 deletions libs/vkd3d/vkd3d_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -3532,6 +3532,8 @@ enum vkd3d_breadcrumb_command_type
VKD3D_BREADCRUMB_COMMAND_EXECUTE_INDIRECT_PATCH_STATE_COMPUTE,
VKD3D_BREADCRUMB_COMMAND_EXECUTE_INDIRECT_UNROLL_COMPUTE,
VKD3D_BREADCRUMB_COMMAND_DSTORAGE,
VKD3D_BREADCRUMB_COMMAND_WORKGRAPH_META,
VKD3D_BREADCRUMB_COMMAND_WORKGRAPH_NODE
};

#if defined(VKD3D_ENABLE_BREADCRUMBS) || defined(VKD3D_ENABLE_DESCRIPTOR_QA)
Expand Down

0 comments on commit 486b6c4

Please sign in to comment.