[PR #804] [MERGED] OLD-7505: restore old upstream PR 7505 - w64_graphics, design: the wave32 VS run is the halves of the wave64 waves, not a repacking (TEST-1700) #840

Closed
opened 2026-11-26 20:19:13 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/804
Author: @aslan2142
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @aslan2142

Base: main ← Head: test1700-rdna3-repacking


📝 Commits (4)

  • 91adf9e w64_graphics, design: the wave32 VS run is the halves of the wave64 waves, not a repacking (TEST-1700)
  • a213a23 w64_graphics, design: add the GFX1201 measurement and explicit wave starts from old upstream PR 7354 (TEST-1700)
  • d64f12b Merge main into TEST-1700, wave32 VS halves wording (#804)
  • 16b5b54 Merge main into test1700-rdna3-repacking

📊 Changes

2 files changed (+10 additions, -3 deletions)

View changed files

📝 docs/design.md (+1 -1)
📝 runtime/test/shaders/w64_graphics.py (+9 -2)

📄 Description

Claimed in the coordination issue as: OLD-7505 https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7133546591

Restoration of my original pull request, old upstream PR 7505 in ItsNotRexed/Leonida, which was closed unmerged when that repository went private on 2026-11-23 (old numbers link nowhere now). Rebased onto main at d0da7dade8; the docs/design.md Wave64 graphics row is resolved on main's newer text (it keeps main's tier C elected-lane clause), and the GFX1201 credit, written in the original as a mention and an old PR number, is now plain text ("sperm's old upstream PR 7354").

Depends on: #187 (draft, edits the same docs/design.md line)

What and why

  • w64_graphics.py and the docs/design.md Wave64 graphics row said RADV's wave32 VS run "repacks the vertices", which made it "a stricter test" of tiers A and B. It does not repack.
  • vs_w64_c_lane_id over all 960 vertices shows:
    • wave64 waves of 64, 62, 64, 62 ... vertices, starting at 0, 64, 126, 190 ...
    • wave32 waves of 32, 32, 32, 30 ..., starting at 0, 32, 64, 96, 126 ...
    • a period of 126 vertices at both sizes
    • each vertex's wave32 lane is its wave64 lane & 31
  • So the 32-lane run is the cut into halves that the tiers describe. Both texts now say so, and name the devices.
    • RADV Mesa 26.3.1: a gfx1036 iGPU (Raphael, found by sskver) and an RX 7900 XTX (NAVI31).
    • RADV Mesa 26.2.6: an RX 9070 XT (GFX1201), where every wave32 wave lies inside one half of a wave64 wave. This GFX1201 data is from sperm's old upstream PR 7354, folded in here.
  • The docstring also warns VS fixture authors that waves start at even vertices that are not all multiples of 4 (126, 252, ...). So lane ^ 1 stays on vertex v ^ 1, but ^ 2, ^ 3 and ^ 16 can cross a wave boundary.
  • Docs and docstring only; no code or fixture changes.

Tested

  • runtime/test/shaders/w64_graphics.py, all 31 fixtures built with runtime/test/shaders/build.py (31 translated, 31 pass spirv-val), vk_harness built from this branch. The script switches the VS/GS stages with RADV_PERFTEST=gewave32 itself.
    • Before (main) and after (this branch), on both GPUs: 29/29 ok (9 A, 8 B, 12 C), including all seven vs_w64_*.
  • tests/test_design_contract_rows.py, test_docs_design_rows.py, test_docs_encoding.py, test_docs_links.py, test_docs_list_items.py, test_docs_repeated_lines.py, test_docs_repo_paths.py, test_docs_table_ids.py, test_docs_table_rows.py, test_docs_env_vars.py, test_docs_cli_flags.py, test_text_write_line_endings.py: OK.
  • git diff --check clean; python -I scripts/check_no_game_data.py on both changed files: clean.
  • In the old repository, the original had independent GPU checks on RDNA2, RDNA3, RDNA 3.5 and RDNA4.

GPUs tested: AMD Radeon RX 7900 XTX (RDNA3, gfx1100) and AMD Ryzen 9 7950X3D iGPU (Raphael, gfx1036, RDNA2), both RADV Mesa 26.3.1, Arch Linux

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (No new rule; n/a.)

AI-assisted (Claude Code, Claude Opus 5.5).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/804 **Author:** [@aslan2142](https://github.com/aslan2142) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/25/2026 **Merged by:** [@aslan2142](https://github.com/aslan2142) **Base:** `main` ← **Head:** `test1700-rdna3-repacking` --- ### 📝 Commits (4) - [`91adf9e`](https://github.com/ubiquitarianism/leonida/commit/91adf9e3172c70327ea4df461cc3f054b43a8c07) w64_graphics, design: the wave32 VS run is the halves of the wave64 waves, not a repacking (TEST-1700) - [`a213a23`](https://github.com/ubiquitarianism/leonida/commit/a213a232b8819cc0252b0cdcc85b351dc9a763a8) w64_graphics, design: add the GFX1201 measurement and explicit wave starts from old upstream PR 7354 (TEST-1700) - [`d64f12b`](https://github.com/ubiquitarianism/leonida/commit/d64f12b53d275c71604fc7f6fee7302ce0f2baa9) Merge main into TEST-1700, wave32 VS halves wording (#804) - [`16b5b54`](https://github.com/ubiquitarianism/leonida/commit/16b5b540c0085f7ef7fd03aad67342c84e3e8ac9) Merge main into test1700-rdna3-repacking ### 📊 Changes **2 files changed** (+10 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/design.md` (+1 -1) 📝 `runtime/test/shaders/w64_graphics.py` (+9 -2) </details> ### 📄 Description Claimed in the coordination issue as: OLD-7505 https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7133546591 Restoration of my original pull request, old upstream PR 7505 in `ItsNotRexed/Leonida`, which was closed unmerged when that repository went private on 2026-11-23 (old numbers link nowhere now). Rebased onto main at d0da7dade8b6; the `docs/design.md` Wave64 graphics row is resolved on main's newer text (it keeps main's tier C `elected-lane` clause), and the GFX1201 credit, written in the original as a mention and an old PR number, is now plain text ("sperm's old upstream PR 7354"). Depends on: #187 (draft, edits the same docs/design.md line) ### What and why - `w64_graphics.py` and the `docs/design.md` Wave64 graphics row said RADV's wave32 VS run "repacks the vertices", which made it "a stricter test" of tiers A and B. It does not repack. - `vs_w64_c_lane_id` over all 960 vertices shows: - wave64 waves of 64, 62, 64, 62 ... vertices, starting at 0, 64, 126, 190 ... - wave32 waves of 32, 32, 32, 30 ..., starting at 0, 32, 64, 96, 126 ... - a period of 126 vertices at both sizes - each vertex's wave32 lane is its wave64 lane & 31 - So the 32-lane run is the cut into halves that the tiers describe. Both texts now say so, and name the devices. - RADV Mesa 26.3.1: a gfx1036 iGPU (Raphael, found by sskver) and an RX 7900 XTX (NAVI31). - RADV Mesa 26.2.6: an RX 9070 XT (GFX1201), where every wave32 wave lies inside one half of a wave64 wave. This GFX1201 data is from sperm's old upstream PR 7354, folded in here. - The docstring also warns VS fixture authors that waves start at even vertices that are not all multiples of 4 (126, 252, ...). So `lane ^ 1` stays on vertex `v ^ 1`, but `^ 2`, `^ 3` and `^ 16` can cross a wave boundary. - Docs and docstring only; no code or fixture changes. ### Tested - `runtime/test/shaders/w64_graphics.py`, all 31 fixtures built with `runtime/test/shaders/build.py` (31 translated, 31 pass `spirv-val`), `vk_harness` built from this branch. The script switches the VS/GS stages with `RADV_PERFTEST=gewave32` itself. - Before (main) and after (this branch), on both GPUs: 29/29 ok (9 A, 8 B, 12 C), including all seven `vs_w64_*`. - `tests/test_design_contract_rows.py`, `test_docs_design_rows.py`, `test_docs_encoding.py`, `test_docs_links.py`, `test_docs_list_items.py`, `test_docs_repeated_lines.py`, `test_docs_repo_paths.py`, `test_docs_table_ids.py`, `test_docs_table_rows.py`, `test_docs_env_vars.py`, `test_docs_cli_flags.py`, `test_text_write_line_endings.py`: OK. - `git diff --check` clean; `python -I scripts/check_no_game_data.py` on both changed files: clean. - In the old repository, the original had independent GPU checks on RDNA2, RDNA3, RDNA 3.5 and RDNA4. GPUs tested: AMD Radeon RX 7900 XTX (RDNA3, gfx1100) and AMD Ryzen 9 7950X3D iGPU (Raphael, gfx1036, RDNA2), both RADV Mesa 26.3.1, Arch Linux AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (No new rule; n/a.) AI-assisted (Claude Code, Claude Opus 5.5). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:19:13 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#840
No description provided.