[PR #938] [MERGED] spirv_asm: refuse an output that aliases the source (SPIRV-ASM-INPUT-ALIAS) (DRAFT-293) #976

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/938
Author: @fin-github
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD

Base: main ← Head: draft/293


📝 Commits (1)

  • 4458c2a spirv_asm: refuse an output that aliases the source

📊 Changes

2 files changed (+33 additions, -0 deletions)

View changed files

📝 tests/test_spirv_asm.py (+30 -0)
📝 tools/spirv_asm.py (+3 -0)

📄 Description

Claimed in the coordination issue as: DRAFT-293 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135362620)

Supersedes draft #293, carried over from the original repository. This is the same commit rebased onto current main, with the original author (Igor Borges) kept and git cherry-pick -x recording where it came from. The change and its explanation are theirs; see #293 for the original description.

Rebase note: one conflict in the imports of tools/spirv_asm.py, where main now imports more names from spirv_asm_tables. I kept main's import and added from report_paths import same_report_path above it.

Tested

  • python -I tests/test_spirv_asm.py: OK (1 skipped)
  • python -I scripts/check_no_game_data.py on 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.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/938 **Author:** [@fin-github](https://github.com/fin-github) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/24/2026 **Merged by:** [@QemmHD](https://github.com/QemmHD) **Base:** `main` ← **Head:** `draft/293` --- ### 📝 Commits (1) - [`4458c2a`](https://github.com/ubiquitarianism/leonida/commit/4458c2a8b1978385ae8c20bb02d583b6ba0e224c) spirv_asm: refuse an output that aliases the source ### 📊 Changes **2 files changed** (+33 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_spirv_asm.py` (+30 -0) 📝 `tools/spirv_asm.py` (+3 -0) </details> ### 📄 Description Claimed in the coordination issue as: `DRAFT-293` (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135362620) Supersedes draft #293, carried over from the original repository. This is the same commit rebased onto current `main`, with the original author (Igor Borges) kept and `git cherry-pick -x` recording where it came from. The change and its explanation are theirs; see #293 for the original description. Rebase note: one conflict in the imports of `tools/spirv_asm.py`, where `main` now imports more names from `spirv_asm_tables`. I kept `main`'s import and added `from report_paths import same_report_path` above it. ### Tested - `python -I tests/test_spirv_asm.py`: OK (1 skipped) - `python -I scripts/check_no_game_data.py` on 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:19:40 +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#976
No description provided.