Diagnostics: identify translated shaders in PIX GPU captures #2551
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?
Imported from ivall/xcl. Originally posted by mokkamokacaffe on 2026-11-25T23:01:23Z.
Diagnostics: identify translated shaders in PIX GPU captures
Summary
Expose XCL's existing translated-pipeline labels as D3D12 marker text so a PIX GPU capture can identify the console shader hashes bound at each pipeline change.
Part of #1269.
Motivation
With
XCL_DRED=1, XCL already inserts a D3D12 marker after a translated pipeline is bound and keeps the corresponding console shader hashes in a private map. The marker text is currently the generic stringxcl pipeline, so a PIX capture cannot identify the shader from the GPU event stream alone.The existing label has the form
cs HASH,vs HASH ps HASH,ms HASH ps HASH, orvs HASH gs HASH ps HASH. Putting this label in the marker text lets a capture be matched to XCL shader dumps and diagnostic manifests without adding WinPixEventRuntime.Proposed behavior
XCL_PIX=1enables XCL's pipeline-label tracking and marker insertion without forcing DRED collection.xcl vs 0123… ps 4567….XCL_DRED=1retains its existing behavior and receives the more descriptive marker text as well.Success criteria
AI use
OpenAI Codex inspected XCL's DRED pipeline-label path and drafted this proposal.
xcl nvprofileputs xcl.exe in an NVIDIA profile with a bigger shader heap (#2403) #2580xcl nvprofileputs xcl.exe in an NVIDIA profile with a bigger shader heap (#2403) #2580