tests: wide VGPR tuple spelling for image_sample_d fixtures (follow-up to #2082, Part of #1723) #2646

Manually merged
github merged 2 commits from gh-pr/2646/head into gh-pr/2646/base 2026-11-27 01:10:43 +00:00
Owner

@⁠tedin7 on GitHub · 2026-11-26 00:21 UTC · original
tedin7:x2w-r22-sample-d-tuples → main · +10 −7 · 2 files · 2 commits · merged 2026-11-26 02:05 UTC

Part of #1723

What this unblocks: the image_sample_d fixture test (startup_image_sample_d, #2082) reassembles under the LLVM 15 job instead of depending on the short tuple spelling.

Follow-up to #2082, which was merged without the last fixture commit. tests/startup_image_sample_d_check.py changes, and .github/workflows/windows.yml now runs it in binary mode with llvm-mc-15 next to its siblings (sample_l, sample_b, sample_lod), so the LLVM 15 spelling is actually exercised in CI: the fixture sources use the wide VGPR tuple spelling (8 registers, 16 for a volume) that the LLVM 15 assembler takes. The decoder lists the active registers, so the recorded words and the translation checks are unchanged.

Verification:

  • git diff --stat origin/main...HEAD: test fixture + 2 lines in windows.yml.
  • python3 -B tests/startup_image_sample_d_check.py (Linux, no arguments): translation controls pass.
  • python3 -B tests/startup_image_sample_d_check.py binary <llvm-mc> runs in the Ubuntu LLVM 15 CI job (no llvm-mc on the authoring host).
  • CI on dc807623: "Assemble and translate gfx1013 fixtures", Linux Python checks and Build and test on Windows all green.
  • Win2025 (x2w_pipe.py win2025 2646 --py-checks tests/startup_image_sample_d_check.py, default 5-slot pool): PASS on dc807623, receipt in the comments.

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-26 00:21 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2646) `tedin7:x2w-r22-sample-d-tuples` → `main` · +10 −7 · 2 files · 2 commits · merged 2026-11-26 02:05 UTC Part of #1723 What this unblocks: the `image_sample_d` fixture test (`startup_image_sample_d`, #2082) reassembles under the LLVM 15 job instead of depending on the short tuple spelling. Follow-up to #2082, which was merged without the last fixture commit. `tests/startup_image_sample_d_check.py` changes, and `.github/workflows/windows.yml` now runs it in `binary` mode with `llvm-mc-15` next to its siblings (`sample_l`, `sample_b`, `sample_lod`), so the LLVM 15 spelling is actually exercised in CI: the fixture sources use the wide VGPR tuple spelling (8 registers, 16 for a volume) that the LLVM 15 assembler takes. The decoder lists the active registers, so the recorded words and the translation checks are unchanged. Verification: - `git diff --stat origin/main...HEAD`: test fixture + 2 lines in `windows.yml`. - `python3 -B tests/startup_image_sample_d_check.py` (Linux, no arguments): translation controls pass. - `python3 -B tests/startup_image_sample_d_check.py binary <llvm-mc>` runs in the Ubuntu LLVM 15 CI job (no `llvm-mc` on the authoring host). - CI on `dc807623`: "Assemble and translate gfx1013 fixtures", Linux Python checks and Build and test on Windows all green. - Win2025 (`x2w_pipe.py win2025 2646 --py-checks tests/startup_image_sample_d_check.py`, default 5-slot pool): PASS on `dc807623`, receipt in the comments. AI-assisted; commands listed were executed locally.
Follow-up to #2082. The assembler needs the full 8 VGPR (16 for a volume)
tuple; the decoder lists the active registers.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:10:39 +00:00
github manually merged commit dc8076230e into gh-pr/2646/base 2026-11-27 01:10:43 +00:00
Author
Owner

@⁠tedin7 on GitHub · 2026-11-26 00:37 UTC · original

Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit a0edab78df37fa2f3f893fe761c936c39949575f:

  • Debug (--preset dev):
    • Build (cmake --build --preset dev -- -j 2): 0.00s (configure 0.00s)
    • Test (ctest --preset dev -R '^startup_image_sample_d' --parallel 2 --no-tests=error --output-on-failure): 4/4 passed (1.55s: startup_image_sample_d_draw_warp 0.93s, startup_image_sample_d_draw_hardware 1.00s, startup_image_sample_d_draw_controls 0.30s, startup_image_sample_d 0.31s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release -- -j 2): 0.00s (configure 0.00s)
    • Test (ctest --preset release -R '^startup_image_sample_d' --parallel 2 --no-tests=error --output-on-failure): 4/4 passed (1.73s: startup_image_sample_d_draw_controls 0.30s, startup_image_sample_d 0.34s, startup_image_sample_d_draw_hardware 1.12s, startup_image_sample_d_draw_warp 1.17s)
  • Wall: 11.6s

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-26 00:37 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2646#issuecomment-7178946383) Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `a0edab78df37fa2f3f893fe761c936c39949575f`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev -- -j 2`): `0.00s` (configure `0.00s`) - Test (`ctest --preset dev -R '^startup_image_sample_d' --parallel 2 --no-tests=error --output-on-failure`): **4/4 passed** (`1.55s`: `startup_image_sample_d_draw_warp` `0.93s`, `startup_image_sample_d_draw_hardware` `1.00s`, `startup_image_sample_d_draw_controls` `0.30s`, `startup_image_sample_d` `0.31s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release -- -j 2`): `0.00s` (configure `0.00s`) - Test (`ctest --preset release -R '^startup_image_sample_d' --parallel 2 --no-tests=error --output-on-failure`): **4/4 passed** (`1.73s`: `startup_image_sample_d_draw_controls` `0.30s`, `startup_image_sample_d` `0.34s`, `startup_image_sample_d_draw_hardware` `1.12s`, `startup_image_sample_d_draw_warp` `1.17s`) - Wall: `11.6s` AI-assisted; commands listed were executed locally.
Author
Owner

@⁠tedin7 on GitHub · 2026-11-26 00:37 UTC · original

@⁠R0Y00 @⁠MasterDomino head a0edab78: CI green (including the Ubuntu LLVM 15 job that reassembles the fixtures) and the Win2025 WARP dev+release receipt is above. Test-only follow-up to #2082 (one file, tuple spelling). It stays Draft until an independent peer review; please say if you would rather take it as is.

Verification: ctest --preset dev and --preset release with -R '^startup_image_sample_d': 4/4 passed each, on the exact head.

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-26 00:37 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2646#issuecomment-7178946591) @⁠R0Y00 @⁠MasterDomino head `a0edab78`: CI green (including the Ubuntu LLVM 15 job that reassembles the fixtures) and the Win2025 WARP dev+release receipt is above. Test-only follow-up to #2082 (one file, tuple spelling). It stays Draft until an independent peer review; please say if you would rather take it as is. Verification: `ctest --preset dev` and `--preset release` with `-R '^startup_image_sample_d'`: 4/4 passed each, on the exact head. AI-assisted; commands listed were executed locally.
Author
Owner

@⁠tedin7 on GitHub · 2026-11-26 00:55 UTC · original

Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit dc8076230e3eebf66967dd7e6d965a00f9d6dc58:

  • Windows Python checks: tests/startup_image_sample_d_check.py ok (0.2s)
  • sccache: 3/6 hits; wall 8.2s

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-26 00:55 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2646#issuecomment-7179249435) Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `dc8076230e3eebf66967dd7e6d965a00f9d6dc58`: - **Windows Python checks**: `tests/startup_image_sample_d_check.py` ok (`0.2s`) - `sccache`: 3/6 hits; wall `8.2s` AI-assisted; commands listed were executed locally.
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-26 00:55 UTC · original · edited 2026-11-26 01:02 UTC

Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T01:02:52.925789Z dc80762 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review" or "@⁠codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-26 00:55 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2646#issuecomment-7179253815) · edited 2026-11-26 01:02 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"dc8076230e3eebf66967dd7e6d965a00f9d6dc58","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-26T01:02:52.925789Z">2026-11-26T01:02:52.925789Z</relative-time> | `dc80762` | Draft marked ready | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review" or "@⁠codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
This discussion has been locked. Commenting is limited to contributors.
No description provided.