Test sparse Series X|S vertex fetch through the D3D12 input layout #131

Closed
github-bot wants to merge 2 commits from gh-pr/131/head into gh-pr/131/base
Owner

@⁠thatirishguyyy on GitHub · 2026-11-22 14:23 UTC · original
thatirishguyyy:test-vertex-fetch-input-mapping → main · +111 −3 · 2 files · 2 commits · closed without merging

Adds a synthetic shader and D3D12 draw to cover the existing Series X|S fetch-call path. The signature reads POSITION and TEXCOORD around an unread NORMAL. The tests check compact VGPR assignment, zero/one defaults for missing components, and the exact uint4 written by a draw using an uploaded vertex buffer. This exercises user attributes starting at v4. The neighboring work in #120 covers Durango signature parsing, and #125 covers the system values in v0 and v3.

Only test files change. The fixture is hand-encoded and the vertex data is synthetic. No exports changed.

  • Locked release synthetic suite: 13 passed
  • Focused D3D12 draw: passed on WARP and the hardware adapter
  • Existing default draw harness smoke test: passed
  • Upstream PR gate: two files checked, zero problems
**@⁠thatirishguyyy** on GitHub · 2026-11-22 14:23 UTC · [original](https://github.com/omonkeyz/xbox-emulator/pull/131) `thatirishguyyy:test-vertex-fetch-input-mapping` → `main` · +111 −3 · 2 files · 2 commits · closed without merging Adds a synthetic shader and D3D12 draw to cover the existing Series X|S fetch-call path. The signature reads POSITION and TEXCOORD around an unread NORMAL. The tests check compact VGPR assignment, zero/one defaults for missing components, and the exact uint4 written by a draw using an uploaded vertex buffer. This exercises user attributes starting at v4. The neighboring work in #120 covers Durango signature parsing, and #125 covers the system values in v0 and v3. Only test files change. The fixture is hand-encoded and the vertex data is synthetic. No exports changed. - Locked release synthetic suite: 13 passed - Focused D3D12 draw: passed on WARP and the hardware adapter - Existing default draw harness smoke test: passed - Upstream PR gate: two files checked, zero problems
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:11:07 +00:00
github-bot closed this pull request 2026-11-26 06:11:07 +00:00
Author
Owner

@⁠omonkeyz on GitHub · 2026-11-22 14:56 UTC · original

Applied in 3440221 and f181815 (merged in 8771f98) with your authorship kept, thanks! mesh 20/0, synthetic 15/0 and the new WARP draw test pass here.

**@⁠omonkeyz** on GitHub · 2026-11-22 14:56 UTC · [original](https://github.com/omonkeyz/xbox-emulator/pull/131#issuecomment-7080922111) Applied in 3440221 and f181815 (merged in 8771f98) with your authorship kept, thanks! mesh 20/0, synthetic 15/0 and the new WARP draw test pass here.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.