CLI: find the pipeline pack in shaderless SGD5 archives #3589
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3589"
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 andrewpozdnakov7-jpg on 2026-11-27T19:30:28Z.
The file filter in
prebuild::runcan discard an SGD5 archive before the shader pack lookup if that archive contains no shader records. Shader containers can be supplied by the other inputs. Probe the recognized archive for the compressed pack before dropping it, keep the extracted bytes, and use them if the existing candidates yield no pack.Windows synthetic fixture: an SGD5 database with zero shader records followed by aligned zlib streams for a pack with 17 compute records. Two valid standalone shader containers provide the programs.
The archive and standalone listings match after sorting. If both fixture layouts are present, the existing standalone candidate wins. The compressed archive without the SGD5 marker remains outside the search. On WARP, normal warmup from the archive created two distinct pipelines and served the other 15 records from the library. On the next run all 17 were already there.
The additional lookup is limited to the existing SGD5 input format. #2787 introduces a separate warmup prefilter, which can also retain recognized SGD5 inputs when the two changes are combined.
All 18 CLI tests, strict CLI Clippy with default and all features, rustfmt, and the asset policy check passed.
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-27T19:34:33Z.
Windows CI passed on
e5eb57a1c599b057dfebb29356ef7434e7df4983. CI jobThe same synthetic archive and separate shader containers produced no listing on the parent and all 17 records on this commit. The 17 rows agree with the standalone-pack control after sorting. Windows WARP warmup created two distinct pipelines on the cold run and found all 17 records in the library on the second run. The normal search still prefers the standalone pack when both fixture layouts are supplied. The next step is maintainer review.
If you cherry-pick or rebase this commit, please retain its Git author. If you fold it into another commit, please include
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>.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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.