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

Merged
tedin7 merged 2 commits from upstream-pr/2646 into main 2026-11-26 02:05:12 +00:00
tedin7 commented 2026-11-26 00:21:25 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T00:21:25Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6616583328 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2646). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T00:21:25Z. --- 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 commented 2026-11-26 01:02:12 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T00:37:22Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7178946383 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2646#issuecomment-7178946383). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T00:37:22Z. --- 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 commented 2026-11-26 01:02:12 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T00:37:22Z.


@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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7178946591 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2646#issuecomment-7178946591). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T00:37:22Z. --- @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 commented 2026-11-26 01:02:14 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T00:55:25Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7179249435 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2646#issuecomment-7179249435). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T00:55:25Z. --- 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.
chatgpt-codex-connector[bot commented 2026-11-26 01:02:14 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-26T00:55:41Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7179253815 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2646#issuecomment-7179253815). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/chatgpt-codex-connector%5Bbot%5D) on 2026-11-26T00:55:41Z. --- <!-- 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>
upstream-sync closed this pull request 2026-11-26 03:03:03 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!2638
No description provided.