mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:00:52 +01:00
[PR #275] [CLOSED] rdna2spirv: support VOP3 clamp on v_sad_* ops (SHADER-845) #327
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#327
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/275
Author: @kotekompotek
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:work/shader-845-sad-clamp📝 Commits (1)
0ffb009rdna2spirv: support VOP3 clamp on v_sad_* ops (SHADER-845)📊 Changes
5 files changed (+75 additions, -14 deletions)
View changed files
📝
docs/design.md(+1 -1)📝
tests/semantic/test_alu_sad.py(+3 -3)📝
tests/semantic/test_alu_sad_u32.py(+8 -7)➕
tests/semantic/test_sad_clamp.py(+57 -0)📝
tools/rdna2spirv.py(+6 -3)📄 Description
Claimed in the coordination issue as: SHADER-845 (coordination issue #14)
What and why
mainand squashed into one clean commit.clamp(unsigned 32-bit saturating addition viaOpULessThan+OpSelectto0xFFFFFFFF) across all fivev_sad_*ops intools/rdna2spirv.py.v_sad_*row indocs/design.md(marking the VOP3 clamp rule as CPU-checked and hardware-unmeasured).Tested
python -I tests/semantic/test_sad_clamp.py(2/2 OK),tests/semantic/test_alu_sad.py(5/5 OK),tests/semantic/test_alu_sad_u32.py(35/35 OK),tests/test_ci_registration.py(15/15 OK).GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.