mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:40:52 +01:00
[PR #930] [MERGED] rdna2spirv: write out a carry-out subtract of a register from itself (AMD Windows driver crash) (SHADER-SUB-CO-SAME) #968
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#968
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/930
Author: @fin-github
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @aslan2142
Base:
main← Head:shader/sub-co-same-operand📝 Commits (1)
474dbe2rdna2spirv: write out a carry-out subtract of a register from itself (AMD Windows driver crash)📊 Changes
3 files changed (+216 additions, -11 deletions)
View changed files
📝
docs/design.md(+1 -0)➕
tests/semantic/test_sub_co_same_operand.py(+194 -0)📝
tools/rdna2spirv.py(+21 -11)📄 Description
Claimed in the coordination issue as:
SHADER-SUB-CO-SAME(https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135362620)Supersedes draft #324, carried over from the original repository. This is the same commit rebased onto current
main, with the original author (Wail) kept andgit cherry-pick -xrecording where it came from. The change and its explanation are theirs; see #324 for the original description.Rebase note: one conflict in
docs/design.md, wheremainhad rewritten the neighbouring push-constant row. I keptmain's row and inserted the new carry-out row before it.Tested
tests/semantic/test_sub_co_same_operand.py: 6 tests pass.python -I scripts/run_semantic_tests.py tests/semantic: 466 files, 6114 tests, 0 failed.crosslane_fuzz.py --seed 880317 --wave 64 --w64-nativeon AMD's proprietary Windows driver 25.30, Ryzen 5 7600X iGPU, gfx1036) needs llvm-mc with the AMDGPU target, which isn't installed on this machine yet. I'll post the before/after result here.python -I scripts/check_no_game_data.pyon the changed files: clean.Windows 11 (10.0.26200), Python 3.14.4. No game files, nothing online.
AI-assisted (Claude Code): rebasing, conflict resolution and test runs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.