mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:15:51 +01:00
[PR #1909] d3d12: compute pipelines carry their shader's name through VK_EXT_debug_utils (RT-NAME-COMPUTE-PIPELINES) #1916
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1916
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1909
Author: @HasiKe
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:rt-name-compute-pipelines📝 Commits (1)
22cc6a9RT-NAME-COMPUTE-PIPELINES: name compute pipelines through VK_EXT_debug_utils📊 Changes
1 file changed (+15 additions, -0 deletions)
View changed files
📝
runtime/shims/d3d12_vulkan_device.cpp(+15 -0)📄 Description
Item: RT-NAME-COMPUTE-PIPELINES (claimed in https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7166956386)
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_computenames each computeVkPipelineafter its shader (library/lib_cs_NNNNN,..._Wrapped) throughvkSetDebugUtilsObjectNameEXT. Without the extensionset_object_namestays null and nothing changes.Why
On a device loss,
VK_LAYER_LUNARG_crash_diagnosticprints 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 readshandle: 0x...[library/lib_cs_01144]directly. RenderDoc shows the same names.Tested
main71a769d7dplus this change, retail run withLEONIDA_TITLE_WINDOWS_MB=4096 LEONIDA_ARENA_MB=4096 LEONIDA_TITLE_WATCHDOG=0and the crash-diagnostic layer: the device-loss dump names the dispatch in flight aslibrary/lib_cs_01144(128x64x1 groups), the "crash B" that #1849 is about.gta6rtbuilds (RelWithDebInfo, MSVC). No new test: the call has no result to check beyond the layer's dump.AI-assisted (Claude Code). No game data.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.