fix(shader): fold current s_wqm pixel lane #4033
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4033"
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?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T21:41:52Z.
What
Fold the current lane’s s_wqm bit to true for the supported pixel shader pattern, allowing the constant folder to remove the pixel ancillary select chain. Regression cases ensure unsupported patterns remain unchanged. This carries the fix for #2548; the original commit author is preserved.
Tested
Checklist
Provenance: carries ThatsLeo’s fix from #2548; the commit author remains ThatsLeo.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T21:42:01Z.
Linux validation report:
pixel_ancillary_testsbuilt successfully with GCC 12.2 / Ninja in Release mode, and CTestpixel_ancillarypassed (1/1) on the latest rebased commit. This validates the positive and negative cases in the suite; I did not run a game or PS5 hardware test.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T21:52:11Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/shader/recompiler/Optimization/src/ConstantFolder.cppL655-656core/libs/tests/PixelAncillary.cppL429, L478core/shader/recompiler/Optimization/src/ConstantFolder.cppL655-656Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T22:50:23Z.
The earlier conventions failure is superseded by the successful run on the current head. The latest conventions, eligibility, intake, relinker and register-context checks pass; the full Linux and Windows jobs are skipped by repository policy.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T23:37:39Z.
I checked the current checks on this PR after the earlier failure report. The latest conventions run and all current required checks pass; the failure shown in the older check attempt was superseded. The shader regression test was reported passing on the current PR head.