gpu: VICTORY_D3D12_WARP=0 opts out of the software adapter #695
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!695
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-695"
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?
@arthercz on GitHub · 2026-11-24 06:59 UTC · original
arthercz:warp-env-fix→main· +1832 −652 · 37 files · 3 commits · openCloses #610.
The diagnostics gate checked only the variable's presence, so
VICTORY_D3D12_WARP=0still created the device on WARP; the workaround was to remove the variable entirely.This treats
0like unset, keeps the documented1and presence-means-on for other values, and keeps the diagnostics feature gate. The predicate moves intowarp_selected/warp_selected_at, covered by a table test (unset,0,1, empty); README documents the opt-out.Verified:
cargo test -p victory-gpu --features diagnostics --locked warp_passes (both the new gate test and the existing adapter test);cargo test --workspace265 passed;cargo clippy --workspace --all-featuresclean.@Marvisak on GitHub · 2026-11-25 00:36 UTC · original
Automated triage for the maintainers.
Needs rebase. This PR does not merge cleanly into current
main(ac2525d). Conflicting files:README.md,crates/victory-gpu/src/capture.rs,crates/victory-gpu/src/descriptor/host.rs,crates/victory-gpu/src/draw.rs,crates/victory-gpu/src/host.rs,crates/victory-gpu/src/list.rs,crates/victory-gpu/src/pipeline/library.rs,crates/victory-gpu/src/pipeline/make.rsand 6 more.The content has not been reviewed yet; it will be once the branch is rebased onto
main.Generated by Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.