Fix mesh pipeline test on unsupported GPUs (issue #4) #181
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by AndradeTK on 2026-11-24T22:17:24Z.
a_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.
Imported from fxceless/victory-fork. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T22:19:26Z.
Review: COMMENTED
🟡 Changes recommended
The depth-state change leaves the reported root-signature failure unaddressed, requiring investigation or a narrower PR description that distinguishes the separate pipeline-state fix.
1 open issue
What changed in this PR
This PR adjusts the GPU library’s mesh-pipeline test to handle unsupported hardware and use valid depth settings for a color-only target.
Changes:
crates/victory-gpu/src/pipeline/host.rsReview effort: Balanced
Imported from fxceless/victory-fork. Originally posted by Copilot on 2026-11-24T22:19:26Z.
Code review location:
crates/victory-gpu/src/pipeline/host.rs; line 922The 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
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.