Frosted glass: VICTORY_KILL_CONTINUE=1 stops the blinking grey lines #195

Manually merged
github merged 1 commit from github-bot/gh-195 into main 2026-12-02 23:01:33 +00:00 AGit
Owner

@⁠kyle41313 on GitHub · 2026-12-02 14:08 UTC · original
kyle41313:fix/frosted-glass-lines → main · +4623 −380 · 46 files · 94 commits · merged 2026-12-02 22:59 UTC

Fixes #192.

Change. A pixel program's per-lane kill becomes a demote instead of discard plus return, so every lane runs on and later 2x2 quad reads see the right values. In blocks that branch quad-wide or wave-wide, the discard takes each lane's own condition. Adds the test a_killed_pixel_stays_in_its_quad. Off by default; in the shader cache key.

Tested. RX 9070 XT, RADV, Proton Experimental 11.0, ray tracing off. In game: the lines were gone on the bathroom and bedroom windows. Compiles on d044248 without warnings. Shader suite results are in #192.

Limits. Changes every pixel program with a kill when on; only the house windows were checked.

**@⁠kyle41313** on GitHub · 2026-12-02 14:08 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/195) `kyle41313:fix/frosted-glass-lines` → `main` · +4623 −380 · 46 files · 94 commits · merged 2026-12-02 22:59 UTC Fixes #192. **Change.** A pixel program's per-lane kill becomes a demote instead of discard plus return, so every lane runs on and later 2x2 quad reads see the right values. In blocks that branch quad-wide or wave-wide, the discard takes each lane's own condition. Adds the test `a_killed_pixel_stays_in_its_quad`. Off by default; in the shader cache key. **Tested.** RX 9070 XT, RADV, Proton Experimental 11.0, ray tracing off. In game: the lines were gone on the bathroom and bedroom windows. Compiles on d044248 without warnings. Shader suite results are in #192. **Limits.** Changes every pixel program with a kill when on; only the house windows were checked.
A pixel program's per-lane kill was translated as discard plus return, so quad reads after it took values from
departed lanes; frosted glass showed grey lines and dot grids blinking (2026-12-01, the house, ray tracing off).
With the switch the kill becomes a demote and every lane goes on down the live side, as killed pixels run on as
helpers on the console. Fitted to this tree: in blocks that branch quad-wide or wave-wide (helped, wide) the
discard takes each lane's own condition, not the quad's, which the ported test a_killed_pixel_stays_in_its_quad
caught. Live: the lines are gone on the bathroom and bedroom windows. Off unless set; the shader cache keys on it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 14:10:17 +00:00
github manually merged commit 837007cfcf into main 2026-12-02 23:01:32 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.