Fix mesh pipeline test on unsupported GPUs (issue #4) #181
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!181
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-181"
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?
@AndradeTK on GitHub · 2026-11-24 22:17 UTC · original
AndradeTK:fix/mesh-pipeline-test-and-mesh-psv→main· +7 −0 · 1 files · 1 commits · opena_mesh_pipeline_loads_from_the_library now skips when the host lacks mesh shader support (the same check production code uses) and disables depth testing for the color-only target, which has no depth plane; otherwise CreatePipelineState returns E_INVALIDARG, which is what #4 reported on an RTX 5080. Verified locally: victory-gpu lib tests 110 passed, 0 failed, 1 ignored; clippy clean.
The mesh PSV name-offset idea (issue #12) is intentionally NOT included: it cannot be validated without game data or the D3D12 validator on real mesh shaders, so it stays out until it can be tested.
@ -915,1 +919,4 @@g.targets.RTFormats[0] = DXGI_FORMAT_R8G8B8A8_UNORM;// The test's target has no depth plane, so the state must not ask// for one: a depth test against an absent depth format is refused.g.depth.DepthEnable = false.into();@Copilot on GitHub · 2026-11-24 22:19 UTC · original
The failure shown in #4 is an unwrap of
Result<(ID3D12RootSignature, Vec<u8>)>, identifying theroot_signature(...)call above rather thanCreatePipelineState. On a host that passes the new capability check, that call still runs before this depth-state change, so this does not address the reported root-signature error. Please investigate that failure on the reported setup, or narrow the PR description to distinguish this separate pipeline-state fix from #4.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.