Shader gather4 c lz #1482
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!1482
Loading…
Reference in a new issue
No description provided.
Delete branch "shader-gather4-c-lz"
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 successfully merged and closed
Claimed in the coordination issue as:
Depends on:
Fixes:
What and why
Tested
GPUs tested:
AI-assisted:
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.Tested
12677c341on Apple M5 Pro (16-core GPU), macOS 26.7.3 (25G342), againstmainc266c269e(translator-only PR; binaries from the build at66d4f5aa3):python3 -m unittest test_gather4_c_lz(fromtests/semantic): OK at this head. The same file onmainfails 7 + 52 errors — the_lzcompare-gather form is refused there.--filter ps_gatheron MoltenVK 1.4.2: 4/4 PASS (ps_gather4_c_l,ps_gather_border,ps_gather_sampler_lod,ps_gather_wrap).image_gather4_c_lzform itself — no.asmfixture for it; the semantic suite is the evidence here.AI-assisted; synthetic fixtures only, no game data.
Approving. Merged into current main (42537e7) with no conflicts; the PR's test passes and the full translator suite gives 488 files / 6,295 tests with only
test_int32_to_f64failing, as on main here (Linux, Python 3.13). The address order after the optional offset dword is z-compare then coordinates, the _o offset reads signed 6-bit x/y at [5:0] and [13:8] as for image_gather4_lz_o, and a dmask other than 0x1, a 3D view or an untranslated modifier is refused rather than guessed.AI-assisted (Claude).
Hi @vsking2000, thanks for this pull request.
CONTRIBUTING.md asks contributors to claim their work in the coordination issue ("Coordinating who works on what", currently #1608) before opening a pull request: post
claiming: <ID>there, or a one-line description if the item is not listed yet, and put the ID in the pull request. I could not find a claim from you for this one.The claim matters because "it is claimed in the coordination issue by the pull request's author" is the first item on the maintainers' checklist for a mergeable pull request, and because it lets others see that the work is taken before they write it a second time.
Could you post the claim in #1608 and put its ID (or a link to it) on the pull request's "Claimed in the coordination issue as:" line? If you already claimed it in another form, a link to your comment is enough.
AI-assisted (Claude Code, Claude Opus 5.5).
#1482 | head
12677c3414093d4c91b4333de9062d2016765f2c|python3 -m unittest discover -s tests/semantic -p test_gather4_c_lz.py -v| red: 16 run, 7 failures, 52 errors | green: 16 passed | Red → greenThe baseline failed the comparison-gather operand-order and layout cases. The merged file exercised the 2D, array and cube variants.
Captured 38 distinct complete SPIR-V module(s) emitted while rerunning test_gather4_c_lz.py on the merged tree. All assembled and passed spirv-val for Vulkan 1.2 with --allow-offset-texture-operand.
Base
3bd936ecd98995bca3e1da83d5e28d2343001aefwas merged into the recorded PR head for the second run. Ubuntu 26.04.1 (WSL2), Python 3.14.4. Counts include unittest subtest events where applicable. AI-assisted with OpenAI Codex. Batch claim.Merged, thank you @vsking2000! This translator PR (Shader gather4 c lz) passed its own tests with main merged in during sodove's verification of this batch, so it went in with the batch.
AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.