[PR #654] tests: GPU fixture cs_w32_saveexec_ext for extended saveexec/wrexec kinds (OLD-9904) #694

Open
opened 2026-11-26 20:18:44 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/654
Author: @TanmaySatyam
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: test/old-9904-gpu-saveexec-ext


📝 Commits (3)

  • 44324e8 GPU test cs_w32_saveexec_ext: the saveexec / wrexec kinds of #1657
  • e50d23d test_saveexec_ext_fixture: runs under python -I
  • 72bc8d3 tests: mark cs_w32_saveexec_ext.asm for regen_fixtures discovery

📊 Changes

5 files changed (+269 additions, -4 deletions)

View changed files

📝 runtime/test/shaders/check.py (+4 -2)
➕ runtime/test/shaders/cs_w32_saveexec_ext.asm (+104 -0)
📝 scripts/run_gpu_tests.py (+4 -2)
➕ tests/semantic/fixtures/disasm/cs_w32_saveexec_ext.s (+87 -0)
➕ tests/semantic/test_saveexec_ext_fixture.py (+70 -0)

📄 Description

Claimed in the coordination issue as: OLD-9904

AI-assisted.

What and why

Carries forward old-pr/9904 (draft #169, original author LouisRiverstone / Luiz Neves) onto main (21625bca8), preserving both original author commits and adding one follow-up commit to mark runtime/test/shaders/cs_w32_saveexec_ext.asm for tests/semantic/regen_fixtures.py (main's marker-based discovery):

  1. Preserved commits (Luiz Neves): Adds the wave32 GPU fixture runtime/test/shaders/cs_w32_saveexec_ext.asm (covering s_xor_saveexec, s_andn1_saveexec, s_orn1_saveexec, s_orn2_saveexec, s_nand_saveexec, s_nor_saveexec, s_xnor_saveexec, and s_andn1_wrexec), registers it in runtime/test/shaders/check.py and scripts/run_gpu_tests.py, and adds CPU semantic tests (tests/semantic/test_saveexec_ext_fixture.py).
  2. Rebase adaptation commit: Adds the ; regen_fixtures: header marker to runtime/test/shaders/cs_w32_saveexec_ext.asm so tests/test_regen_fixtures.py passes on current main.

Testing & Verification

  • GPUs tested: NVIDIA GeForce RTX 5070 (Blackwell, Driver 591.74, Windows 11, Vulkan validation enabled, VKC_SUBGROUP_SIZE=32):
    • vk_compute_test cs_w32_saveexec_ext.spv 1 dump → 1 groups x 64: 0 mismatches, out[0..7] = 4096 2560 6656 5642 4608 542 4106 2560 (0x1000, 0xA00, 0x1A00, 0x160A, 0x1200, 0x21E, 0x100A, 0xA00, 0 validation errors).
  • python -I tests/semantic/test_saveexec_ext_fixture.py -v (3/3 OK)
  • python -I tests/test_regen_fixtures.py (7/7 OK)
  • python -I tests/test_text_write_line_endings.py (3/3 OK)
  • Clean-room verified: python -I scripts/check_no_game_data.py exited 0 on all modified/added files.

🔄 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/654 **Author:** [@TanmaySatyam](https://github.com/TanmaySatyam) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `test/old-9904-gpu-saveexec-ext` --- ### 📝 Commits (3) - [`44324e8`](https://github.com/ubiquitarianism/leonida/commit/44324e867320302706ff5824ccd1d13762a0b1e2) GPU test cs_w32_saveexec_ext: the saveexec / wrexec kinds of #1657 - [`e50d23d`](https://github.com/ubiquitarianism/leonida/commit/e50d23ded83461f909034b8dc47d7ff3c7adcbc5) test_saveexec_ext_fixture: runs under python -I - [`72bc8d3`](https://github.com/ubiquitarianism/leonida/commit/72bc8d3d1dc682554a594647d7063babb9f94419) tests: mark cs_w32_saveexec_ext.asm for regen_fixtures discovery ### 📊 Changes **5 files changed** (+269 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/shaders/check.py` (+4 -2) ➕ `runtime/test/shaders/cs_w32_saveexec_ext.asm` (+104 -0) 📝 `scripts/run_gpu_tests.py` (+4 -2) ➕ `tests/semantic/fixtures/disasm/cs_w32_saveexec_ext.s` (+87 -0) ➕ `tests/semantic/test_saveexec_ext_fixture.py` (+70 -0) </details> ### 📄 Description Claimed in the coordination issue as: OLD-9904 AI-assisted. ### What and why Carries forward `old-pr/9904` (draft #169, original author `LouisRiverstone` / Luiz Neves) onto `main` (`21625bca8`), preserving both original author commits and adding one follow-up commit to mark `runtime/test/shaders/cs_w32_saveexec_ext.asm` for `tests/semantic/regen_fixtures.py` (`main`'s marker-based discovery): 1. **Preserved commits (`Luiz Neves`):** Adds the wave32 GPU fixture `runtime/test/shaders/cs_w32_saveexec_ext.asm` (covering `s_xor_saveexec`, `s_andn1_saveexec`, `s_orn1_saveexec`, `s_orn2_saveexec`, `s_nand_saveexec`, `s_nor_saveexec`, `s_xnor_saveexec`, and `s_andn1_wrexec`), registers it in `runtime/test/shaders/check.py` and `scripts/run_gpu_tests.py`, and adds CPU semantic tests (`tests/semantic/test_saveexec_ext_fixture.py`). 2. **Rebase adaptation commit:** Adds the `; regen_fixtures:` header marker to `runtime/test/shaders/cs_w32_saveexec_ext.asm` so `tests/test_regen_fixtures.py` passes on current `main`. ### Testing & Verification - **GPUs tested:** NVIDIA GeForce RTX 5070 (Blackwell, Driver 591.74, Windows 11, Vulkan validation enabled, `VKC_SUBGROUP_SIZE=32`): - `vk_compute_test cs_w32_saveexec_ext.spv 1 dump` → `1 groups x 64: 0 mismatches`, `out[0..7] = 4096 2560 6656 5642 4608 542 4106 2560` (`0x1000, 0xA00, 0x1A00, 0x160A, 0x1200, 0x21E, 0x100A, 0xA00`, 0 validation errors). - `python -I tests/semantic/test_saveexec_ext_fixture.py -v` (3/3 OK) - `python -I tests/test_regen_fixtures.py` (7/7 OK) - `python -I tests/test_text_write_line_endings.py` (3/3 OK) - Clean-room verified: `python -I scripts/check_no_game_data.py` exited 0 on all modified/added files. --- <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#694
No description provided.