mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:05:53 +01:00
[PR #175] [CLOSED] rdna2spirv: v_writelane_b32 reads its destination (SHADER-768) #226
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#226
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/175
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:old-pr/9910📝 Commits (4)
d73fabdread_before_write_vgprs: v_writelane_b32 keeps its destination's other lanes (SHADER-768)7b3145eMerge remote-tracking branch 'origin/main' into HEADbe4ce32Merge remote-tracking branch 'origin/main' into HEAD0704e43Merge remote-tracking branch 'origin/main' into HEAD📊 Changes
2 files changed (+112 additions, -12 deletions)
View changed files
➕
tests/semantic/test_writelane_read_before_write.py(+82 -0)📝
tools/rdna2spirv.py(+30 -12)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):SHADER-768, from the "Up for grabs" table in
#4257:read_before_write_vgprscountedv_writelane_b32as a full write of its destination.v_writelane_b32 vD, sSRC, sLANEwrites one lane ofvDand keeps every other lane's value. The translator's own emission loads the oldvDand selects per lane. So the valuevDheld before is read, and a shader whose first touch of a VGPR is a writelane should report that VGPR as read before written.Re-submission of
#4297.#4297was 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 currentmain.Checked on
#4297by: theswiss24 (RTX 4070), JRamos1993 (RTX 5090), kapitche (Linux), javdc (Steam Deck LCD), mrloic (RTX 4060), wavehs (Apple M3 Pro), TG0000 (RX 6800), matheusfermiano-source (main867d922f0)).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.