GPU: treat VICTORY_D3D12_WARP=0 as unset #639
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!639
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/639/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?
@Quat3rnion on GitHub · 2026-11-24 06:04 UTC · original
Quat3rnion:victory-warp-zero→main· +33 −1 · 3 files · 1 commits · closed without mergingWhat
The diagnostics switch used
var_os(...).is_some(), so an explicitVICTORY_D3D12_WARP=0still selected the software adapter; the workaroundwas to delete the variable. The value is now parsed in a host-independent
helper where
0means unset, while1, empty and other values keep theirexisting meaning. Fixes issue #610.
An AI tool wrote part of this change.
Tested
cargo test --workspace: 165 passed, 0 failed, 3 ignored. A new unit test checks unset,0,1, empty and an arbitrary value.cargo check --target x86_64-pc-windows-gnu --workspace --testspasses. No Windows host here, so adapter selection itself was not exercised.cargo xtask policypasses (151 files ok). No game files or data from them were added.Checklist
cargo xtask policypasses. No game files or data from them were added.@Quat3rnion on GitHub · 2026-11-24 06:15 UTC · original
Duplicate of #615, which covers all six VICTORY_* switches rather than WARP alone. Closing in favour of that PR.
Pull request closed