Disambiguate slot 86 mesh and amplification tags #2240
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2248"
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 R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T07:40:36Z.
Refs #1759 and #1760.
Slot 86 accepts an Xbox MS subobject with tag 24 when it contains a bounded, desktop-format shader-model-6 mesh program. Desktop amplification DXIL has the same tag and keeps its amplification role with a desktop MS subobject. Unsupported DXIL and ambiguous or duplicate stage combinations are refused. The existing native PSO restrictions still apply, including the empty root signature and one single-sample color target. Console program translation and fixed-descriptor pipeline creation are outside this change.
Release on Windows 11 build 26200.9974 passed 10/10 with no skips. WARP used driver 10.0.26100.9818. The GeForce RTX 4060 Laptop GPU used driver 32.0.16.1656. The D3D12 debug layer was enabled on both adapters. The desktop mesh tag, console mesh tag and desktop AS-to-MS payload cases produced 4/8 and 8/8 non-clear pixels for one and two GPU-written groups. Pixel DXIL under the shared tag left 0/8 non-clear pixels. Argument guards remained intact. The previous shim rejected the new console-tag fixture on WARP, leaving 0/8 non-clear pixels where four were expected.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T07:43:20Z.
Review: COMMENTED
Review of head
e46ef0db72a463f2474b9a152841c34f49050fb7.Scope read:
desktop_dxil_mesh_stage()and the stream rewrite inbuild_stream_pipeline()(src/startup_stubs/d3d12_xs_device.cpp), the new CTest entries, the new HLSL/fixture cases and the docs note.Commands executed locally (Linux):
git diff --stat origin/main...HEAD: 5 files, +154/-31.python3 tests/docs_links_check.py: self-test passed, 18 Markdown files, 419 links OK.python3 tests/bidi_controls_check.py: 1523 files, no bidirectional controls.git diff --check origin/main...HEAD: clean.git merge-tree --write-tree origin/main HEAD:CONFLICT (content): Merge conflict in tests/startup_indirect_draw_indexed.cpp.gh pr checks 2248: Linux Python checks pass; Windows build/test and gfx1013 fixtures were still pending when I looked.P1: none.
P2
mainintests/startup_indirect_draw_indexed.cpp(GitHub also reportsCONFLICTING). Please rebase and re-run the Windows targets named in the body on the rebased head, because the conflict is inside the file that holds the new fixtures.Logic review (no defects found)
BC C0 DEmagic.XDATparts and duplicate DXIL parts are refused. I found no out-of-range read.mesh/amplification/console_meshflags and the final(amplification && !mesh)guard.typeis now a mutable reference into the copied stream. This is correct, but a short comment saying "tag rewritten in the copy" at the first mutation would help future readers (the existing comment mentions rewriting, so this is minor).Mutation testing: not run. The touched code is D3D12 and Windows-only, so it cannot be built here. Mutation and runtime proof belong to the Windows run. I did not queue Win2025 myself.
Verdict (comment only): logic looks sound. The blocker is the merge conflict. Re-check the new tests on the rebased head.
AI-assisted; commands listed were executed locally.