Index configured shader skip hashes #189
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
old-names
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!189
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-189"
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?
@Pototoooo on GitHub · 2026-11-27 07:30 UTC · original
Pototoooo:perf/index-shader-skip-hashes→main· +38712 −3663 · 177 files · 507 commits · closed without mergingSummary
Index the normalized
VICTORY_SKIP_PIPELINEShashes once in a set. Both the live draw/dispatch path and the warm-pipeline prefilter now use set membership. Hash normalization, validation, and the first matching shader in the pipeline are preserved.This affects the opt-in
VICTORY_SKIP_PIPELINESworkaround. An unset or empty list still returns before looking up shader hashes. The benchmark below measures the CPU lookup in isolation for a large list. A game launch check is documented below. A stable in-game performance comparison and visual validation remain pending.Validation
victory-gpupipeline unit tests with all features: 34 passed, 1 ignored.victory warmunit tests with diagnostics: 9 passed. Coverage includes normalized duplicate hashes, warm recipe matching, and skipping before queueing.Rust 1.98.1 optimized lookup-only benchmark on a Ryzen 5 9600X. With 1,034 distinct 16-character hashes and 250,000 lookups (15,625 hits), the median of seven runs was 388.595 ms for the previous vector and 5.169 ms for the set. Both returned the same result count. This measures lookup overhead with a large configured list and does not measure game frame rate or shader compile time.
Follow-up with the four hashes in
docs/findings-rtx4090.md, using the same isolated benchmark: 2.308 ms for the vector and 3.423 ms for the set. Further runs showed the same direction. A short configured list can be slower with the set.Game launch check
Built the base (
791648b) and PR head (f8dde0d) with the same Windows GNU diagnostics profile and ran each on an RTX 5070 using the same copied save and starting Victory cache, Series S, 1920x1080 scene output, frame generation off, and the four hashes above. Both ran through startup and logged skips for all four hashes during rendering. The recorded intervals still had ongoing pipeline compilation and different draw counts. This run cannot establish a frame-rate change or visual equivalence.@TaynanGT on GitHub · 2026-11-27 07:48 UTC · original
@Pototoooo The local skip-list checks and all nine warm-worker tests passed with this head. The set preserves the first matching shader and normalises duplicate hashes for both callers. I’ll keep the tested commit in view while the PR is in draft.
@TaynanGT on GitHub · 2026-11-30 17:16 UTC · original
mainhas moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the currentmainand open a new PR; I'll review it there.Pull request closed