GPU: report missing Shader Model 6.6 at device startup #3533
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!3533
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3533"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-11-27 15:18 UTC · original
andrewpozdnakov7-jpg:codex2/host-shader-model-startup→main· +47 −21 · 1 files · 1 commits · openWhy
In #3530 and #1532, Windows 10 can create a D3D12 device and then repeatedly refuse the translated shaders' heap-indexed root signatures. Feature Level 12.0 alone does not establish Shader Model 6.6 support. DirectX dynamic-resource requirements
Change
Query Shader Model 6.6 on the selected device during host initialization. Report a lower model or a query error once, before pipeline creation. Reuse the result for the existing mesh shader check. The warning is informational.
Verification
Windows 10 22H2 (19045.6456), synthetic root signature with flags
0xC01and the normal host initialization path.63bcca4, in-box WARPE_INVALIDARGE_INVALIDARGVerified that both app-local DLLs were loaded. Host initialization completed in all three cases. Mesh support remained disabled on the in-box adapter and was enabled on app-local WARP. The GPU library suite on app-local WARP had 246 passing tests and one ignored. Strict GPU Clippy in both feature configurations and the asset policy passed.
Synthetic checks only. Coordination claim. AI-assisted with Codex.
@andrewpozdnakov7-jpg on GitHub · 2026-11-27 15:22 UTC · original
Exact head
06beadepassed the Windows GitHub CI job. Locally, the same synthetic0xC01signature reproduced the Windows 10 in-box rejection described in #3530. The warning recorded SM 6.2 once, before the device-ready log. With app-local Agility 1.620.2 and WARP 1.0.22, the device reported SM 6.6, the signature serialized, and no Shader Model requirement warning appeared.Ready for maintainer review. If this patch is reused, please retain the Git author on cherry-pick or rebase, or use
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding it into another commit.AI-assisted with Codex.
@kilolimaVI on GitHub · 2026-11-27 16:30 UTC · original
Checked on AMD hardware, head
06beade: Windows 11, Radeon 780M (RDNA3 iGPU, current Adrenalin driver), toolchain 1.98.1.With a throwaway test calling
check_shader_modelandmesh_shaders()directly:HighestShaderModelasked 6.6 / 6.7 / 6.8check_shader_modelmesh_shaders()So on RDNA3 the startup check passes and mesh support is unchanged by the refactor.
cargo test -p victory-gpu: 231 passed, 0 failed on the 780M; withVICTORY_D3D12_WARP=1 --features diagnostics: 246 passed, 0 failed.AI-assisted (Claude).
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.