fix(shader): evaluate signed minimum in runtime SRT expressions #2790
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2790"
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 tototomate123 on 2026-10-10T15:00:37Z.
What
Split from #1616, following its review. Evaluate
SMin32in runtime SRT expressions with signed comparison, matching the existing IR/GPU lowering. No new GPU opcode is introduced.Tested
Linux x86-64, GCC 16.2.1, Release.
agc_shader_memorypasses, including signed-min cases around zero, INT_MIN and INT_MAX. Conventions and whitespace checks pass on current main (5edae353).Depends on
None for build. HFW integration also needs #2785 (relinker), #2786 (loader), #2787 (filesystem), #2788 (http), #2789 (apr). #1269 (media), #1339 (VRR), #1586 (unwind) and #1436 (imports) are now on main. Local image-table experiments are excluded; open #757 → #758 overlaps them, and #920 is closed without merging. Earlier combined integration reached menu/loading UI; these isolated branches have not been game-tested and gameplay is unverified.
Checklist
main; no duplicate implementation found beyond superseded #1616Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T15:01:56Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T07:23:56Z.
Checked the build and
agc_shader_memoryon Linux (GCC) with the PR merged onto main, and the new test fails without the evaluator change.SMin32now matches the signed lowering inEmitSMin32and the constant folder; merging.