Repository navigation
GPU: add check_feature_support unit tests for features 0, 1, 3, 4 (fixes #869) - #976
pushkarreddyy wants to merge 1 commit into
Conversation
|
Ran the new Environment: Windows 11 Pro build 26200 x64, Intel Core i5-12400F, 64 GB RAM, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only) driver 32.0.16.2124, Rust 1.98.1 (pinned by The four new tests ( Not tested: a real title querying these features (no game data here), RDNA2/RDNA4 and Intel GPUs. AI-assisted (OpenCode), model: DeepSeek V4.1 Flash 1017 - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; no game data was used. |
|
Automated triage for the maintainers. Closing because another open pull request covers the same change. See #958. Same tests for #869 as #958, plus one asserting the FORMAT_SUPPORT placeholder main calls a shortcut. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution. |
Summary
Adds comprehensive unit test coverage for
check_feature_supportfeatures 0, 1, 3, and 4, resolving #869.Changes
crates/victory-gpu/src/device.rs:feature_options_reports_rdna2_caps(validates 16-word payload and size bounds).feature_architecture_is_unified_cache_coherent(validates node 0 unified architecture and size bounds).feature_format_support_advertises_capabilities(validates format support mask words and size guards).feature_multisample_counts_quality_levels(validates quality levels for supported/unsupported sample counts and E_NOTIMPL).Verification
cargo test -p victory-gpu.