Rebase & merge: SDWA, class comparison, 64-bit shifts + RTX 4070 Ti SUPER report #2845

Closed
KelboLive wants to merge 3 commits from upstream-pr/2853 into main
KelboLive commented 2026-11-26 14:06:53 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-26T14:06:53Z.


Summary

Rebase of SDWA merge, class comparison, and 64-bit shifts work along with RTX 4070 Ti SUPER hardware report.

Commits

  • ci: add sync workflow to auto-sync with upstream
  • Merge SDWA, class comparison, 64-bit shifts
  • Add RTX 4070 Ti SUPER (32.0.16.2101) BVH hardware report

Notes

Squash and merge. This PR replaces #2701 (stale base from upstream rebase).,

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5511493844 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2853). Originally posted by [KelboLive](https://github.com/KelboLive) on 2026-11-26T14:06:53Z. --- ### Summary Rebase of SDWA merge, class comparison, and 64-bit shifts work along with RTX 4070 Ti SUPER hardware report. ### Commits - ci: add sync workflow to auto-sync with upstream - Merge SDWA, class comparison, 64-bit shifts - Add RTX 4070 Ti SUPER (32.0.16.2101) BVH hardware report ### Notes Squash and merge. This PR replaces #2701 (stale base from upstream rebase).,
tedin7 commented 2026-11-26 14:11:39 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T14:11:39Z.

Review: COMMENTED


Comment review of head 07e9d9f5. This looks like a resubmission of #2701 (closed), and it still has the three points @R0Y00 raised there:

  • .github/workflows/sync.yml is still added. It is a fork maintenance workflow (scheduled, contents: write) and belongs in your fork only, not in the upstream PR.
  • CMakeLists.txt adds a second startup_gfx2hlsl_cmp_class test (CMakeLists.txt line 47 of the diff), next to the existing one.
  • README.md removes the existing AMD Radeon RX 9060 XT row (skip note and report link). That row should stay.

The Windows CI job "Build and test on Windows" is also red on this head.

Suggested shape: a branch from current main with only the RTX 4070 Ti SUPER report row and any test that is really new, without sync.yml and without touching other rows. No merge from our side on this head.

Commands: gh pr diff 2853, gh pr checks 2853, gh api repos/R0Y00/Xbox2Windows/pulls/2701/reviews (the earlier review).

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6075572385 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2853#pullrequestreview-6075572385). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T14:11:39Z. **Review:** COMMENTED --- Comment review of head `07e9d9f5`. This looks like a resubmission of #2701 (closed), and it still has the three points @R0Y00 raised there: - `.github/workflows/sync.yml` is still added. It is a fork maintenance workflow (scheduled, `contents: write`) and belongs in your fork only, not in the upstream PR. - `CMakeLists.txt` adds a second `startup_gfx2hlsl_cmp_class` test (`CMakeLists.txt` line 47 of the diff), next to the existing one. - `README.md` removes the existing AMD Radeon RX 9060 XT row (skip note and report link). That row should stay. The Windows CI job "Build and test on Windows" is also red on this head. Suggested shape: a branch from current `main` with only the RTX 4070 Ti SUPER report row and any test that is really new, without `sync.yml` and without touching other rows. No merge from our side on this head. Commands: `gh pr diff 2853`, `gh pr checks 2853`, `gh api repos/R0Y00/Xbox2Windows/pulls/2701/reviews` (the earlier review). AI-assisted; commands listed were executed locally.
JohnConnorNPC commented 2026-11-28 07:56:02 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by JohnConnorNPC on 2026-11-28T07:56:02Z.


Thanks for the PR. I reviewed head 07e9d9f5 with a static review, a trial merge and the pure-Python tests only (no build or GPU run). The change is the same patch as #2701: git diff $(git merge-base origin/main <head>) <head> | git patch-id --stable gives 2e6bb228ec97 for both 07e9d9f5 and 02506330, so the three changes requested on #2701 are still open. It merges cleanly into main (git merge-tree --write-tree origin/main 07e9d9f5, rc=0), but the merged tree still has every point below. Could you fix these:

  1. Windows CI fails at CMake configure. CMakeLists.txt registers startup_gfx2hlsl_cmp_class a second time (grep -c 'add_test(NAME startup_gfx2hlsl_cmp_class ': main 1, merged 2). The job log says _add_test given test NAME "startup_gfx2hlsl_cmp_class" which already exists, so no Windows test runs. Please drop the new add_test.
  2. .github/workflows/sync.yml. It runs on cron: '0 */6 * * *' with contents: write, then runs git rebase upstream/main and git push origin main --force-with-lease. In this repository that would be a scheduled force-push of main. Please keep it in your fork only.
  3. The f16 class test gets weaker. The rewrite of tests/startup_gfx2hlsl_cmp_class_f16_check.py replaces main's 20 checks with 10 (count of : ok lines in each run). It drops the vcc destination, the raw half vs class32 check, the literal, the four named refusals and the preamble checks. AGENTS.md asks contributors not to weaken tests. Two translator mutants in tools/startup/gfx2hlsl.py show the gap. M1 removes the ambiguous signed inline half refusal, and M2 removes the f16 expected an integer class mask refusal. Main's test fails on each one (rc=1, 1 failed), but the PR's test passes on each one (rc=0). Please keep main's test and add any new cases next to it.
  4. README, RX 9060 XT row. The row loses its "skipped, Shader Model 6.5 on build 19045" note, and its report links drop from 12 to 7 (grep -o issuecomment- on that row). Please leave the row as it is.

Smaller points: docs/experiments.md gets a second copy of the **The binary32 class comparison.** paragraph (count: main 1, merged 2), and the new binary16 paragraph repeats main's existing one. In gpu-report-hardware.md, the header says driver 32.0.16.2101 but the summary row says 32.0.16.1088, and build 10.0.26200 is labelled Windows 10, though 26200 is a Windows 11 build. CONTRIBUTING.md asks for hardware reports in the ongoing hardware thread (issue #1). As suggested on #2701, the simplest path may be a fresh branch from main with only the RTX 4070 Ti SUPER row, linking your issue #1 comment.

This comment was AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7236254386 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2853#issuecomment-7236254386). Originally posted by [JohnConnorNPC](https://github.com/JohnConnorNPC) on 2026-11-28T07:56:02Z. --- Thanks for the PR. I reviewed head 07e9d9f5 with a static review, a trial merge and the pure-Python tests only (no build or GPU run). The change is the same patch as #2701: `git diff $(git merge-base origin/main <head>) <head> | git patch-id --stable` gives `2e6bb228ec97` for both 07e9d9f5 and 02506330, so the three changes requested on #2701 are still open. It merges cleanly into main (`git merge-tree --write-tree origin/main 07e9d9f5`, rc=0), but the merged tree still has every point below. Could you fix these: 1. **Windows CI fails at CMake configure.** `CMakeLists.txt` registers `startup_gfx2hlsl_cmp_class` a second time (`grep -c 'add_test(NAME startup_gfx2hlsl_cmp_class '`: main 1, merged 2). The job log says `_add_test given test NAME "startup_gfx2hlsl_cmp_class" which already exists`, so no Windows test runs. Please drop the new `add_test`. 2. **`.github/workflows/sync.yml`.** It runs on `cron: '0 */6 * * *'` with `contents: write`, then runs `git rebase upstream/main` and `git push origin main --force-with-lease`. In this repository that would be a scheduled force-push of main. Please keep it in your fork only. 3. **The f16 class test gets weaker.** The rewrite of `tests/startup_gfx2hlsl_cmp_class_f16_check.py` replaces main's 20 checks with 10 (count of `: ok` lines in each run). It drops the vcc destination, the raw half vs class32 check, the literal, the four named refusals and the preamble checks. AGENTS.md asks contributors not to weaken tests. Two translator mutants in `tools/startup/gfx2hlsl.py` show the gap. M1 removes the `ambiguous signed inline half` refusal, and M2 removes the f16 `expected an integer class mask` refusal. Main's test fails on each one (rc=1, `1 failed`), but the PR's test passes on each one (rc=0). Please keep main's test and add any new cases next to it. 4. **README, RX 9060 XT row.** The row loses its "skipped, Shader Model 6.5 on build 19045" note, and its report links drop from 12 to 7 (`grep -o issuecomment-` on that row). Please leave the row as it is. Smaller points: `docs/experiments.md` gets a second copy of the `**The binary32 class comparison.**` paragraph (count: main 1, merged 2), and the new binary16 paragraph repeats main's existing one. In `gpu-report-hardware.md`, the header says driver 32.0.16.2101 but the summary row says 32.0.16.1088, and build 10.0.26200 is labelled Windows 10, though 26200 is a Windows 11 build. CONTRIBUTING.md asks for hardware reports in the ongoing hardware thread (issue #1). As suggested on #2701, the simplest path may be a fresh branch from main with only the RTX 4070 Ti SUPER row, linking your issue #1 comment. This comment was AI-assisted.
Leyukaka commented 2026-11-28 17:07:44 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-28T17:07:44Z.

Review: CHANGES_REQUESTED


.github/workflows/sync.yml should not be part of this PR. It is a fork-sync job, and nothing restricts it to forks (no if: github.repository != 'R0Y00/Xbox2Windows'). Merged here, it would run on this repository every 6 h (cron: '0 */6 * * *') with permissions: contents: write and end in git push origin main --force-with-lease. Here origin and upstream (https://github.com/R0Y00/Xbox2Windows.git) are the same repository, so the job does nothing useful but keeps a scheduled force-push step with write access on main. Please drop the file from the branch.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6099192420 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2853#pullrequestreview-6099192420). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-11-28T17:07:44Z. **Review:** CHANGES_REQUESTED --- `.github/workflows/sync.yml` should not be part of this PR. It is a fork-sync job, and nothing restricts it to forks (no `if: github.repository != 'R0Y00/Xbox2Windows'`). Merged here, it would run on this repository every 6 h (`cron: '0 */6 * * *'`) with `permissions: contents: write` and end in `git push origin main --force-with-lease`. Here `origin` and `upstream` (`https://github.com/R0Y00/Xbox2Windows.git`) are the same repository, so the job does nothing useful but keeps a scheduled force-push step with write access on `main`. Please drop the file from the branch.
JohnConnorNPC commented 2026-11-29 13:11:05 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by JohnConnorNPC on 2026-11-29T13:11:05Z.


#3388 ("Clean replacement for #2853") is now on main (c04e0dd6). It adds only the RTX 4070 Ti SUPER row to README.md. That is the part of this PR that was meant to land. It also means this branch now conflicts: git merge-tree --write-tree c04e0dd6 07e9d9f5 exits 1 in README.md.

The head is still 07e9d9f5, and the rest of the diff is what my 11-28 comment and the reviews covered. On the trial merge, CMakeLists.txt still registers startup_gfx2hlsl_cmp_class twice (count: main 1, merged 2). .github/workflows/sync.yml is still added, tests/startup_gfx2hlsl_cmp_class_f16_check.py is still the weaker rewrite, and the binary32 paragraph in docs/experiments.md is duplicated (count: main 1, merged 2). Windows CI still fails at configure. Since #3388 covers the report, I'd suggest closing this PR rather than rebasing it.

Environment: Linux only: git objects and git merge-tree.

This comment was AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7256350131 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2853#issuecomment-7256350131). Originally posted by [JohnConnorNPC](https://github.com/JohnConnorNPC) on 2026-11-29T13:11:05Z. --- #3388 ("Clean replacement for #2853") is now on `main` (`c04e0dd6`). It adds only the RTX 4070 Ti SUPER row to `README.md`. That is the part of this PR that was meant to land. It also means this branch now conflicts: `git merge-tree --write-tree c04e0dd6 07e9d9f5` exits 1 in `README.md`. The head is still `07e9d9f5`, and the rest of the diff is what my 11-28 comment and the reviews covered. On the trial merge, `CMakeLists.txt` still registers `startup_gfx2hlsl_cmp_class` twice (count: `main` 1, merged 2). `.github/workflows/sync.yml` is still added, `tests/startup_gfx2hlsl_cmp_class_f16_check.py` is still the weaker rewrite, and the binary32 paragraph in `docs/experiments.md` is duplicated (count: `main` 1, merged 2). Windows CI still fails at configure. Since #3388 covers the report, I'd suggest closing this PR rather than rebasing it. Environment: Linux only: git objects and `git merge-tree`. This comment was AI-assisted.
KelboLive commented 2026-11-29 16:20:00 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-29T16:20:00Z.


Closing as superseded.

#3388 ("Clean replacement for #2853") is merged at c04e0dd6 and carries the part of this branch that was still wanted — the RTX 4070 Ti SUPER row in the README hardware table. JohnConnorNPC's comment above recorded that.

The rest does not need to land here:

  • The SDWA, class-comparison and 64-bit shift content is already on main. This branch's copies of it are what make the merge conflict: they predate the upstream versions of the same tests and docs.
  • .github/workflows/sync.yml is fork-local. Leyukaka's change request on that point was correct — nothing restricts it to forks, so it does not belong upstream.
  • gpu-report-hardware.md is generated output; Run-GpuCheck.ps1 writes it, and AGENTS.md keeps generated files out of the tree.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7258809761 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2853#issuecomment-7258809761). Originally posted by [KelboLive](https://github.com/KelboLive) on 2026-11-29T16:20:00Z. --- Closing as superseded. #3388 ("Clean replacement for #2853") is merged at `c04e0dd6` and carries the part of this branch that was still wanted — the RTX 4070 Ti SUPER row in the README hardware table. JohnConnorNPC's comment above recorded that. The rest does not need to land here: - The SDWA, class-comparison and 64-bit shift content is already on `main`. This branch's copies of it are what make the merge conflict: they predate the upstream versions of the same tests and docs. - `.github/workflows/sync.yml` is fork-local. Leyukaka's change request on that point was correct — nothing restricts it to forks, so it does not belong upstream. - `gpu-report-hardware.md` is generated output; `Run-GpuCheck.ps1` writes it, and AGENTS.md keeps generated files out of the tree.

Pull request closed

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!2845
No description provided.