[PR #1872] docs: the s_load vcc-base row is GPU-checked on RDNA2 and under wave64 emulation (SHADER-VCC-BASE-GPU-VERIFIED) #1884

Open
opened 2026-11-26 21:19:17 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1872
Author: @fiestorra
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: carry/shader-vcc-base-gpu


📝 Commits (1)

  • 9b038c5 SHADER-VCC-BASE-GPU-VERIFIED: the vcc base row is GPU-checked on RDNA2 and under wave64 emulation

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 docs/design.md (+1 -1)

📄 Description

Claimed in the coordination issue as: SHADER-VCC-BASE-GPU-VERIFIED (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7164293029)

What and why

The s_load_dword* vcc 64-bit base row of docs/design.md ended in not GPU-verified, although the fixture that verifies it (runtime/test/shaders/cs_smem_vcc_base.asm, eight seeded words read through s_load_dwordx8 s[8:15], vcc, 0) already existed. This change records the GPU measurement in that row and says what it does not cover. No runtime or translator change.

Tested

The fixture as it is, through the standard runner (scripts/run_gpu_tests.py --build runtime/build --filter cs_smem_vcc_base, llvm-mc 21.1.8, spirv-val from Vulkan SDK 1.4.363):

  • AMD Radeon gfx1036 iGPU, Windows 11, driver 32.0.21045.29003: PASS cs_smem_vcc_base, the eight words 29200 29201 29202 29203 29204 29205 29206 29207 = 0x7210..0x7217, 1/1 passed.
  • NVIDIA GeForce RTX 4090, Windows 11, driver 32.0.16.2124, with LEONIDA_W64_EMULATE=1: the same eight words, 1/1 passed. Without the emulation the fixture skips on this card (SKIP (no 64-wide compute subgroup on this device)), so the emulated path is what was measured there.

Also run, for the documentation: the repository's docs-only set (tests/test_docs_*.py and tests/test_i18n_index.py) passes 13/13, and check-no-game-data reports the tree clean.

What this does not prove: eight words of one fixture are the whole hardware check; the 79-program corpus count in the row stays a translation count; and there is no native 32-wide-subgroup run of this form outside the emulation. I did not add a gpu-test-results/ record: this is one fixture, not the suite. Be precise about the records, though — #1777 is the RTX 4090 at NVIDIA 591.86, and the run this row describes is 32.0.16.2124 (621.24), which no 4090 record matches; #1473 is the gfx1036 at 24.10.24, while the record at 32.0.21045.29003 is #843 (Raphael-7600X-Win.txt). So the evidence here is inline, as other rows carry it, and it is not the same run as either record.

GPUs tested: AMD Radeon gfx1036 iGPU (Ryzen 7 7800X3D), AMD driver 32.0.21045.29003, Windows 11; NVIDIA GeForce RTX 4090, NVIDIA driver 32.0.16.2124, Windows 11.

AI-assisted: yes (DeepSeek Harness).

Checklist

  • Based on current main (a73a57e1) and merges cleanly.
  • 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. (n/a: no new rule; an existing row's evidence is updated)

Written with an AI assistant.


🔄 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/1872 **Author:** [@fiestorra](https://github.com/fiestorra) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `carry/shader-vcc-base-gpu` --- ### 📝 Commits (1) - [`9b038c5`](https://github.com/ubiquitarianism/leonida/commit/9b038c57a04c6353b706f1aee4f9a993ded9d720) SHADER-VCC-BASE-GPU-VERIFIED: the vcc base row is GPU-checked on RDNA2 and under wave64 emulation ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/design.md` (+1 -1) </details> ### 📄 Description Claimed in the coordination issue as: SHADER-VCC-BASE-GPU-VERIFIED (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7164293029) ### What and why The `s_load_dword*` `vcc` 64-bit base row of `docs/design.md` ended in **not GPU-verified**, although the fixture that verifies it (`runtime/test/shaders/cs_smem_vcc_base.asm`, eight seeded words read through `s_load_dwordx8 s[8:15], vcc, 0`) already existed. This change records the GPU measurement in that row and says what it does not cover. No runtime or translator change. ### Tested The fixture as it is, through the standard runner (`scripts/run_gpu_tests.py --build runtime/build --filter cs_smem_vcc_base`, llvm-mc 21.1.8, spirv-val from Vulkan SDK 1.4.363): - AMD Radeon gfx1036 iGPU, Windows 11, driver 32.0.21045.29003: `PASS cs_smem_vcc_base`, the eight words `29200 29201 29202 29203 29204 29205 29206 29207` = `0x7210..0x7217`, 1/1 passed. - NVIDIA GeForce RTX 4090, Windows 11, driver 32.0.16.2124, with `LEONIDA_W64_EMULATE=1`: the same eight words, 1/1 passed. Without the emulation the fixture skips on this card (`SKIP (no 64-wide compute subgroup on this device)`), so the emulated path is what was measured there. Also run, for the documentation: the repository's docs-only set (`tests/test_docs_*.py` and `tests/test_i18n_index.py`) passes 13/13, and `check-no-game-data` reports the tree clean. What this does not prove: eight words of one fixture are the whole hardware check; the 79-program corpus count in the row stays a translation count; and there is no native 32-wide-subgroup run of this form outside the emulation. I did not add a `gpu-test-results/` record: this is one fixture, not the suite. Be precise about the records, though — #1777 is the RTX 4090 at NVIDIA 591.86, and the run this row describes is 32.0.16.2124 (621.24), which no 4090 record matches; #1473 is the gfx1036 at 24.10.24, while the record at 32.0.21045.29003 is #843 (`Raphael-7600X-Win.txt`). So the evidence here is inline, as other rows carry it, and it is not the same run as either record. GPUs tested: AMD Radeon gfx1036 iGPU (Ryzen 7 7800X3D), AMD driver 32.0.21045.29003, Windows 11; NVIDIA GeForce RTX 4090, NVIDIA driver 32.0.16.2124, Windows 11. AI-assisted: yes (DeepSeek Harness). ### Checklist - [x] Based on current `main` (`a73a57e1`) and merges cleanly. - [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. (n/a: no new rule; an existing row's evidence is updated) Written with an AI assistant. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1884
No description provided.