Shaders: explain D3D12 pipeline preflight failures #3788
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3788"
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-28T20:13:42Z.
Make the Windows host checks report the failing stage when
translate --pipelinesstarts. A D3D12 device creation failure names the feature level 12.0 requirement. The Shader Model check reports the adapter's version when it is below 6.6 and identifies a rejected query separately. D3D12 device creation · Shader Model query contractI ran the real CLI with an empty generated fixture directory. The default adapter stopped at D3D12 feature level 12.0. System WARP reported Shader Model 6.2 and the 6.6 requirement. Translation without pipeline creation exited successfully. App-local WARP 1.0.22 with Agility 1.620.2 passed the device check and was identified as software. The status regression, both strict shader 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:16:56Z.
Windows CI passed on
811e7e7, including both Clippy configurations and the workspace tests. The real pipeline CLI identified the local D3D12 feature-level refusal and system WARP's Shader Model 6.2. Translation without pipeline creation returned success. The app-local WARP 1.0.22 / Agility 1.620.2 fixture accepted the Shader Model 6.6 query.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 cloph-dsp on 2026-11-28T23:24:21Z.
Independent local verification (Windows, Rust 1.100.0/MSVC, no game data):
811e7e75a8ebc51638c58d8c3487532d260339b7, base/parent63bcca43c6a00a758510398fa43096ce7e4f7df0.cargo test --locked -p victory-shader --lib -- emit::host::tests::shader_model_errors_distinguish_the_runtime_from_the_adapter --exact --test-threads=1 --quiet→ 1 passed, 0 failed, 305 filtered, exit 0.git grep -Ffor the test name on the parent returned no match (test is new on this PR);git diff --check HEAD^ HEADclean (1 file, +65/-20).CARGO_TARGET_DIR(never shared) withCARGO_BUILD_JOBS=2.AI-assisted (Hy4 flash).
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.