GPU: zero graphics/mesh PSO padding bytes and deduplicate pipeline library stores #1041
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1041"
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 Marvisak/VIctory. Originally posted by gabrielcruzg3 on 2026-11-24T15:15:25Z.
Addresses #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
Imported from Marvisak/VIctory. Originally posted by Zipettte on 2026-11-24T16:30:25Z.
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).
Imported from Marvisak/VIctory. Originally posted by Bullet18x on 2026-11-24T19:49:34Z.
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.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:30:50Z.
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