GPU: report pipeline creation and loads after they succeed #2959
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!2959
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2959"
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?
@necrobytes on GitHub · 2026-11-26 01:31 UTC · original
necrobytes:fix/pipeline-log-outcomes→main· +58 −16 · 1 files · 1 commits · openWhen D3D12 cannot create a host pipeline library,
VICTORY_PIPELINE_LOGwritesbuilt … loadedfor a pipeline the driver just created. In a short Proton run, all tenbuiltrecords saidloadedafter VIctory reported that the library was unavailable. A failed create could also leave abuiltrecord and increment the creation count.Record the outcome after a successful load or create. Both creation paths share the same bookkeeping, and a failed request clears the worker’s previous diagnostic record. This matters when using the trace to decide whether a warm run reused a pipeline. It also applies to hosts where an empty library is unavailable independently of #1722.
I verified this on Fedora 45 with an RX 9060 XT, RADV 26.2.7 and Proton Experimental. The regression tests force the missing-library path even on a host that supports pipeline libraries. With the original bookkeeping, the first-create and refused-create tests both failed. With the fix, both passed. In a fresh test process, one failed create moved the cumulative creation count from 0 to 1 on main and left it at 0 with the fix. The existing synthetic
placed_uav_dispatch_writes_its_texturetest passed readback on both versions. Its single fresh compute pipeline changed fromloadedtomadein the trace.Workspace Clippy passed on the Windows GNU target with all targets and warnings denied, both with default features and with all features enabled. The staged asset-policy check passed. An additional native Linux workspace test build stopped in the unchanged shader crate on references to its Windows-only DXIL validator.
Claimed in the coordination thread. AI-assisted with Codex.
@Marvisak on GitHub · 2026-11-26 05:25 UTC · original
Automated triage for the maintainers.
Merge candidate (recommending a look, not approving). On
main,library::pipelineincrates/victory-gpu/src/pipeline/library.rssets the diagnosticsLASTrecord toloadedbefore it knows the outcome. Without a library, it then returnscreate()with that record still sayingloaded, and it bumpsMADEeven when the create fails. With this PR,MADE/LOADEDandLASTare recorded only after a load or create succeeds, and a failed request clearsLAST, somake::log_builtwrites nothing for it. The newpipeline_insplit lets the tests force the no-library path;a_refused_pipeline_has_no_built_recordand the extended load-during-save test check the records the log should show. CIcheckpasses.Generated by Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.