Skip to content

d3d12: compute pipelines carry their shader's name through VK_EXT_debug_utils (RT-NAME-COMPUTE-PIPELINES) - #1909

Open
HasiKe wants to merge 1 commit into
ProjectLeonida:mainfrom
HasiKe:rt-name-compute-pipelines
Open

HasiKe wants to merge 1 commit into
ProjectLeonida:mainfrom
HasiKe:rt-name-compute-pipelines

Conversation

@HasiKe

@HasiKe HasiKe commented Nov 25, 2026

Copy link
Copy Markdown

Item: RT-NAME-COMPUTE-PIPELINES (claimed in #1608 (comment))

What

When the instance enabled VK_EXT_debug_utils (the title device already turns it on for the debug markers whenever the loader has it), build_compute names each compute VkPipeline after its shader (library/lib_cs_NNNNN, ..._Wrapped) through vkSetDebugUtilsObjectNameEXT. Without the extension set_object_name stays null and nothing changes.

Why

On a device loss, VK_LAYER_LUNARG_crash_diagnostic prints the pipeline of the last started dispatch only as a bare handle, so matching it to a shader took a local handle log and a rebuild. With the name, the dump reads handle: 0x...[library/lib_cs_01144] directly. RenderDoc shows the same names.

Tested

AI-assisted (Claude Code). No game data.

🤖 Generated with Claude Code

…g_utils

When the instance enabled VK_EXT_debug_utils, each compute VkPipeline gets its
shader's name with vkSetDebugUtilsObjectNameEXT. A crash-diagnostic dump or a
RenderDoc capture then names the pipeline of the dispatch that faulted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs rebase Conflicts with the base branch: rebase it on main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant