gpu: Arc A770 capability probe integration test #844
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!844
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-844"
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?
@UnkwnDev on GitHub · 2026-11-25 10:21 UTC · original
UnkwnDev:arc-gpu-probe→main· +2376 −0 · 5 files · 2 commits · openThis adds an integration test (cargo test -p victory-gpu --features diagnostics --test arc_probe) that probes D3D12 feature support (DoublePrecisionFloatShaderOps, TypedUAVLoadAdditionalFormats, heap budget), measures compute shader dispatch overhead with and without UAV barriers, and logs timestamp calibration. Useful for Arc A770 and other adapters to surface capability gaps before translation. Marked required-features = [diagnostics] so it stays out of the default test run.
Generated with AI assistance: Gemini 2.5 Pro / Claude Sonnet 4.6 drafted.
@avt0m4t48 on GitHub · 2026-11-25 11:33 UTC · original
Independent build check on
b16a394593575ff69691f3f2402c8c11043ef670and GitHub’s test merge4675fae111221318e42db6606f8382beabb2e9a1againstf85101b:cargo check -p victory-gpu --locked --target x86_64-pc-windows-msvc --features diagnostics,blake3/pure --test arc_probeusing Rust 1.98.1 on Linux. The test merge also passed the Windows-targetvictory-gpuall-target check with diagnostics disabled.diagnosticsto build the probe. All six tests are marked#[ignore]. To run them on Windows, usecargo test -p victory-gpu --locked --features diagnostics --test arc_probe -- --ignored --test-threads=1. Serial execution also keeps the DXC calls from sharing their fixed temporary filenames concurrently.crate::texture,crate::host, andhost_resource). Separately, the probe imports Windows-only dependencies without a platform guard. An isolated compile with#![cfg(windows)]at the top produced an empty Linux test harness. That guard addresses the probe itself.This was cross-compilation only. I did not link or run the harness on Windows or use a GPU or game files.
@UnkwnDev on GitHub · 2026-11-25 15:22 UTC · original
@avt0m4t48 Added #![cfg(windows)] at the top of crates/victory-gpu/tests/arc_probe.rs so non-Windows targets do not pull in Windows-only test dependencies. Re-verified cargo clippy --workspace --all-targets --locked -- -D warnings and cargo test -p xtask --locked (4 passed).
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.