[PR #173] GPU test cs_w32_late_ext: ds_mskor, v_add/sub_nc_i16 clamp, s_buffer_load constant offset #225

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

📋 Pull Request Information

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

Base: main ← Head: old-pr/9908


📝 Commits (6)

  • 0366ce8 GPU test cs_w32_late_ext: ds_mskor, v_add/sub_nc_i16 clamp, s_buffer_load constant offset
  • 577b780 test_late_ext_fixture: runs under python -I
  • 1b5f6c0 Merge remote-tracking branch 'origin/main' into HEAD
  • f3a6f32 Merge remote-tracking branch 'origin/main' into HEAD
  • 3e764d4 Merge remote-tracking branch 'origin/main' into HEAD
  • 4fc0d97 Merge remote-tracking branch 'origin/main' into HEAD

📊 Changes

5 files changed (+219 additions, -3 deletions)

View changed files

📝 runtime/test/shaders/check.py (+3 -1)
➕ runtime/test/shaders/cs_w32_late_ext.asm (+70 -0)
📝 scripts/run_gpu_tests.py (+4 -2)
➕ tests/semantic/fixtures/disasm/cs_w32_late_ext.s (+54 -0)
➕ tests/semantic/test_late_ext_fixture.py (+88 -0)

📄 Description

Carried over from old PR 9908 by LouisRiverstone in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9908, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
LouisRiverstone: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

A GPU test, in the cs_w32_*_ext format CI runs on llvmpipe, for three merged changes that only had CPU checks: ds_mskor_b32/ds_mskor_rtn_b32 (#1954), v_add/sub_nc_i16 with clamp (#1974), and the s_buffer_load constant-SGPR-offset fix (#1948).

Re-submission of #3039. #3039 was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current main.

Checked on #3039 by: emirduran707 (RX 9060 XT), CaravelaLabs (8060S), steamaze0 (RTX 5060 Ti), hidrogenone (NVIDIA GeForce RTX 5080), Yourrespawn (RTX 4080), kapitche (Windows 11), cxchhh (Tesla V100-SXM2-32GB), Etr0p (610M), lunarminus (760M), searyecheesepeaceful (UHD Graphics 630), Mortify7612 (AMD Radeon RX 9060 XT), Itschotsch (RTX 4090) and 7 more.

No game files.

AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with main.


🔄 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/173 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `old-pr/9908` --- ### 📝 Commits (6) - [`0366ce8`](https://github.com/ubiquitarianism/leonida/commit/0366ce8333cc370a164bdc18eb8f6af1e39939b3) GPU test cs_w32_late_ext: ds_mskor, v_add/sub_nc_i16 clamp, s_buffer_load constant offset - [`577b780`](https://github.com/ubiquitarianism/leonida/commit/577b7809efbbea562d34f6801083961dadc2d7c2) test_late_ext_fixture: runs under python -I - [`1b5f6c0`](https://github.com/ubiquitarianism/leonida/commit/1b5f6c0bc9f4ae79b5350839d2407f2a076c2c0f) Merge remote-tracking branch 'origin/main' into HEAD - [`f3a6f32`](https://github.com/ubiquitarianism/leonida/commit/f3a6f326fd27324a091a45396342c11ac72ec0e5) Merge remote-tracking branch 'origin/main' into HEAD - [`3e764d4`](https://github.com/ubiquitarianism/leonida/commit/3e764d42e799ef3b030c1856c066abcda7bd6880) Merge remote-tracking branch 'origin/main' into HEAD - [`4fc0d97`](https://github.com/ubiquitarianism/leonida/commit/4fc0d9768ddf19b6f8fdd22ab53c84e12b677c00) Merge remote-tracking branch 'origin/main' into HEAD ### 📊 Changes **5 files changed** (+219 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/shaders/check.py` (+3 -1) ➕ `runtime/test/shaders/cs_w32_late_ext.asm` (+70 -0) 📝 `scripts/run_gpu_tests.py` (+4 -2) ➕ `tests/semantic/fixtures/disasm/cs_w32_late_ext.s` (+54 -0) ➕ `tests/semantic/test_late_ext_fixture.py` (+88 -0) </details> ### 📄 Description > Carried over from **old PR 9908** by `LouisRiverstone` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9908`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `LouisRiverstone`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): A GPU test, in the `cs_w32_*_ext` format CI runs on llvmpipe, for three merged changes that only had CPU checks: `ds_mskor_b32`/`ds_mskor_rtn_b32` (`#1954`), `v_add/sub_nc_i16` with `clamp` (`#1974`), and the `s_buffer_load` constant-SGPR-offset fix (`#1948`). Re-submission of `#3039`. `#3039` was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current `main`. Checked on `#3039` by: emirduran707 (RX 9060 XT), CaravelaLabs (8060S), steamaze0 (RTX 5060 Ti), hidrogenone (NVIDIA GeForce RTX 5080), Yourrespawn (RTX 4080), kapitche (Windows 11), cxchhh (Tesla V100-SXM2-32GB), Etr0p (610M), lunarminus (760M), searyecheesepeaceful (UHD Graphics 630), Mortify7612 (AMD Radeon RX 9060 XT), Itschotsch (RTX 4090) and 7 more. No game files. AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with `main`. --- <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#225
No description provided.