shader: generalize verified non-returning wide image maxima #49

Manually merged
github merged 1 commit from gh-pr/49/head into gh-pr/49/base 2026-11-26 06:27:42 +00:00
Owner

@⁠Valdi320 on GitHub · 2026-11-24 11:50 UTC · original
Valdi320:work/scarlett-verified-wide-atomic → main · +233 −10 · 5 files · 1 commits · merged 2026-11-24 13:45 UTC

The public ProjectScarlett log in #39 contains four two-word IMAGE_ATOMIC_UMAX refusals. The current generic pixel path admits the exact non-returning 2D DMASK=3 encoding only for an entry named HWRasterizePS. Apply the existing width proof to other pixel entry names, require a unique reflected typed UAV at the resolved binding and reject mixed widths or buffer accesses (including selected descriptors). Guard against VGPR pair overflow. Unsupported encodings and returned-value variants remain unsupported.

Validation on Bazzite:

  • 66 compiler unit tests passed, including synthetic native UMAX binding and emission independent of entry name and mixed/unverified access rejection.
  • Actual emitted atomic instruction embedded in a synthetic pixel test. DXC ps_6_6 / DXV validation passed. RTX 4080 and stock Proton report typed 64-bit atomic support. Three competing-fragment render controls using a real R32G32_UINT UAV: 741 texels matched CPU unsigned-max oracle, zero mismatches, including masked fragments and untouched texels.
  • Reproduction tool and JSON receipt included.

The PSV typed binding does not independently identify the runtime format; the test specifically binds R32G32_UINT. No retail requests recompiled; no claim that all four refusals are fixed. AI-assisted contribution.

**@⁠Valdi320** on GitHub · 2026-11-24 11:50 UTC · [original](https://github.com/brcly/TuxBox/pull/49) `Valdi320:work/scarlett-verified-wide-atomic` → `main` · +233 −10 · 5 files · 1 commits · merged 2026-11-24 13:45 UTC The public ProjectScarlett log in #39 contains four two-word IMAGE_ATOMIC_UMAX refusals. The current generic pixel path admits the exact non-returning 2D DMASK=3 encoding only for an entry named HWRasterizePS. Apply the existing width proof to other pixel entry names, require a unique reflected typed UAV at the resolved binding and reject mixed widths or buffer accesses (including selected descriptors). Guard against VGPR pair overflow. Unsupported encodings and returned-value variants remain unsupported. Validation on Bazzite: - 66 compiler unit tests passed, including synthetic native UMAX binding and emission independent of entry name and mixed/unverified access rejection. - Actual emitted atomic instruction embedded in a synthetic pixel test. DXC ps_6_6 / DXV validation passed. RTX 4080 and stock Proton report typed 64-bit atomic support. Three competing-fragment render controls using a real R32G32_UINT UAV: 741 texels matched CPU unsigned-max oracle, zero mismatches, including masked fragments and untouched texels. - Reproduction tool and JSON receipt included. The PSV typed binding does not independently identify the runtime format; the test specifically binds R32G32_UINT. No retail requests recompiled; no claim that all four refusals are fixed. AI-assisted contribution.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:27:40 +00:00
github manually merged commit 2a7fd4867a into gh-pr/49/base 2026-11-26 06:27:42 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.