From 486b6c49ecda899a845ae2f5dce33af0677b3681 Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Wed, 16 Oct 2024 11:07:06 +0200 Subject: [PATCH] vkd3d: Add breadcrumb tokens for workgraphs. Signed-off-by: Hans-Kristian Arntzen --- libs/vkd3d/breadcrumbs.c | 4 ++++ libs/vkd3d/vkd3d_private.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/libs/vkd3d/breadcrumbs.c b/libs/vkd3d/breadcrumbs.c index bd9745d696..fc8687da57 100644 --- a/libs/vkd3d/breadcrumbs.c +++ b/libs/vkd3d/breadcrumbs.c @@ -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 "?"; diff --git a/libs/vkd3d/vkd3d_private.h b/libs/vkd3d/vkd3d_private.h index c8e951a26f..df64878caa 100644 --- a/libs/vkd3d/vkd3d_private.h +++ b/libs/vkd3d/vkd3d_private.h @@ -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)