Diagnostics: identify translated shaders in PIX GPU captures #2561
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#2561
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?
@mokkamokacaffe on GitHub · 2026-11-25 23:01 UTC · original
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.