cores: VICTORY_HELPER_PRIORITY is no longer also the helpers' on/off switch #2301
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2301
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2301"
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?
@ACSchafer on GitHub · 2026-11-29 11:35 UTC · original
ACSchafer:pr/helpers-raised-switch→main· +33 −7 · 2 files · 1 commits · merged 2026-11-30 14:12 UTCFixes the inconsistency listed in
docs/unified-memory-audit.md("VICTORY_HELPER_PRIORITYread both as on/off and as a number from -2 to 2").What it changes
VICTORY_HELPER_PRIORITYwas read two ways incores.rs.helper_priority()reads it as a thread priority from -2 to 2.helpers_raised()reads it astoggled!(on unless0). Any number but0turned the raising on, soPriority::keepput a helper given-1or2back to above normal before every piece of work.VICTORY_HELPERS_RAISED. It is on unless0, andVICTORY_ABcan flip it as before.VICTORY_HELPER_PRIORITYis now the priority raised helpers run at, in place of above normal (raised_priority).VICTORY_HELPER_PRIORITY=1: above normalVICTORY_HELPER_PRIORITY=0: normallist_priority_for)VICTORY_ABlist that namedVICTORY_HELPER_PRIORITYto flip the raising now namesVICTORY_HELPERS_RAISED.How it was tested
VICTORY_HELPER_PRIORITY=-1or2gave helpers above normalcargo testpassed for the crates it touches: yes.cargo test -p victory-gpu --lib cores::, including the newa_helper_priority_number_is_not_put_back_to_above_normal.cargo clippy -p victory-gpu --all-targets, with and without--all-features, reports nothing incores.rs. (-D warningsstops earlier, invictory-shaderandvictory-loader, the same as CI onmain@829188e9.)Checked for overlap
@copilot-pull-request-reviewer[bot] on GitHub · 2026-11-29 11:35 UTC · original · reviewed
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.