mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:55:52 +01:00
[PR #187] wave64_halves: a vote on EXEC ends with a new EXEC, plus GPU test ps_w64_c_vote_rewrite (SHADER-820) #239
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#239
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/187
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9919📝 Commits (6)
7bfba13wave64_halves: a rewritten vote mask leaves a stale vote, reported as unsafe-vote-branche877a6fGPU test ps_w64_c_vote_rewrite: a vote whose mask is rewritten before its branch8738952Merge origin/main: keep main's SHADER-820 rule, this PR now adds its GPU fixture2dd34bawave64_halves: a vote on EXEC ends when EXEC gets a new value that leaves SCC alone (SHADER-820)6fedb88GPU test ps_w64_c_vote_exec: a vote on EXEC whose EXEC is restored before the branch (SHADER-820)54d8cd3Merge remote-tracking branch 'origin/main' into HEAD📊 Changes
7 files changed (+109 additions, -2 deletions)
View changed files
📝
docs/design.md(+1 -1)➕
runtime/test/shaders/ps_w64_c_vote_exec.asm(+31 -0)➕
runtime/test/shaders/ps_w64_c_vote_rewrite.asm(+33 -0)📝
runtime/test/shaders/w64_graphics.py(+2 -0)📝
tests/semantic/test_wave64_halves_soundness.py(+31 -0)📝
tests/test_wave64_halves_fixtures.py(+2 -0)📝
tools/wave64_halves.py(+9 -1)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):SHADER-820: the GPU fixture for the rewritten-vote-mask rule.
Status after
mainmoved. The rule itself is onmainas2cbc8e046, which is this PR's first commit: a vote on a mask ends when the mask register is rewritten before the branch, so the branch is tier Ctainted-branch.main's tests now expect that result. This PR had later changed it to a "stale vote" reported asunsafe-vote-branch, but only to satisfy an older test. Both tiers are C, so the change is dropped, andtools/wave64_halves.py,docs/design.mdandtests/semanticaremain's.Re-submission of
#4620.#4620was 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
#4620by: theswiss24 (two GPUs in a Dell Latitude 5501), Atomic258 (3.15.2), kapitche (WSL2 Ubuntu), sperm (RX 9070 XT), SweatierKey (Linux), AwkGrep256 (Linux), KkelebekK (780M), sennecools (main561b65a8) on Windows 11 with AM), lunarminus (760M).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.