AnyPS5/core
STL1te 5693c77efb fix(shader): BDA lookup functions are not inlined
NVIDIA's compiler inlines every call of the BDA lookup functions, each with its binary-search
loop, and then spends minutes compiling shaders with a few hundred guest memory accesses. Marked
DontInline, they compile in seconds. Pipeline creation without the driver cache, NVIDIA RTX PRO
6000 Blackwell:

| Shader       | SPIR-V words | Inlined  | DontInline |
|--------------|--------------|----------|------------|
| 0x25b1e8600  | 280168       | 104.4 s  | 4.8 s      |
| 0x7ff6df189d00 | 95698      | 86.3 s   | 1.5 s      |
| 0x25b27ce00  | 39959        | 6.0 s    | 0.45 s     |
| 0x25b27e400  | 40640        | 6.6 s    | 0.48 s     |
| 0x7ff6df2a8000 | 69179      | 5.7 s    | 1.1 s      |
| 0x7ff6df253400 | 90491      | 4.1 s    | 0.74 s     |
| 0x7ff6df256700 | 92459      | 4.0 s    | 0.69 s     |

The menu renders 3311 frames in 120 s against 3325 without the change; the story mode load takes
the same time and GPU dispatch time in both builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 7615af4d4dd31581f52aa5d88118c73435fd6ae9)
2026-09-30 12:00:40 +03:00
..
Decoder/Jpeg fix(jpegenc): hide shared encoder symbols and document grayscale output 2026-09-29 15:17:27 +01:00
libs fix(libc): the process starts in the root directory again 2026-09-30 11:15:29 +03:00
relinker style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
shader/recompiler fix(shader): BDA lookup functions are not inlined 2026-09-30 12:00:40 +03:00