Repository navigation
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_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
main71a769d plus 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 d3d12: changed console heap slots are fixed without a time limit by default, not given to shaders as null (RT-CONSOLE-FIX-BUDGET-NULL) #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