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

Closed
github-bot wants to merge 3 commits from github-bot/gh-2853 into main AGit
Owner

@⁠KelboLive on GitHub · 2026-11-26 14:06 UTC · original
KelboLive:pr/sdwa-upstream-diff-v2 → main · +141 −91 · 6 files · 3 commits · closed without merging

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).,

**@⁠KelboLive** on GitHub · 2026-11-26 14:06 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2853) `KelboLive:pr/sdwa-upstream-diff-v2` → `main` · +141 −91 · 6 files · 3 commits · closed without merging ### 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).,
Record BVH hardware test results on NVIDIA GeForce RTX 4070 Ti SUPER
with driver 32.0.16.2101. Tests: bvh_waves_hardware passed,
bvh_wave64_hardware skipped, bvh_differential_hardware passed.

Update README hardware coverage table and add gpu-report-hardware.md
for the issue #1 comment thread.

Refs #1
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:26:53 +00:00
Author
Owner

@⁠tedin7 on GitHub · 2026-11-26 14:11 UTC · original · reviewed

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.

**@⁠tedin7** on GitHub · 2026-11-26 14:11 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2853#pullrequestreview-6075572385) · **reviewed** 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.
Author
Owner

@⁠JohnConnorNPC on GitHub · 2026-11-28 07:56 UTC · original

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.

**@⁠JohnConnorNPC** on GitHub · 2026-11-28 07:56 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2853#issuecomment-7236254386) 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.
Author
Owner

@⁠Leyukaka on GitHub · 2026-11-28 17:07 UTC · original · requested changes

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

**@⁠Leyukaka** on GitHub · 2026-11-28 17:07 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2853#pullrequestreview-6099192420) · **requested changes** `.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.
Author
Owner

@⁠JohnConnorNPC on GitHub · 2026-11-29 13:11 UTC · original

#3390 ("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 #3390 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.

**@⁠JohnConnorNPC** on GitHub · 2026-11-29 13:11 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2853#issuecomment-7256350131) #3390 ("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 #3390 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.
github-bot closed this pull request 2026-11-29 16:22:41 +00:00
Author
Owner

@⁠KelboLive on GitHub · 2026-11-29 16:20 UTC · original

Closing as superseded.

#3390 ("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.
**@⁠KelboLive** on GitHub · 2026-11-29 16:20 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2853#issuecomment-7258809761) Closing as superseded. #3390 ("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

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