GPU: answer format-info and virtual-address feature queries #278
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!278
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-278"
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 02:00 UTC · original
Quat3rnion:victory-feature-queries→main· +55 −0 · 1 files · 1 commits · openWhat
CheckFeatureSupportreturnedE_NOTIMPLfor D3D12 feature IDs 5 and 6.This answers them with the same size and null validation as the features
already handled:
FORMAT_INFOreports one plane for ordinary formats and two for thedepth/stencil families (including typeless and read-only views).
GPU_VIRTUAL_ADDRESS_SUPPORTreports the 40 resource bits alreadypublished in OPTIONS and 48 bits for the process, since GPU addresses
are CPU addresses here.
Both are small interfaces with a clear error path, as the plan notes.
An AI tool wrote part of this change.
Tested
cargo test --workspacewith PR #112's Linux build fix applied locally (not part of this PR): 166 passed, 0 failed, 3 ignored. Two new tests cover plane counts, address widths and the invalid-size path.cargo check --target x86_64-pc-windows-gnu --workspace --testspasses. Windows-only tests were not run; there is no Windows host here.cargo xtask policypasses (150 files ok). No game files or data from them were added.Checklist
cargo fmton the changed hunks; workspace tests and Windows cross-check pass.cargo xtask policypasses. No game files or data from them were added.@jeremygold02 on GitHub · 2026-11-24 04:12 UTC · original · edited 2026-11-24 04:14 UTC
Tested PR #278 at head
c90d3c05ab98b9d859863f404fa8293f08450821(state at test time: OPEN). Pre-comment refresh: state OPEN, head unchanged atc90d3c05ab98b9d859863f404fa8293f08450821.cargo test --locked -p victory-gpu format_info_reports_the_planes_of_depth_formats— passed (ok. 1 passed; 0 failed; 0 ignored; 0 measured; 40 filtered out; finished in 0.00s ); cases: device::tests::format_info_reports_the_planes_of_depth_formats.cargo test --locked -p victory-gpu virtual_address_support_matches_the_reported_address_space— passed (ok. 1 passed; 0 failed; 0 ignored; 0 measured; 40 filtered out; finished in 0.00s ); cases: device::tests::virtual_address_support_matches_the_reported_address_space.Behavior covered: Checks depth-format plane counts and that virtual-address support matches the reported address space.
Code: crates/victory-gpu/src/device.rs
@Marvisak on GitHub · 2026-11-25 00:25 UTC · original
Automated triage for the maintainers.
Needs rebase. This PR does not merge cleanly into current
main(ac2525d). Conflicting files:crates/victory-gpu/src/device.rs.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.