D3D12.X: no VS, input layout or topology from the title in a mesh pipeline #1936
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1936
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1936"
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?
@mastrr9 on GitHub · 2026-11-24 23:43 UTC · original
mastrr9:fix/d3d12x-mesh-stream-strip-forbidden-subobjects→main· +121 −3 · 1 files · 1 commits · drafttranslated_mesh_streambuilds XCL's PC mesh pipeline and then copied almost every other subobject of the title's stream into it, including VS / DS / HS / GS / CS, input layout, strip cut value, stream output and primitive topology type. D3D12 allows none of these in a mesh pipeline, soCreatePipelineStatecan fail withE_INVALIDARG(0x80070057), and a console VS or GS among them reached the driver as console bytecode. The copy now leaves them out.Draft: the head commit has not been built or tested yet.
What is in it
hle/d3d12x/real.rs:mesh_stream_statecopies only the state a mesh pipeline may setmesh_stream_state_tests: one test of what is kept, one GPU test that creates the pipeline from a stream naming a VS, input layout, strip cut value and line topologyTested
These runs are from before the final rebase, on a combined branch (
01db80a, based on maine9e94ce; it holds this change plus four other changes), not on this PR's head commit.cargo testdebug build. Driver, CPU and Rust versions were not recorded.XCL_REQUIRE_GPU=mesh,cargo test -p xcl --lib mesh_stream_state_tests -- --nocapture --test-threads=1: 2 passed, 0 failed; the GPU test ran on the adapter (not skipped).real.rsis unchanged betweene9e94ceandf5136a6, and the commit's patch is the same after the rebase.Regression run
Not run: there are no
xcl-smokeblocks for this change.Not tested
f5136a6) has not been built or tested: it was rebased on macOS, with no Rust toolchain.cargo test --workspacewas not run for this change on its own.TRIANGLEwhere this change leaves the type out. The two conflict inreal.rs; #1937 does not remove the other subobjects. If it lands first, this needs a rebase that keeps itsTRIANGLEdeclaration, with the unit test adjusted.AI use
@DavidM1911 on GitHub · 2026-11-25 02:41 UTC · original
Verification on RTX 3060 Ti (Windows 11): merge conflict with current
main— needs a rebase before it can be tested.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.