GPU: zero graphics/mesh PSO padding bytes and deduplicate pipeline library stores #1041
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!1041
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1041/head"
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?
@gabrielcruzg3 on GitHub · 2026-11-24 15:15 UTC · original
gabrielcruzg3:fix/pipeline-library-padding→main· +169 −32 · 2 files · 1 commits · closed without mergingAddresses #264 (Finding #3): \ID3D12PipelineLibrary\ description mismatches (id=972) caused by uninitialized struct padding bytes, and redundant \StorePipeline\ calls across worker threads (id=970).
Changes
Verification
@Zipettte on GitHub · 2026-11-24 16:30 UTC · original
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
4111946:cargo test -p victory-gpupasses, 44 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).
@Bullet18x on GitHub · 2026-11-24 19:49 UTC · original
RTX 5090 A/B of the pipeline-library debug-layer messages, this PR vs #352 vs
main, details and protocol in my comment on #352.mainffe310e4111946)f77bd28)On this machine the remaining 972 / 970 pairs come from mesh pipelines stored without a topology (#352, #780); zeroing padding lowers the counts but does not remove them. The de-duplication of stores may still be worth keeping on top of #352 (the two conflict in
pipeline/host.rstoday).AI use: Claude Code (Claude Opus 5.5) ran and counted; I checked the results.
@Marvisak on GitHub · 2026-11-25 00:30 UTC · original
Automated triage for the maintainers. Closing because this change is already in
main, ormainhas since replaced the code it patches.If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed