revert(shader): restore pixel helper lanes in guest lane masks (#11199) #12298

Merged
oneandonlydean merged 1 commit from upstream-pr/12298 into main 2026-10-28 09:57:32 +00:00
oneandonlydean commented 2026-10-28 08:16:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-28T08:16:30Z.


What

Reverts #11199 (merge 7fc0ae6008), putting helper lanes back into pixel shader ballots and lane masks.

On NVIDIA, helper lanes take part in ballots and execute, so before #11199 a helper's mask bits matched its own compare results. Clearing them from every pixel ballot gives helpers a value the console's helpers would not get, and derivatives taken against them break along triangle edges. In PPSA21564 the cloud surface is covered in thin bright lines and dotted specks about 100 s after the level starts. On the author's AMD driver the filter was effectively a no-op, which is why it didn't show there. Details and the two likely paths are in the report on #11199.

Tested

NVIDIA GeForce RTX 4090, Linux, Release build, PPSA21564 level start, two warm runs each, #11199's head 5f10d0a229 against its base:

Before (base) After (#11199)
before after

High-frequency energy on that region: 0.22 on the base, 0.69 with #11199. Dreaming Sarah showed no difference either way. The revert itself is a clean git revert -m 1 of the merge with no conflicts; a game run on this exact tree will follow here.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 4090, Linux
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5047346595 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12298). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-28T08:16:30Z. --- ### What Reverts #11199 (merge `7fc0ae6008`), putting helper lanes back into pixel shader ballots and lane masks. On NVIDIA, helper lanes take part in ballots and execute, so before #11199 a helper's mask bits matched its own compare results. Clearing them from every pixel ballot gives helpers a value the console's helpers would not get, and derivatives taken against them break along triangle edges. In PPSA21564 the cloud surface is covered in thin bright lines and dotted specks about 100 s after the level starts. On the author's AMD driver the filter was effectively a no-op, which is why it didn't show there. Details and the two likely paths are in the report on #11199. ### Tested NVIDIA GeForce RTX 4090, Linux, Release build, PPSA21564 level start, two warm runs each, #11199's head `5f10d0a229` against its base: | Before (base) | After (#11199) | |---|---| | ![before](https://raw.githubusercontent.com/oneandonlydean/AnyPS5/24c3970edd186cc87c5089c6258401939e9efc8c/pr11199-helper-lanes/before-crop.png) | ![after](https://raw.githubusercontent.com/oneandonlydean/AnyPS5/24c3970edd186cc87c5089c6258401939e9efc8c/pr11199-helper-lanes/after-crop.png) | High-frequency energy on that region: 0.22 on the base, 0.69 with #11199. Dreaming Sarah showed no difference either way. The revert itself is a clean `git revert -m 1` of the merge with no conflicts; a game run on this exact tree will follow here. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's technical debt file - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: NVIDIA GeForce RTX 4090, Linux - [x] AI-assisted: yes
MarcZX10 commented 2026-10-28 08:45:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T08:45:07Z.

Review: CHANGES_REQUESTED


The revert rationale is supported by the NVIDIA comparison described here, and the change is a clean revert of #11199. The required conventions check is currently failing on both the PR title and the revert commit subject: Revert "fix(shader): ..." does not satisfy this repository’s Conventional Commits rule. Please rename the PR title and rewrite the commit subject in the accepted format, then rerun conventions. The Windows/relinker jobs pass; Linux GPU tests are skipped, and the exact revert tree has not yet been run in the cited game according to the PR body.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5679932840 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12298#pullrequestreview-5679932840). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-28T08:45:07Z. **Review:** CHANGES_REQUESTED --- The revert rationale is supported by the NVIDIA comparison described here, and the change is a clean revert of #11199. The required conventions check is currently failing on both the PR title and the revert commit subject: `Revert "fix(shader): ..."` does not satisfy this repository’s Conventional Commits rule. Please rename the PR title and rewrite the commit subject in the accepted format, then rerun conventions. The Windows/relinker jobs pass; Linux GPU tests are skipped, and the exact revert tree has not yet been run in the cited game according to the PR body.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!12298
No description provided.