Trace loose pipeline shader metadata and first use #1681
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1681
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1681"
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?
@Ondra97 on GitHub · 2026-11-28 23:25 UTC · original
Ondra97:codex/loose-pipeline-trace→main· +434 −5 · 3 files · 5 commits · merged 2026-11-29 08:16 UTCRelated to #587.
What it changes
Add opt-in, bounded diagnostics for loose pipeline requests at 0x1c8 and 0x218 and for the container-backed creation and first-bind paths. Compare declared shader metadata IDs with the digest in the container's DXBC HASH chunk. The graphics trace covers the observed VS/PS prefix. A same-root match gives evidence about the shader stages in a later pipeline. Full state equivalence and stages outside the observed prefix remain unverified.
Enable with VICTORY_LOOSE_PSO_TRACE=1. VICTORY_LOOSE_PSO_TRACE_LIMIT caps the number of recorded events per method. Records contain metadata IDs, sizes, and process-local root and pipeline correlation data. The trace leaves HRESULTs and pipeline selection unchanged. The metadata probe avoids reading shader bodies for hashing or dumping them to the log.
How it was tested
Checked for overlap
Trace native program identities for loose pipeline requeststo Trace loose pipeline shader metadata and first usef9dfb76f28' into codex/loose-pipeline-metadata-provenance 2b802154d8