CLI: report the Windows GPU and its D3D12 capabilities #3786
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3786"
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?
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T19:52:59Z.
Add
victory gpu-info [--warp]to collect a Windows adapter report before starting a title. The command prints the adapter kind, D3D feature level, Shader Model through 6.6, resource binding tier, wave lane range and mesh shader support. WARP uses the existing software-adapter check. An unknown Shader Model request is retried at older versions; other HRESULTs are reported. D3D12 capability queries · Shader Model query contractI ran the actual command on Windows. The default adapter reported feature level 11.0 and Shader Model 6.5. System WARP reported feature level 12.1 and Shader Model 6.2 and was identified as software. Both invocations exited successfully, and command help included the WARP option. The fallback/error test, all 18 CLI tests, both strict Clippy configurations and the asset policy passed.
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T20:01:15Z.
Windows CI passed on
09261c1, including both Clippy configurations and the workspace tests. On Windows, the actual CLI queried the default adapter (feature level 11.0, Shader Model 6.5) and system WARP (12.1, 6.2, identified as software). Both invocations returned the capability report. The Shader Model fallback and error propagation test passed locally as well.The next step is maintainer review. Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
Imported from Marvisak/VIctory. Originally posted by ColorMeBoom on 2026-11-28T23:21:27Z.
Hardware run of
victory gpu-infoat09261c1, release build, on an RX 5700 XT (Navi 10, RDNA1, driver 32.0.21045.29003), Windows 11 26200:--warpon the same machine:Both exit 0. The hardware lines match what the shader tests see on this card: 32–64-lane waves, and no mesh shaders on RDNA1, which is also what the game's
host mesh shader supportlog line says.shader_model_retries_only_versions_the_runtime_does_not_knowpasses.AI use: Claude Code (Claude Opus 5.5).
Imported from Marvisak/VIctory. Originally posted by cloph-dsp on 2026-11-30T11:59:03Z.
AI-assisted verification (Hy4 flash) — Windows / rustc 1.100.0 / MSVC, synthetic input only, no game data, GPU/driver N/A (CPU-only unit test).
git grep -F shader_model_retries_only_versions_the_runtime_does_not_know 63bcca43c6a00a758510398fa43096ce7e4f7df0 -- '*.rs'→ exit 1 (test is new on base).git diff --check 63bcca43..HEAD→ exit 0.→
test result: ok. 1 passed; 0 failed; 232 filtered out, exit 0. Dedicated per-worktreeCARGO_TARGET_DIRused.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.