[PR #174] [CLOSED] rdna2spirv: global_atomic_add/sub_x2 and buffer_atomic_add/sub_x2 #229

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/174
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed

Base: main ← Head: old-pr/9909


📝 Commits (5)

  • 44e4ca2 rdna2spirv: global_atomic_add/sub_x2 and buffer_atomic_add/sub_x2
  • ec8158c Merge remote-tracking branch 'origin/main' into HEAD
  • e6be4b8 Merge remote-tracking branch 'origin/main' into HEAD
  • 793c3f0 Merge remote-tracking branch 'origin/main' into HEAD
  • 09b4218 Merge remote-tracking branch 'origin/main' into HEAD

📊 Changes

5 files changed (+73 additions, -19 deletions)

View changed files

📝 docs/design.md (+2 -2)
📝 tests/semantic/test_buffer_atomics_x2.py (+3 -2)
📝 tests/semantic/test_global_atomics.py (+1 -1)
📝 tests/semantic/test_global_atomics_x2.py (+25 -2)
📝 tools/rdna2spirv.py (+42 -12)

📄 Description

Carried over from old PR 9909 by LouisRiverstone in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9909, 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):

global_atomic_add_x2/sub_x2 and buffer_atomic_add_x2/sub_x2 raised Unsupported. This is the global and buffer counterpart of #2738, which does the same for ds_add/sub_u64. The global and buffer _x2 paths weren't in #2738, and no one had claimed them.

Re-submission of #3065. #3065 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 #3065 by: TheMrBeez (the GPU), bobcatchris (Pro V540), zzEmmazz (main 16282101), theswiss24 (RTX 2060 SUPER), DenRakEiw (Windows 11), kapitche (native Windows), DavidM1911 (two Vulkan devices), tylerstraub (RTX 5090), GustawMatuszewski (two devices. Ubuntu 26.04.1), Sangonapou (RTX 3080 Ti Laptop), YordiLorenzo (RTX 5090), leonidassupporter (RTX 3060 Ti) and 2 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/174 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `old-pr/9909` --- ### 📝 Commits (5) - [`44e4ca2`](https://github.com/ubiquitarianism/leonida/commit/44e4ca280489178aaa97dfa5f97f321488245ac5) rdna2spirv: global_atomic_add/sub_x2 and buffer_atomic_add/sub_x2 - [`ec8158c`](https://github.com/ubiquitarianism/leonida/commit/ec8158c8d2aaa0f607f51d9b7542886067a2bd43) Merge remote-tracking branch 'origin/main' into HEAD - [`e6be4b8`](https://github.com/ubiquitarianism/leonida/commit/e6be4b83257615f618130c0f334b69a9e48e88b1) Merge remote-tracking branch 'origin/main' into HEAD - [`793c3f0`](https://github.com/ubiquitarianism/leonida/commit/793c3f0d1a8a18a1752ba94b5dea54befede19ec) Merge remote-tracking branch 'origin/main' into HEAD - [`09b4218`](https://github.com/ubiquitarianism/leonida/commit/09b42180ba2df7e49e2a532d45fe7dd827304a4a) Merge remote-tracking branch 'origin/main' into HEAD ### 📊 Changes **5 files changed** (+73 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `docs/design.md` (+2 -2) 📝 `tests/semantic/test_buffer_atomics_x2.py` (+3 -2) 📝 `tests/semantic/test_global_atomics.py` (+1 -1) 📝 `tests/semantic/test_global_atomics_x2.py` (+25 -2) 📝 `tools/rdna2spirv.py` (+42 -12) </details> ### 📄 Description > Carried over from **old PR 9909** by `LouisRiverstone` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9909`, 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): `global_atomic_add_x2`/`sub_x2` and `buffer_atomic_add_x2`/`sub_x2` raised `Unsupported`. This is the global and buffer counterpart of `#2738`, which does the same for `ds_add/sub_u64`. The global and buffer `_x2` paths weren't in `#2738`, and no one had claimed them. Re-submission of `#3065`. `#3065` 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 `#3065` by: TheMrBeez (the GPU), bobcatchris (Pro V540), zzEmmazz (main 16282101), theswiss24 (RTX 2060 SUPER), DenRakEiw (Windows 11), kapitche (native Windows), DavidM1911 (two Vulkan devices), tylerstraub (RTX 5090), GustawMatuszewski (two devices. Ubuntu 26.04.1), Sangonapou (RTX 3080 Ti Laptop), YordiLorenzo (RTX 5090), leonidassupporter (RTX 3060 Ti) and 2 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>
4ld0 2026-11-26 20:17:12 +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#229
No description provided.