feat: macOS on Apple Silicon host support (Rosetta 2 and MoltenVK) #7332

Closed
ycarogabriel-lgtm wants to merge 363 commits from upstream-pr/7332 into main
ycarogabriel-lgtm commented 2026-10-18 00:42:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ycarogabriel-lgtm on 2026-10-18T00:42:48Z.


What

macOS on Apple Silicon as a host: relinked titles run as x86-64 Mach-O under Rosetta 2 and draw through MoltenVK. This branch brings the community's open macOS pull requests together on current main, runs their test suites on an Apple Silicon Mac, and adds the fixes that only showed up once everything ran together. It is meant as one reviewable picture of the port; each part can still be taken from its own pull request, and I am glad to split it further, reduce it onto whichever of the overlapping PRs the maintainers prefer, or close it.

Integrated pull requests (merged or cherry-picked, conflicts resolved against current main)

  • mugurc's macOS series (ci/macos-series-*): Mach-O TLS, main thread for AppKit, module info, memory protection and guest pages, MoltenVK device, AGC thread priority, single SDL audio, LoadExec (#4627, #4630, #6248 and the rest of the series)
  • yripper: guest arena on macOS (#6124), MoltenVK draws without unrestricted depth, I/J from barycentric built-ins, module-relative code offsets
  • DavidSamir: #6410, #6419, #6448, #6458, #6667, #6668, #6685, #6767, #6802, #6836, #7974 (file-backed mmap on macOS); its prerequisite #7937 overlaps this branch's JIT path. #6686 is already in main
  • jotitadev: #7886 enables MoltenVK in nine previously skipped AGC fixtures; the macOS device extensions are completed here
  • #3962 (ahir061), #6111 (Kernel-Hunter), #6164 (011010), #6647 (binarycleric), #6969 (jotitadev), #7173 (MarcZX100), #7361 (RockENZO), #7519 and #7706 (Destroyers212x), #6842 (milescoviello), #7634 (imellag), #7559 and #7631 (mugurc; #7559 replaces this branch's own SO_ACCEPTCONN helper, and #7631 was already contained)

Ported from #7201 (marion909's port; each commit is co-authored by @marion909, as @blawesom suggested reconciling the two)

  • every SPIR-V loop gets its own continue block, because SPIRV-Cross otherwise folds a continue construct holding the loop body into the for increment and drops the header phi updates, which hung the GPU
  • the last 32 draws and dispatches are listed when the GPU fails, and APS5_DUMP_DRAW_SHADER dumps every stage of the draws that use one shader
  • HTILE fills remain on the GPU; the experimental CPU fill path was reverted after M4 Pro frame traces showed stalls
  • host frames without DWARF unwind info (the prx dylibs and system libraries carry only compact unwind) are stepped with the system libunwind; exception_runtime now runs on macOS
  • the Vulkan library is found by the loader's and MoltenVK's usual names, or named with ANYPS5_VULKAN_LIBRARY
  • zero-area rect-list rectangles are culled instead of faulting on MoltenVK

Not ported from #7201, with the reason: AF_UNIX seqpacket pairs emulated over datagram sockets (XNU reports ECONNRESET and EDESTADDRREQ where FreeBSD's seqpacket gives EOF and EPIPE, so they stay refused as the debt file says); sendto with an address on a connected UDP socket turned into send (FreeBSD returns EISCONN, which guest_udp checks); presenting from the host main thread and its own guest runtime base (this branch already has equivalent, tested paths from mugurc and yripper); the AvPlayer end-of-stream wake-up (generic logic gated on __APPLE__ with no test that reproduces the problem).

From the review and title runs on this PR (thanks @jotitadev and @imellag)

  • guest modules are opened RTLD_GLOBAL on the macOS host, because relinked modules bind imports by flat lookup and dyld leaves RTLD_LOCAL images out of it; this is what stopped FMOD Studio from loading in Planet of Lana and God of War: Sons of Sparta. The guest's own dlsym scope is unchanged and guest_dynamic_loader now checks it
  • #6842 (milescoviello) is merged in, which fixes the IL2CPP heap-hook crash at God of War's start-up
  • precise waits sleep three quarters of the interval on macOS and spin the rest, since XNU adds about a quarter of leeway to every timed sleep; precise_wait now passes 10 of 10 on the M1 (it was 3 of 6, and 0 of 10 on the M4 Pro)
  • tools/macos/setup-game.sh unwraps with tools/unwrap_self.py, which accepts both SELF magics, instead of a duplicate that refused 0xEEF51454 dumps
  • XNU's occasional reset on a full loopback accept backlog: a blocking loopback connect that gets ECONNRESET is retried on a new socket put on the same descriptor, as @jotitadev worked out and measured (guest_refused_connect 90/90 on his M2 Max against 0/30 without it); co-authored
  • repeated shutdown calls and a shutdown after the peer closed answer as FreeBSD does, from @jotitadev's diagnosis and test; co-authored
  • guest_socket_read_write: the closed-peer write loop rides out XNU's asynchronous reset, from @jotitadev's root cause and test-only fix; co-authored
  • the macOS-only CPU path for HTILE fills (ported from #7201) is reverted: @imellag measured it costing most of the frame in Planet of Lana (menu 8.2 against 21.9 fps with the fills on the GPU)
  • exact f32 add, subtract and multiply are emitted as inline fma on MoltenVK instead of SPIRV-Cross's optnone helper calls, as @imellag found and measured (menu 22.1 to 40.6 fps, GPU time per frame about halved in gameplay, eight fewer GPU failures); the commit (a243f0c93) is his change behind a SpirvTarget flag, as he proposed

Upstream tests that only ran on Linux, now run on macOS

  • named shared memory: shm_open/shm_unlink of named objects work on macOS as files in $TMPDIR/anyps5-shm (XNU's POSIX shm takes names of at most 31 characters and refuses fchmod, O_TRUNC and a second ftruncate); guest_named_shm_open, _lifecycle, _permissions and _concurrency run there. Guest mmap of files and shm objects now uses the Linux path on macOS, and EBADF for empty-vector writes on read-only descriptors matches the console
  • the guest errno is the host errno, and on macOS the C++ runtime can change it while releasing an exception, so the posix memory calls now set it again after their catch blocks (a refused mprotect reported ENOENT instead of EACCES)
  • sceLibcBacktraceGetBufferSize/sceLibcBacktraceSelf work on macOS (guest_backtrace); exception_c_cleanup and guest_getlogin_no_session run too
  • still Linux-only, with the reason: the audio port-lock and resampling tests and the two shm descriptor-reuse tests interpose host functions through ELF symbol preemption, which the two-level namespace does not allow; cpu_topology, guest_image_anonymous, guest_module_info and the ELF relinker execution tests read Linux-only interfaces (sched_getaffinity, /proc, ELF fixtures)

Fixes added here (XNU and Apple libc++ differences, each with a test that failed before)

  • sockets: a blocking loopback connect that XNU resets on a full accept backlog is retried on a new socket put on the same descriptor (the retry @jotitadev worked out and measured, co-authored); a repeated shutdown, or one after the peer closed, answers as FreeBSD does (his diagnosis and test, co-authored); SO_ACCEPTCONN through proc_pidfdinfo; shutdown(SHUT_RD) after the peer's SHUT_WR and on unconnected datagram sockets; urgent TCP data reported to poll through select; datagram byte counts from SO_NREAD in kevent, fstat and ioctl, because XNU's FIONREAD adds the sender address; IPv4-mapped answers dropped from IPv6 lookups
  • memory: JIT shared memory through a file kept linked while it is mapped; RWX file maps through RW then mprotect; munlockall unlocks each recorded range; macOS AGC page checks cache the logical protection after write-watch handling, following the page generation and access serial
  • libc: acosf through double; mktime before 1900; fflush leaves reading streams alone; host terminations forwarded to the guest's terminate; statics that guest threads still use at exit kept alive
  • files: getdirentries refuses plain files with EINVAL, as upstream now requires
  • SSL: Mbed TLS stays private to libSceSsl (hidden visibility, the macOS equivalent of --exclude-libs), so a program linking Mbed TLS keeps its own allocator
  • AGC on Metal: integer color targets (raw 32-bit exports bitcast to the target's signedness), per-sample sample masks, the input layer without the Geometry capability, image and sampler tables sized from update-after-bind limits, and the 11_11_10 float packing kept apart from raw integer exports
  • tests: the shared process-parameter fixture and the host import lifetime tests work on macOS, and the Bessel references use libm's jn/yn, as Apple's libc++ has no C++17 special math functions
  • build: libusb kept off pipe2, which the Xcode 27 SDK weak-links and macOS 26 lacks; the title launcher enables the nano allocator for Rosetta small allocations, with MallocNanoZone=0 available for comparison
  • web converter: macOS on Apple Silicon as a conversion target (Intel/Rosetta lowering forced on, macOS libraries optional)
  • docs/user/MACOS.md and tools/macos scripts to set up and launch a title
  • new upstream code on macOS: the performance overlay reads the private memory from TASK_VM_INFO; sRGB storage images keep their UNORM format because Metal encodes stores to sRGB textures; the AGC driver memory that #6160 maps at 0xfe0000000 is unavailable on this macOS host, so the driver starts without it and says so (AGC debt file)

Known limits (in the debt files)

  • Metal has no 64-bit floats or 64-bit atomics and MoltenVK has no VK_KHR_shader_clock, so those GPU tests fail by design.
  • Shared direct memory is copied instead of imported, so GPU stores through FLAT/GLOBAL addresses do not reach it.
  • KosmicKrisp in Vulkan SDK 1.4.363.0 is arm64-only and cannot be loaded by the x86-64 process under Rosetta.

Investigation notes (kept out of the repository): with MoltenVK 1.4.2, inline exact f32 FMA removes eight of the earlier AGC failures. The remaining failures in the last full run on the M1 were:

  • f32_constant_factor_tininess and f32_denormal_flush: Metal floating-point limits
  • the four clip/cull distance tests: MoltenVK offers no shaderCullDistance
  • tessellation: the instanced patch in column 0 does not take its colour from the relative patch index
  • pixel_interlock: MoltenVK does not compile raster_order_group on an argument-buffer field
  • rect_list_indirect: differs from the direct draw
  • image_plane_bias_on_single_level_volume: the device has no min/max sampler reduction
  • pixel_sample_iteration: an attachment-less 4x draw runs the fragment shader per sample on MoltenVK although the Metal function asks for no sample input
  • agc_driver_pooled_buffer_range from #7886 exposes a MoltenVK robust-buffer read that returns stale pooled bytes; the test was previously skipped on macOS
  • the new agc_driver_native_multisample_depth path passes but reports VUID-VkImageViewCreateInfo-imageViewFormatSwizzle-04465 under Vulkan validation, because MoltenVK reports imageViewFormatSwizzle unavailable
  • cross_workgroup_flag remains timing-sensitive: its waiting workgroup reads coherently, while the other workgroup's GLC store becomes a plain Metal store

Title runs by @imellag on an M4 Pro (details in the comments): Planet of Lana (PPSA19450) and God of War: Sons of Sparta (PPSA28997) stopped on the FMOD Studio load and, for God of War, the IL2CPP heap crash, both addressed above; with them they reach the menu and gameplay at about 10 and 15 to 27 fps, with background corruption that mostly follows the macOS write watch and is not solved here. ccleste (PPSA59322) stops on a pixel shader that reads barycentrics without a vertex shader before it, as in #5079. A native Metal backend and KosmicKrisp under a native arm64 host were assessed and are not part of this pull request.

Tested

  • Apple M1, macOS 26.6.2, x86-64 under Rosetta 2, AppleClang 21, MoltenVK 1.4.2 from Vulkan SDK 1.4.363.0. Release build with BUILD_TESTING=ON passed at b5fddb65c, with upstream main merged through 44e3389c8.
  • On the immediately preceding integration head 8ee809880, the non-GPU suite (ctest -E "^agc|video_?out|flip|display" -j4) passed 842/843. patched_libraries timed out on the cold run and passed when repeated alone; the five focused host tests passed. The serial MoltenVK AGC suite passed 794/808. Eleven failures are established MoltenVK/M1 limits or the documented pixel_sample_iteration gap; depth_bounds_state and graphics exposed merge errors that were fixed, and sgpr_pattern_fill_keys passed alone. The three fixed cases passed in a subsequent five-test run.
  • On integration head 43f0ba860, 13 focused tests passed: guest_interfaces_mac, guest_pthread_host_fault_mask, guest_raise_exception, guest_socket_read_write, guest_fstatfs, agc_driver_depth_bounds_state, agc_driver_graphics, agc_driver_pixel_barycentric_emulation, agc_driver_pooled_buffer_range, agc_driver_sgpr_pattern_fill_keys, agc_driver_stream_copy, and both gated-dispatch capture variants. After the subsequent seven-commit stdio merge, final head b5fddb65c built successfully and 10 focused stdio, descriptor, exception and host-fault-mask tests passed. Full suites were run before the last two upstream merges; the final head has build and focused-test coverage, not a repeated full suite.
  • The Apple-only host fault signal mask change follows Cloud-Multiplayer's issue #1 finding. The typed FragCoord load follows Alexius0815's M4 validation. Neither title behavior nor M4 validation was reproduced on this M1.
  • python3 tools/check_conventions.py --base origin/main: 0 errors. git merge-tree --write-tree HEAD origin/main equals the committed tree.
  • Linux and Windows were not tested locally; CI covers their paths. No title was run on this M1.

Checklist

  • Based on current main; no other open PR implements the same functions — it includes upstream main through 44e3389c8; it deliberately contains the open macOS PRs listed under Depends on and overlaps #7201, which ports macOS too
  • Scope review: the maintainer requested splitting this integration by topic before merge in the latest review; this integration PR is not merge-ready as one topic
  • 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
  • Documentation scope: this branch contains scoped technical-debt notes under docs/dev/debt/, without investigation attachments
  • New third-party code is a submodule built from source (none added)
  • Generic behaviour, not specific to one title
  • Depends on: #8249 (two overlapping shaderFloat64 test skips, credited to @MayankManas), #4627, #4630, #6448, #6741, #3962, #7173, #7361, #7519, #7634, #7559, #7631, #7706, #7886, #7937, #7974, #7804, #7850, #7695, #7741, #7651, #7426, #7728, #7524 (contained here; merging any of them first only shrinks this branch; #6111, #6124, #6164, #6248, #6410, #6419, #6458, #6647, #6667, #6668, #6685, #6686, #6767, #6802, #6836, #6842, #6853, #6927 and #6969 are already in main), and #7201 and #5021 (overlapping ports and consolidations, per the overlap comment)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: Apple M1 (8-core GPU), MoltenVK 1.4.2 from Vulkan SDK 1.4.363.0, macOS 26.6.2 (25G83); by reviewers: Apple M4 Pro (16-core GPU), MoltenVK 1.4.2, macOS 27.0.1
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4905219434 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332). Originally posted by [ycarogabriel-lgtm](https://github.com/ycarogabriel-lgtm) on 2026-10-18T00:42:48Z. --- ### What macOS on Apple Silicon as a host: relinked titles run as x86-64 Mach-O under Rosetta 2 and draw through MoltenVK. This branch brings the community's open macOS pull requests together on current `main`, runs their test suites on an Apple Silicon Mac, and adds the fixes that only showed up once everything ran together. It is meant as one reviewable picture of the port; each part can still be taken from its own pull request, and I am glad to split it further, reduce it onto whichever of the overlapping PRs the maintainers prefer, or close it. **Integrated pull requests** (merged or cherry-picked, conflicts resolved against current `main`) - mugurc's macOS series (`ci/macos-series-*`): Mach-O TLS, main thread for AppKit, module info, memory protection and guest pages, MoltenVK device, AGC thread priority, single SDL audio, LoadExec (#4627, #4630, #6248 and the rest of the series) - yripper: guest arena on macOS (#6124), MoltenVK draws without unrestricted depth, I/J from barycentric built-ins, module-relative code offsets - DavidSamir: #6410, #6419, #6448, #6458, #6667, #6668, #6685, #6767, #6802, #6836, #7974 (file-backed mmap on macOS); its prerequisite #7937 overlaps this branch's JIT path. #6686 is already in `main` - jotitadev: #7886 enables MoltenVK in nine previously skipped AGC fixtures; the macOS device extensions are completed here - #3962 (ahir061), #6111 (Kernel-Hunter), #6164 (011010), #6647 (binarycleric), #6969 (jotitadev), #7173 (MarcZX100), #7361 (RockENZO), #7519 and #7706 (Destroyers212x), #6842 (milescoviello), #7634 (imellag), #7559 and #7631 (mugurc; #7559 replaces this branch's own SO_ACCEPTCONN helper, and #7631 was already contained) **Ported from #7201** (marion909's port; each commit is co-authored by @marion909, as @blawesom suggested reconciling the two) - every SPIR-V loop gets its own continue block, because SPIRV-Cross otherwise folds a continue construct holding the loop body into the `for` increment and drops the header phi updates, which hung the GPU - the last 32 draws and dispatches are listed when the GPU fails, and `APS5_DUMP_DRAW_SHADER` dumps every stage of the draws that use one shader - HTILE fills remain on the GPU; the experimental CPU fill path was reverted after M4 Pro frame traces showed stalls - host frames without DWARF unwind info (the prx dylibs and system libraries carry only compact unwind) are stepped with the system libunwind; `exception_runtime` now runs on macOS - the Vulkan library is found by the loader's and MoltenVK's usual names, or named with `ANYPS5_VULKAN_LIBRARY` - zero-area rect-list rectangles are culled instead of faulting on MoltenVK Not ported from #7201, with the reason: AF_UNIX seqpacket pairs emulated over datagram sockets (XNU reports `ECONNRESET` and `EDESTADDRREQ` where FreeBSD's seqpacket gives EOF and `EPIPE`, so they stay refused as the debt file says); `sendto` with an address on a connected UDP socket turned into `send` (FreeBSD returns `EISCONN`, which `guest_udp` checks); presenting from the host main thread and its own guest runtime base (this branch already has equivalent, tested paths from mugurc and yripper); the AvPlayer end-of-stream wake-up (generic logic gated on `__APPLE__` with no test that reproduces the problem). **From the review and title runs on this PR** (thanks @jotitadev and @imellag) - guest modules are opened `RTLD_GLOBAL` on the macOS host, because relinked modules bind imports by flat lookup and dyld leaves `RTLD_LOCAL` images out of it; this is what stopped FMOD Studio from loading in Planet of Lana and God of War: Sons of Sparta. The guest's own `dlsym` scope is unchanged and `guest_dynamic_loader` now checks it - #6842 (milescoviello) is merged in, which fixes the IL2CPP heap-hook crash at God of War's start-up - precise waits sleep three quarters of the interval on macOS and spin the rest, since XNU adds about a quarter of leeway to every timed sleep; `precise_wait` now passes 10 of 10 on the M1 (it was 3 of 6, and 0 of 10 on the M4 Pro) - `tools/macos/setup-game.sh` unwraps with `tools/unwrap_self.py`, which accepts both SELF magics, instead of a duplicate that refused `0xEEF51454` dumps - XNU's occasional reset on a full loopback accept backlog: a blocking loopback `connect` that gets `ECONNRESET` is retried on a new socket put on the same descriptor, as @jotitadev worked out and measured (`guest_refused_connect` 90/90 on his M2 Max against 0/30 without it); co-authored - repeated `shutdown` calls and a `shutdown` after the peer closed answer as FreeBSD does, from @jotitadev's diagnosis and test; co-authored - `guest_socket_read_write`: the closed-peer write loop rides out XNU's asynchronous reset, from @jotitadev's root cause and test-only fix; co-authored - the macOS-only CPU path for HTILE fills (ported from #7201) is reverted: @imellag measured it costing most of the frame in Planet of Lana (menu 8.2 against 21.9 fps with the fills on the GPU) - exact f32 add, subtract and multiply are emitted as inline `fma` on MoltenVK instead of SPIRV-Cross's `optnone` helper calls, as @imellag found and measured (menu 22.1 to 40.6 fps, GPU time per frame about halved in gameplay, eight fewer GPU failures); the commit (`a243f0c93`) is his change behind a `SpirvTarget` flag, as he proposed **Upstream tests that only ran on Linux, now run on macOS** - named shared memory: `shm_open`/`shm_unlink` of named objects work on macOS as files in `$TMPDIR/anyps5-shm` (XNU's POSIX shm takes names of at most 31 characters and refuses `fchmod`, `O_TRUNC` and a second `ftruncate`); `guest_named_shm_open`, `_lifecycle`, `_permissions` and `_concurrency` run there. Guest `mmap` of files and shm objects now uses the Linux path on macOS, and `EBADF` for empty-vector writes on read-only descriptors matches the console - the guest errno is the host errno, and on macOS the C++ runtime can change it while releasing an exception, so the posix memory calls now set it again after their catch blocks (a refused `mprotect` reported `ENOENT` instead of `EACCES`) - `sceLibcBacktraceGetBufferSize`/`sceLibcBacktraceSelf` work on macOS (`guest_backtrace`); `exception_c_cleanup` and `guest_getlogin_no_session` run too - still Linux-only, with the reason: the audio port-lock and resampling tests and the two shm descriptor-reuse tests interpose host functions through ELF symbol preemption, which the two-level namespace does not allow; `cpu_topology`, `guest_image_anonymous`, `guest_module_info` and the ELF relinker execution tests read Linux-only interfaces (`sched_getaffinity`, `/proc`, ELF fixtures) **Fixes added here** (XNU and Apple libc++ differences, each with a test that failed before) - sockets: a blocking loopback `connect` that XNU resets on a full accept backlog is retried on a new socket put on the same descriptor (the retry @jotitadev worked out and measured, co-authored); a repeated `shutdown`, or one after the peer closed, answers as FreeBSD does (his diagnosis and test, co-authored); `SO_ACCEPTCONN` through `proc_pidfdinfo`; `shutdown(SHUT_RD)` after the peer's `SHUT_WR` and on unconnected datagram sockets; urgent TCP data reported to `poll` through `select`; datagram byte counts from `SO_NREAD` in kevent, fstat and ioctl, because XNU's `FIONREAD` adds the sender address; IPv4-mapped answers dropped from IPv6 lookups - memory: JIT shared memory through a file kept linked while it is mapped; RWX file maps through RW then `mprotect`; `munlockall` unlocks each recorded range; macOS AGC page checks cache the logical protection after write-watch handling, following the page generation and access serial - libc: `acosf` through double; `mktime` before 1900; `fflush` leaves reading streams alone; host terminations forwarded to the guest's terminate; statics that guest threads still use at exit kept alive - files: `getdirentries` refuses plain files with `EINVAL`, as upstream now requires - SSL: Mbed TLS stays private to libSceSsl (hidden visibility, the macOS equivalent of `--exclude-libs`), so a program linking Mbed TLS keeps its own allocator - AGC on Metal: integer color targets (raw 32-bit exports bitcast to the target's signedness), per-sample sample masks, the input layer without the Geometry capability, image and sampler tables sized from update-after-bind limits, and the 11_11_10 float packing kept apart from raw integer exports - tests: the shared process-parameter fixture and the host import lifetime tests work on macOS, and the Bessel references use libm's `jn`/`yn`, as Apple's libc++ has no C++17 special math functions - build: libusb kept off `pipe2`, which the Xcode 27 SDK weak-links and macOS 26 lacks; the title launcher enables the nano allocator for Rosetta small allocations, with `MallocNanoZone=0` available for comparison - web converter: macOS on Apple Silicon as a conversion target (Intel/Rosetta lowering forced on, macOS libraries optional) - `docs/user/MACOS.md` and `tools/macos` scripts to set up and launch a title - new upstream code on macOS: the performance overlay reads the private memory from `TASK_VM_INFO`; sRGB storage images keep their UNORM format because Metal encodes stores to sRGB textures; the AGC driver memory that #6160 maps at `0xfe0000000` is unavailable on this macOS host, so the driver starts without it and says so (AGC debt file) **Known limits** (in the debt files) - Metal has no 64-bit floats or 64-bit atomics and MoltenVK has no `VK_KHR_shader_clock`, so those GPU tests fail by design. - Shared direct memory is copied instead of imported, so GPU stores through FLAT/GLOBAL addresses do not reach it. - KosmicKrisp in Vulkan SDK 1.4.363.0 is arm64-only and cannot be loaded by the x86-64 process under Rosetta. **Investigation notes** (kept out of the repository): with MoltenVK 1.4.2, inline exact f32 FMA removes eight of the earlier AGC failures. The remaining failures in the last full run on the M1 were: - `f32_constant_factor_tininess` and `f32_denormal_flush`: Metal floating-point limits - the four clip/cull distance tests: MoltenVK offers no `shaderCullDistance` - `tessellation`: the instanced patch in column 0 does not take its colour from the relative patch index - `pixel_interlock`: MoltenVK does not compile `raster_order_group` on an argument-buffer field - `rect_list_indirect`: differs from the direct draw - `image_plane_bias_on_single_level_volume`: the device has no min/max sampler reduction - `pixel_sample_iteration`: an attachment-less 4x draw runs the fragment shader per sample on MoltenVK although the Metal function asks for no sample input - `agc_driver_pooled_buffer_range` from #7886 exposes a MoltenVK robust-buffer read that returns stale pooled bytes; the test was previously skipped on macOS - the new `agc_driver_native_multisample_depth` path passes but reports `VUID-VkImageViewCreateInfo-imageViewFormatSwizzle-04465` under Vulkan validation, because MoltenVK reports `imageViewFormatSwizzle` unavailable - `cross_workgroup_flag` remains timing-sensitive: its waiting workgroup reads coherently, while the other workgroup's GLC store becomes a plain Metal store Title runs by @imellag on an M4 Pro (details in the comments): Planet of Lana (PPSA19450) and God of War: Sons of Sparta (PPSA28997) stopped on the FMOD Studio load and, for God of War, the IL2CPP heap crash, both addressed above; with them they reach the menu and gameplay at about 10 and 15 to 27 fps, with background corruption that mostly follows the macOS write watch and is not solved here. ccleste (PPSA59322) stops on a pixel shader that reads barycentrics without a vertex shader before it, as in #5079. A native Metal backend and KosmicKrisp under a native arm64 host were assessed and are not part of this pull request. ### Tested - Apple M1, macOS 26.6.2, x86-64 under Rosetta 2, AppleClang 21, MoltenVK 1.4.2 from Vulkan SDK 1.4.363.0. `Release` build with `BUILD_TESTING=ON` passed at `b5fddb65c`, with upstream `main` merged through `44e3389c8`. - On the immediately preceding integration head `8ee809880`, the non-GPU suite (`ctest -E "^agc|video_?out|flip|display" -j4`) passed 842/843. `patched_libraries` timed out on the cold run and passed when repeated alone; the five focused host tests passed. The serial MoltenVK AGC suite passed 794/808. Eleven failures are established MoltenVK/M1 limits or the documented `pixel_sample_iteration` gap; `depth_bounds_state` and `graphics` exposed merge errors that were fixed, and `sgpr_pattern_fill_keys` passed alone. The three fixed cases passed in a subsequent five-test run. - On integration head `43f0ba860`, 13 focused tests passed: `guest_interfaces_mac`, `guest_pthread_host_fault_mask`, `guest_raise_exception`, `guest_socket_read_write`, `guest_fstatfs`, `agc_driver_depth_bounds_state`, `agc_driver_graphics`, `agc_driver_pixel_barycentric_emulation`, `agc_driver_pooled_buffer_range`, `agc_driver_sgpr_pattern_fill_keys`, `agc_driver_stream_copy`, and both gated-dispatch capture variants. After the subsequent seven-commit stdio merge, final head `b5fddb65c` built successfully and 10 focused stdio, descriptor, exception and host-fault-mask tests passed. Full suites were run before the last two upstream merges; the final head has build and focused-test coverage, not a repeated full suite. - The Apple-only host fault signal mask change follows [Cloud-Multiplayer's issue #1 finding](https://github.com/boykopovar/AnyPS5/issues/1#issuecomment-6281355607). The typed `FragCoord` load follows [Alexius0815's M4 validation](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6285985257). Neither title behavior nor M4 validation was reproduced on this M1. - `python3 tools/check_conventions.py --base origin/main`: 0 errors. `git merge-tree --write-tree HEAD origin/main` equals the committed tree. - Linux and Windows were not tested locally; CI covers their paths. No title was run on this M1. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions — it includes upstream `main` through `44e3389c8`; it deliberately contains the open macOS PRs listed under Depends on and overlaps #7201, which ports macOS too - [x] Scope review: the maintainer requested splitting this integration by topic before merge in [the latest review](https://github.com/boykopovar/AnyPS5/pull/7332#pullrequestreview-5584439817); this integration PR is not merge-ready as one topic - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] Documentation scope: this branch contains scoped technical-debt notes under `docs/dev/debt/`, without investigation attachments - [x] New third-party code is a submodule built from source (none added) - [x] Generic behaviour, not specific to one title - [x] Depends on: #8249 (two overlapping `shaderFloat64` test skips, credited to @MayankManas), #4627, #4630, #6448, #6741, #3962, #7173, #7361, #7519, #7634, #7559, #7631, #7706, #7886, #7937, #7974, #7804, #7850, #7695, #7741, #7651, #7426, #7728, #7524 (contained here; merging any of them first only shrinks this branch; #6111, #6124, #6164, #6248, #6410, #6419, #6458, #6647, #6667, #6668, #6685, #6686, #6767, #6802, #6836, #6842, #6853, #6927 and #6969 are already in `main`), and #7201 and #5021 (overlapping ports and consolidations, per the overlap comment) - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: Apple M1 (8-core GPU), MoltenVK 1.4.2 from Vulkan SDK 1.4.363.0, macOS 26.6.2 (25G83); by reviewers: Apple M4 Pro (16-core GPU), MoltenVK 1.4.2, macOS 27.0.1 - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-18 01:10:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-18T01:10:29Z.


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.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 4627 core/libs/prx/libc/CMakeLists.txt L735-738, L751-757
PR 5021 sceKernelGetModuleInfo
sceKernelGetModuleList
sceKernelGetdents
sceKernelGetdirentries
strtoimax_nid_postfix
strtoumax_nid_postfix
core/libs/prx/libSceVideoOut/include/MainThread.hpp
core/libs/prx/libc/include/specifics/macos/ExecutablePath.hpp
core/libs/prx/libkernel/Pthread/src/GuestTlsMacOs.cpp
core/libs/prx/libkernel/Pthread/src/MainThreadMacOs.cpp
core/relinker/relinker/tests/macos/breakout.cpp
core/relinker/relinker/tests/macos/c_cleanup.c
core/relinker/relinker/tests/macos/c_cleanup_main.cpp
core/relinker/relinker/tests/macos/exception.cpp
core/relinker/relinker/tests/macos/greet.cpp
core/relinker/relinker/tests/macos/guesttools.py
core/relinker/relinker/tests/macos/intel_main.cpp
core/relinker/relinker/tests/macos/intel_module.cpp
core/relinker/relinker/tests/macos/module_main.cpp
core/relinker/relinker/tests/macos/mprotect_fixture.py
core/relinker/relinker/tests/macos/mprotect_pages_fixture.py
core/relinker/relinker/tests/macos/run_macos_fixtures.py
core/relinker/relinker/tests/macos/threads.cpp
core/relinker/relinker/tests/macos/tls_modules_main.cpp
core/relinker/relinker/tests/macos/tls_owner.cpp
core/relinker/relinker/tests/macos/tls_user.cpp
core/relinker/relinker/tests/macos/unwind_info_fixture.py
core/relinker/relinker/tests/macos/videoout.cpp
core/relinker/relinker/tests/macos/videoout_open.cpp
tools/package_macos_app.py
tools/tests/test_package_macos_app.py
PR 6218 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp L1197-1210
PR 6292 core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp L9
PR 6565 core/libs/tests/GuestMemory.cpp L2940-2955
PR 6586 core/libs/prx/libkernel/CMakeLists.txt L221-222
core/libs/prx/libkernel/Module/src/DynamicLoader.cpp L196
PR 6612 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp L4842, L4960
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp L828, L867
core/shader/recompiler/tests/RequestSerializerTests.cpp L217, L221-222, L257, L261-262, L283, L407-413, L422, L427-428, L443, L445
docs/dev/debt/shader.md L171
PR 6615 core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp L9
PR 6639 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp L4842, L4960, L5210, L5214, L5221, L5224-5225
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp L828, L858, L867, L911
core/shader/recompiler/tests/RequestSerializerTests.cpp L217, L222, L257, L262, L283, L287, L408, L412, L422, L428, L443, L445, L495-496
PR 6679 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp L4842, L4960
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp L828, L867
core/shader/recompiler/tests/RequestSerializerTests.cpp L217, L221-222, L257, L261-262, L283, L407-413, L422, L427-428, L443, L445
docs/dev/debt/shader.md L171
PR 6741 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp L113
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp L8394, L8502, L10289
docs/dev/debt/libSceAgcDriver.md L126
PR 6801 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp L4842, L4960, L5207, L5210, L5214, L5221, L5225
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp L828, L858, L867, L911
core/shader/recompiler/tests/RequestSerializerTests.cpp L217, L222, L257, L262, L283, L287, L408, L412, L422, L428, L443, L445, L496
PR 6959 docs/dev/debt/shader.md L171
PR 6973 docs/dev/debt/libSceAgcDriver.md L200, L207-208
PR 6987 docs/dev/debt/libSceAgcDriver.md L200, L207-208
PR 6989 docs/dev/debt/libSceAgcDriver.md L200, L207-208
PR 6995 docs/dev/debt/libSceAgcDriver.md L200, L207-208
PR 7075 docs/dev/debt/libkernel.md L117
PR 7088 docs/dev/debt/libkernel.md L117
PR 7121 docs/dev/debt/libkernel.md L117-118
PR 7173 docs/dev/debt/relinker.md L31 core/relinker/codegen/include/codegen/x86/AdxLowering.hpp
core/relinker/codegen/src/x86/AdxLowering.cpp
core/relinker/codegen/tests/AdxLoweringTests.cpp
PR 7192 docs/dev/debt/libkernel.md L147
PR 7201 core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvLoopContinue.hpp
core/shader/recompiler/SpirvBackend/src/SpirvLoopContinue.cpp
PR 7299 core/libs/prx/libkernel/File/src/SharedMemory.cpp L39, L151
PR 7310 docs/dev/debt/libSceAgcDriver.md L208
PR 7386 core/libs/tests/Formatting.cpp L11
PR 7410 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp L4842, L4960
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp L828, L858, L867, L911
core/shader/recompiler/tests/RequestSerializerTests.cpp L217, L257, L283, L408, L422, L443, L445
PR 7417 docs/dev/debt/relinker.md L29
PR 7426 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp L113, L116
core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp L37, L66, L87, L111, L127, L244, L276
docs/dev/debt/libSceAgcDriver.md L126
docs/dev/debt/shader.md L96
PR 7447 core/libs/prx/libc/src/AppArchive.cpp L78-79
PR 7475 core/libs/tests/GuestUdp.cpp L147, L195, L215-216
PR 7531 core/relinker/codegen/tests/AdxLoweringTests.cpp
docs/dev/debt/relinker.md L31
core/relinker/codegen/include/codegen/x86/AdxLowering.hpp
core/relinker/codegen/src/x86/AdxLowering.cpp
core/relinker/codegen/tests/AdxLoweringTests.cpp
PR 7565 core/libs/prx/libkernel/Pthread/src/Thread.cpp L664-665
PR 7605 core/libs/prx/libkernel/Socket/src/Udp.cpp L1677-1684
PR 7622 core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp L13
PR 7631 core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp L32, L236, L341, L368, L379, L389, L550, L643, L708, L721, L773, L781-782, L784, L786, L794, L810, L894, L929, L1099, L1140
PR 7653 docs/dev/debt/libkernel.md L117
PR 7706 core/relinker/relinker/tests/test_macos_gs_traps.py L40, L50
PR 7850 core/libs/tests/GuestUdp.cpp L195, L215-216
docs/dev/debt/libkernel.md L178
PR 7883 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp L116-117
docs/dev/debt/libSceAgcDriver.md L126
PR 7888 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp L4842, L4960, L5051-5052, L5061-5062, L5111-5113, L5121, L5129-5131, L5133, L5142-5144, L5150-5152, L5158-5160, L5210, L5214, L5221
core/shader/recompiler/CacheKey.hpp L290
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp L828, L858, L867, L911
core/shader/recompiler/Recompiler.cpp L573
core/shader/recompiler/Recompiler.hpp L292
core/shader/recompiler/tests/RequestSerializerTests.cpp L217, L222, L257, L262, L283, L287, L408, L412, L422, L428, L443, L445, L492
PR 7893 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp L116-117
docs/dev/debt/libSceAgcDriver.md L126
PR 7930 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp L195
PR 7937 core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp L1152
core/libs/prx/libkernel/DirectMemory/Jit.cpp L142-144
docs/dev/debt/libkernel.md L116-117
PR 7938 core/libs/tests/GuestMemory.cpp L2881
PR 8063 core/relinker/relinker/tests/test_macos_gs_traps.py L40
PR 8077 docs/dev/debt/shader.md L171
PR 8083 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp L496-497
core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp L66, L69-70, L275-276
docs/dev/debt/libSceAgcDriver.md L126
docs/dev/debt/shader.md L96
PR 8087 docs/dev/BUILD.md L33
PR 8134 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp L1169
core/shader/recompiler/CacheKey.hpp L290
core/shader/recompiler/Recompiler.hpp L292
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp L279
docs/dev/debt/shader.md L171
PR 8137 core/libs/prx/libc/CMakeLists.txt L829
core/libs/prx/libc/src/Backtrace.cpp L10
PR 8150 core/libs/prx/libc/src/StandardStreams.cpp L88
PR 8226 core/libs/prx/libc/src/StandardStreams.cpp L88
PR 8267 docs/dev/debt/shader.md L171
PR 8279 core/libs/prx/libc/src/Interfaces.cpp L7-12, L290-291
docs/dev/debt/libc.md L99
PR 8293 core/libs/prx/libSceAgcDriver/CMakeLists.txt L372
PR 8311 core/libs/CMakeLists.txt L88
PR 8339 core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp L61-66, L69-70, L274-276
docs/dev/debt/shader.md L96
PR 8344 docs/dev/debt/libkernel.md L178

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 674 CMakeLists.txt
core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp
docs/dev/BUILD.md
PR 907 core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 1191 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 1324 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libc/include/GuestAllocations.hpp
core/libs/prx/libc/src/GuestAllocations.cpp
PR 1368 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 1395 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 1835 CMakeLists.txt
core/libs/prx/libc/src/GuestAllocations.cpp
core/libs/prx/libc/src/GuestArena.cpp
docs/dev/BUILD.md
PR 1896 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 2434 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/debt/libSceAgcDriver.md
PR 3986 core/libs/prx/libkernel/Pthread/src/Thread.cpp
PR 4040 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 4072 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/Translation/src/FloatInstructions.cpp
PR 4448 core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 4449 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libc/src/GuestArena.cpp
core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp
core/libs/tests/GuestMemory.cpp
docs/dev/debt/libSceAgcDriver.md
PR 4472 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4630 core/libs/prx/libkernel/System/src/Exception.cpp
core/libs/tests/GuestRaiseException.cpp
docs/dev/debt/libkernel.md
PR 4972 core/libs/prx/libkernel/CMakeLists.txt
core/libs/prx/libkernel/Module/src/Module.cpp
PR 5021 CMakeLists.txt
core/libs/CMakeLists.txt
core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Execution/src/ThreadPriority.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaDevice.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/SharedWrites.cpp
core/libs/prx/libSceAgcDriver/tests/execution/OversizedDescriptorSets.cpp
core/libs/prx/libSceAgcDriver/tests/execution/SampledCacheBudget.cpp
core/libs/prx/libSceAudioIn/CMakeLists.txt
core/libs/prx/libSceAudioOut/CMakeLists.txt
core/libs/prx/libSceLibcInternal/CMakeLists.txt
core/libs/prx/libSceLibcInternal/PathStatistics.cpp
core/libs/prx/libScePosixForWebKit/Resolver.cpp
core/libs/prx/libSceSysmodule/Export.cpp
core/libs/prx/libSceVideoOut/include/MainThread.hpp
core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
core/libs/prx/libc/CMakeLists.txt
core/libs/prx/libc/include/FileStream.hpp
core/libs/prx/libc/include/GuestAllocations.hpp
core/libs/prx/libc/include/general/ExportMacros.hpp
core/libs/prx/libc/include/specifics/macos/ExecutablePath.hpp
core/libs/prx/libc/src/ApplicationProcessParameters.cpp
core/libs/prx/libc/src/CxxAbiSupport.cpp
core/libs/prx/libc/src/General.cpp
core/libs/prx/libc/src/GuestAllocations.cpp
core/libs/prx/libc/src/GuestArena.cpp
core/libs/prx/libc/src/Rename.cpp
core/libs/prx/libc/src/RuntimeSupport.cpp
core/libs/prx/libc/src/StandardStreams.cpp
core/libs/prx/libc/src/Strings.cpp
core/libs/prx/libc/src/Time.cpp
core/libs/prx/libc/src/specifics/gcc/StackGuard.cpp
core/libs/prx/libc/src/specifics/x86_64/RegisterContext.cpp
core/libs/prx/libkernel/CMakeLists.txt
core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp
core/libs/prx/libkernel/DirectMemory/Export.cpp
core/libs/prx/libkernel/DirectMemory/Jit.cpp
core/libs/prx/libkernel/File/src/NativeStat.cpp
core/libs/prx/libkernel/File/src/Open.cpp
core/libs/prx/libkernel/File/src/SharedMemory.cpp
core/libs/prx/libkernel/File/src/Stdio.cpp
core/libs/prx/libkernel/Module/src/DynamicLoader.cpp
core/libs/prx/libkernel/Module/src/Module.cpp
core/libs/prx/libkernel/Module/src/ModuleInfo.cpp
core/libs/prx/libkernel/Pthread/include/Pthread.hpp
core/libs/prx/libkernel/Pthread/src/GuestTlsMacOs.cpp
core/libs/prx/libkernel/Pthread/src/MainThreadMacOs.cpp
core/libs/prx/libkernel/Pthread/src/Thread.cpp
core/libs/prx/libkernel/Socket/src/Udp.cpp
core/libs/prx/libkernel/System/src/Exception.cpp
core/libs/prx/libkernel/System/src/Process.cpp
core/libs/prx/libkernel/System/src/Rtld.cpp
core/libs/prx/libkernel/Time/Time.cpp
core/libs/prx/libkernel/Time/TimedWait.cpp
core/libs/tests/Formatting.cpp
core/libs/tests/GuestMemory.cpp
core/libs/tests/GuestPathCase.cpp
core/libs/tests/GuestPthreadStack.cpp
core/libs/tests/GuestSocketPair.cpp
core/libs/tests/Wave32WideSubgroup.cpp
core/relinker/CMakeLists.txt
core/relinker/relinker/tests/macos/breakout.cpp
core/relinker/relinker/tests/macos/c_cleanup.c
core/relinker/relinker/tests/macos/c_cleanup_main.cpp
core/relinker/relinker/tests/macos/exception.cpp
core/relinker/relinker/tests/macos/greet.cpp
core/relinker/relinker/tests/macos/guesttools.py
core/relinker/relinker/tests/macos/intel_main.cpp
core/relinker/relinker/tests/macos/intel_module.cpp
core/relinker/relinker/tests/macos/module_main.cpp
core/relinker/relinker/tests/macos/mprotect_fixture.py
core/relinker/relinker/tests/macos/mprotect_pages_fixture.py
core/relinker/relinker/tests/macos/run_macos_fixtures.py
core/relinker/relinker/tests/macos/threads.cpp
core/relinker/relinker/tests/macos/tls_modules_main.cpp
core/relinker/relinker/tests/macos/tls_owner.cpp
core/relinker/relinker/tests/macos/tls_user.cpp
core/relinker/relinker/tests/macos/unwind_info_fixture.py
core/relinker/relinker/tests/macos/videoout.cpp
core/relinker/relinker/tests/macos/videoout_open.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvMemory/SpirvSubgroup.hpp
core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvSubgroup.cpp
core/shader/recompiler/Translation/src/FloatInstructions.cpp
docs/dev/BUILD.md
docs/dev/debt/libc.md
docs/dev/debt/libkernel.md
docs/dev/debt/relinker.md
docs/dev/debt/shader.md
docs/user/USAGE.md
tools/package_macos_app.py
tools/tests/test_package_macos_app.py
PR 5058 docs/dev/debt/libSceAgcDriver.md
PR 5371 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/shader.md
PR 5372 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 5404 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 5426 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/shader.md
PR 5431 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/ENVIRONMENT.md
PR 5441 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5499 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DepthStorage.cpp
docs/dev/debt/libSceAgcDriver.md
PR 5500 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Optimization/src/ShaderInfoCollector.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
docs/dev/debt/shader.md
PR 5609 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 5836 core/libs/prx/libSceNet/Export.cpp
core/libs/tests/GuestSceNet.cpp
PR 5925 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/libSceAgcDriver.md
docs/user/USAGE.md
PR 5941 docs/dev/debt/shader.md
PR 5965 core/libs/prx/libSceAudioOut/CMakeLists.txt
PR 6009 docs/dev/debt/shader.md
PR 6044 .github/workflows/build.yml
CMakeLists.txt
core/libs/CMakeLists.txt
core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAmpr/CMakeLists.txt
core/libs/prx/libSceAudioIn/CMakeLists.txt
core/libs/prx/libSceAudioOut/CMakeLists.txt
core/libs/prx/libSceLibcInternal/CMakeLists.txt
core/libs/prx/libSceSsl/CMakeLists.txt
core/libs/prx/libSceVideoOut/tests/Flip.cpp
core/libs/prx/libc/CMakeLists.txt
core/libs/prx/libkernel/CMakeLists.txt
core/libs/tests/ApplicationHeap.cpp
core/libs/tests/ExceptionRuntime.cpp
core/libs/tests/Formatting.cpp
core/libs/tests/GuestAmmPlacement.cpp
core/libs/tests/GuestAmpr.cpp
core/libs/tests/GuestDirectoryEntries.cpp
core/libs/tests/GuestDynamicLoader.cpp
core/libs/tests/GuestFiopen.cpp
core/libs/tests/GuestFlexibleMemoryModule.cpp
core/libs/tests/GuestGenericCategory.cpp
core/libs/tests/GuestKernelFcntl.cpp
core/libs/tests/GuestKernelStackProtect.cpp
core/libs/tests/GuestMath.cpp
core/libs/tests/GuestMemory.cpp
core/libs/tests/GuestNamedShmLifecycle.cpp
core/libs/tests/GuestPathCase.cpp
core/libs/tests/GuestPthreadStack.cpp
core/libs/tests/GuestRaiseException.cpp
core/libs/tests/GuestSceNet.cpp
core/libs/tests/GuestShmOpen.cpp
core/libs/tests/GuestSocketPair.cpp
core/libs/tests/GuestSocketReadWrite.cpp
core/libs/tests/GuestUdp.cpp
core/libs/tests/LogMacros.cpp
core/libs/tests/PreciseWait.cpp
core/libs/tests/SaveDataMemoryGrowth.cpp
core/libs/tests/Wave32WideSubgroup.cpp
core/relinker/CMakeLists.txt
PR 6146 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6149 core/libs/prx/libkernel/Module/src/Module.cpp
docs/dev/debt/libkernel.md
PR 6158 core/libs/prx/libc/src/Math.cpp
core/libs/tests/GuestMath.cpp
PR 6171 docs/user/USAGE.md
PR 6177 core/libs/prx/libSceAgcDriver/Execution/src/ShaderDeviceProfile.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Resources.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
PR 6185 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6186 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6187 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6188 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/shader/recompiler/Recompiler.hpp
PR 6192 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6194 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6197 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
PR 6202 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6209 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6223 core/libs/prx/libSceAgcDriver/tests/execution/ImageTableReuse.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6226 core/libs/prx/libc/src/General.cpp
core/libs/prx/libkernel/CMakeLists.txt
docs/dev/debt/libc.md
PR 6235 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/libs/prx/libSceAgcDriver/tests/execution/FrontFaceAllBits.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/debt/shader.md
PR 6273 core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6280 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
docs/dev/debt/shader.md
PR 6290 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvMemory/SpirvSubgroup.hpp
core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvSubgroup.cpp
PR 6300 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6321 core/libs/prx/libc/src/GuestAllocations.cpp
core/libs/tests/GuestMemory.cpp
PR 6412 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/libSceAgcDriver.md
docs/dev/debt/shader.md
PR 6469 core/libs/prx/libc/src/GuestArena.cpp
core/libs/prx/libkernel/CMakeLists.txt
core/libs/prx/libkernel/DirectMemory/PosixMemory.cpp
core/libs/tests/GuestMemory.cpp
docs/dev/debt/libc.md
docs/dev/debt/libkernel.md
PR 6481 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6488 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/shader.md
PR 6498 docs/dev/debt/libSceAgcDriver.md
PR 6501 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6519 core/libs/prx/libkernel/Module/src/Module.cpp
core/libs/tests/GuestDynamicLoader.cpp
docs/dev/debt/libkernel.md
PR 6539 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 6548 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6549 docs/dev/debt/libSceAgcDriver.md
PR 6618 core/relinker/CMakeLists.txt
PR 6636 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
PR 6645 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp
PR 6658 core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp
core/libs/prx/libkernel/CMakeLists.txt
core/libs/prx/libkernel/Time/Time.cpp
core/libs/prx/libkernel/Time/TimedWait.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libkernel.md
PR 6682 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6683 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/libs/prx/libSceAgcDriver/tests/execution/MultisampleRetirement.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Optimization/src/ShaderInfoCollector.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6727 core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6740 core/libs/prx/libkernel/Pthread/include/Pthread.hpp
docs/dev/debt/libkernel.md
PR 6747 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6788 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/user/USAGE.md
PR 6804 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6808 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6819 core/libs/prx/libc/CMakeLists.txt
core/libs/prx/libc/include/exceptions/Unwind.hpp
core/libs/prx/libc/src/exception/Unwind.cpp
docs/dev/debt/libc.md
PR 6867 docs/dev/debt/libSceAgcDriver.md
PR 6868 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6879 CMakeLists.txt
core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp
core/libs/prx/libc/include/general/ExportMacros.hpp
core/libs/prx/libc/src/ApplicationProcessParameters.cpp
core/libs/prx/libc/src/General.cpp
core/libs/prx/libc/src/GuestAllocations.cpp
core/libs/prx/libc/src/GuestArena.cpp
core/libs/prx/libc/src/Math.cpp
core/libs/prx/libc/src/Strings.cpp
core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp
core/libs/prx/libkernel/File/src/NativeStat.cpp
core/libs/prx/libkernel/File/src/Stdio.cpp
core/libs/prx/libkernel/Module/src/DynamicLoader.cpp
core/libs/prx/libkernel/Module/src/ModuleInfo.cpp
core/libs/prx/libkernel/Pthread/src/Thread.cpp
core/libs/prx/libkernel/System/src/Exception.cpp
core/libs/prx/libkernel/System/src/Process.cpp
core/libs/prx/libkernel/System/src/Rtld.cpp
core/libs/prx/libkernel/Time/Time.cpp
core/relinker/CMakeLists.txt
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
docs/dev/BUILD.md
PR 6893 core/libs/prx/libkernel/CMakeLists.txt
core/libs/prx/libkernel/Pthread/include/Pthread.hpp
core/libs/prx/libkernel/Pthread/src/Thread.cpp
docs/dev/debt/libkernel.md
PR 6926 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libc/src/GuestArena.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6936 core/libs/prx/libkernel/CMakeLists.txt
core/libs/prx/libkernel/File/src/Open.cpp
core/libs/prx/libkernel/File/src/Stdio.cpp
docs/dev/debt/libkernel.md
PR 6946 CMakeLists.txt
core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
docs/user/USAGE.md
PR 6947 CMakeLists.txt
core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Resources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ProgramMetadata.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
docs/user/USAGE.md
PR 6951 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
core/libs/prx/libc/include/GuestAllocations.hpp
docs/dev/ENVIRONMENT.md
PR 6960 core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6971 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6972 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6977 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
core/libs/prx/libkernel/CMakeLists.txt
core/libs/prx/libkernel/File/src/Stdio.cpp
core/libs/prx/libkernel/Module/src/Module.cpp
core/libs/prx/libkernel/Socket/src/Udp.cpp
core/libs/tests/GuestDynamicLoader.cpp
core/libs/tests/GuestKernelFcntl.cpp
core/relinker/CMakeLists.txt
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
docs/dev/debt/libSceAgcDriver.md
docs/dev/debt/libkernel.md
docs/dev/debt/relinker.md
docs/dev/debt/shader.md
PR 7002 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/execution/MultisampleRetirement.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7048 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 7049 docs/dev/debt/libkernel.md
PR 7081 core/libs/prx/libc/CMakeLists.txt
core/libs/prx/libc/src/FileAndHeap.cpp
core/libs/tests/GuestFiopen.cpp
docs/dev/debt/libc.md
PR 7085 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
docs/dev/debt/shader.md
PR 7105 core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp
core/libs/prx/libkernel/DirectMemory/Export.cpp
core/libs/tests/GuestMemory.cpp
docs/dev/debt/libkernel.md
PR 7149 core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp
core/libs/prx/libkernel/Pthread/include/Pthread.hpp
core/libs/prx/libkernel/Pthread/src/Thread.cpp
core/libs/tests/GuestPthreadStack.cpp
docs/dev/debt/libkernel.md
PR 7154 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7201 CMakeLists.txt
core/libs/CMakeLists.txt
core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Diagnostics.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Diagnostics.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Execution/src/ThreadPriority.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
core/libs/prx/libSceAgcDriver/tests/HostImportSparseDmaBuf.cpp
core/libs/prx/libSceAgcDriver/tests/SharedWrites.cpp
core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp
core/libs/prx/libSceAgcDriver/tests/execution/SparseDmaBufImport.cpp
core/libs/prx/libSceAudioIn/CMakeLists.txt
core/libs/prx/libSceLibcInternal/PathStatistics.cpp
core/libs/prx/libSceNet/Export.cpp
core/libs/prx/libScePosixForWebKit/Resolver.cpp
core/libs/prx/libSceVideoOut/src/DisplayWindow.cpp
core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp
core/libs/prx/libc/CMakeLists.txt
core/libs/prx/libc/include/FileStream.hpp
core/libs/prx/libc/include/exceptions/Unwind.hpp
core/libs/prx/libc/include/general/ExportMacros.hpp
core/libs/prx/libc/include/specifics/linux/ElfTypes.hpp
core/libs/prx/libc/src/ApplicationProcessParameters.cpp
core/libs/prx/libc/src/CxxAbiSupport.cpp
core/libs/prx/libc/src/FileAndHeap.cpp
core/libs/prx/libc/src/General.cpp
core/libs/prx/libc/src/GuestAllocations.cpp
core/libs/prx/libc/src/GuestArena.cpp
core/libs/prx/libc/src/Math.cpp
core/libs/prx/libc/src/Rename.cpp
core/libs/prx/libc/src/RuntimeSupport.cpp
core/libs/prx/libc/src/StandardStreams.cpp
core/libs/prx/libc/src/Strings.cpp
core/libs/prx/libc/src/Time.cpp
core/libs/prx/libc/src/exception/Unwind.cpp
core/libs/prx/libc/src/specifics/gcc/StackGuard.cpp
core/libs/prx/libc/src/specifics/macos/GuestImages.cpp
core/libs/prx/libkernel/CMakeLists.txt
core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp
core/libs/prx/libkernel/DirectMemory/Export.cpp
core/libs/prx/libkernel/DirectMemory/Jit.cpp
core/libs/prx/libkernel/File/src/DirectoryDescriptor.cpp
core/libs/prx/libkernel/File/src/NativeStat.cpp
core/libs/prx/libkernel/File/src/Open.cpp
core/libs/prx/libkernel/File/src/SharedMemory.cpp
core/libs/prx/libkernel/File/src/Stdio.cpp
core/libs/prx/libkernel/Module/src/DynamicLoader.cpp
core/libs/prx/libkernel/Module/src/Module.cpp
core/libs/prx/libkernel/Module/src/ModuleInfo.cpp
core/libs/prx/libkernel/Pthread/src/Thread.cpp
core/libs/prx/libkernel/Socket/src/SocketOptions.cpp
core/libs/prx/libkernel/Socket/src/Udp.cpp
core/libs/prx/libkernel/System/src/Exception.cpp
core/libs/prx/libkernel/System/src/Process.cpp
core/libs/prx/libkernel/System/src/Rtld.cpp
core/libs/prx/libkernel/Time/Time.cpp
core/libs/prx/libkernel/Time/TimedWait.cpp
core/libs/tests/ApplicationHeap.cpp
core/libs/tests/ExceptionRuntime.cpp
core/libs/tests/Formatting.cpp
core/libs/tests/GuestFiopen.cpp
core/libs/tests/GuestGenericCategory.cpp
core/libs/tests/GuestKernelStackProtect.cpp
core/libs/tests/GuestPathCase.cpp
core/libs/tests/GuestPthreadStack.cpp
core/libs/tests/GuestRaiseException.cpp
core/libs/tests/LogMacros.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ProgramMetadata.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvLoopContinue.hpp
core/shader/recompiler/SpirvBackend/src/RectListShaders.cpp
core/shader/recompiler/SpirvBackend/src/SpirvLoopContinue.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7292 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
PR 7371 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 7392 core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
docs/dev/debt/shader.md
PR 7395 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/shader.md
PR 7446 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7449 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7457 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/ENVIRONMENT.md
PR 7464 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp
core/libs/prx/libkernel/CMakeLists.txt
core/libs/prx/libkernel/Time/Time.cpp
core/libs/prx/libkernel/Time/TimedWait.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libkernel.md
PR 7471 core/libs/tests/GuestMemory.cpp
PR 7473 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libc/src/GuestArena.cpp
core/libs/tests/GuestMemory.cpp
docs/dev/debt/libc.md
PR 7484 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/shader.md
PR 7505 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7509 docs/dev/debt/libkernel.md
PR 7514 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 7604 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
PR 7642 CMakeLists.txt
core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp
core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Resources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ProgramMetadata.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp
core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
docs/user/USAGE.md
PR 7644 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7647 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7668 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7684 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
docs/dev/debt/shader.md
PR 7715 core/libs/prx/libc/CMakeLists.txt
docs/dev/debt/libc.md
PR 7800 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/execution/SampledCacheBudget.cpp
docs/dev/debt/libSceAgcDriver.md
docs/user/USAGE.md
PR 7922 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/shader.md
PR 7927 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7948 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7965 docs/dev/debt/libSceAgcDriver.md
docs/dev/debt/libkernel.md
docs/dev/debt/shader.md
PR 7981 core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp
core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp
PR 8004 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp
core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvSubgroup.cpp
core/shader/recompiler/tests/RequestSerializerTests.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/shader.md
PR 8014 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceAgcDriver.md
PR 8076 docs/dev/debt/relinker.md
PR 8099 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 8105 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 8160 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/ENVIRONMENT.md
PR 8161 CMakeLists.txt
core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/ENVIRONMENT.md
PR 8204 core/libs/prx/libSceNet/Export.cpp
core/libs/tests/GuestSceNet.cpp
PR 8206 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Diagnostics.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Diagnostics.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
PR 8281 docs/dev/debt/libSceAgcDriver.md
docs/dev/debt/shader.md
PR 8374 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6244076699 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6244076699). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-18T01:10:29Z. --- <!-- pr-overlap --> 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**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 4627](https://www.github.com/boykopovar/AnyPS5/pull/4627) | `core/libs/prx/libc/CMakeLists.txt` [L735-738](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libc/CMakeLists.txt#L735-L738), [L751-757](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libc/CMakeLists.txt#L751-L757) | | | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | | `sceKernelGetModuleInfo`<br>`sceKernelGetModuleList`<br>`sceKernelGetdents`<br>`sceKernelGetdirentries`<br>`strtoimax_nid_postfix`<br>`strtoumax_nid_postfix` | `core/libs/prx/libSceVideoOut/include/MainThread.hpp`<br>`core/libs/prx/libc/include/specifics/macos/ExecutablePath.hpp`<br>`core/libs/prx/libkernel/Pthread/src/GuestTlsMacOs.cpp`<br>`core/libs/prx/libkernel/Pthread/src/MainThreadMacOs.cpp`<br>`core/relinker/relinker/tests/macos/breakout.cpp`<br>`core/relinker/relinker/tests/macos/c_cleanup.c`<br>`core/relinker/relinker/tests/macos/c_cleanup_main.cpp`<br>`core/relinker/relinker/tests/macos/exception.cpp`<br>`core/relinker/relinker/tests/macos/greet.cpp`<br>`core/relinker/relinker/tests/macos/guesttools.py`<br>`core/relinker/relinker/tests/macos/intel_main.cpp`<br>`core/relinker/relinker/tests/macos/intel_module.cpp`<br>`core/relinker/relinker/tests/macos/module_main.cpp`<br>`core/relinker/relinker/tests/macos/mprotect_fixture.py`<br>`core/relinker/relinker/tests/macos/mprotect_pages_fixture.py`<br>`core/relinker/relinker/tests/macos/run_macos_fixtures.py`<br>`core/relinker/relinker/tests/macos/threads.cpp`<br>`core/relinker/relinker/tests/macos/tls_modules_main.cpp`<br>`core/relinker/relinker/tests/macos/tls_owner.cpp`<br>`core/relinker/relinker/tests/macos/tls_user.cpp`<br>`core/relinker/relinker/tests/macos/unwind_info_fixture.py`<br>`core/relinker/relinker/tests/macos/videoout.cpp`<br>`core/relinker/relinker/tests/macos/videoout_open.cpp`<br>`tools/package_macos_app.py`<br>`tools/tests/test_package_macos_app.py` | | [PR 6218](https://www.github.com/boykopovar/AnyPS5/pull/6218) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` [L1197-1210](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp#L1197-L1210) | | | | [PR 6292](https://www.github.com/boykopovar/AnyPS5/pull/6292) | `core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp` [L9](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp#L9) | | | | [PR 6565](https://www.github.com/boykopovar/AnyPS5/pull/6565) | `core/libs/tests/GuestMemory.cpp` [L2940-2955](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/tests/GuestMemory.cpp#L2940-L2955) | | | | [PR 6586](https://www.github.com/boykopovar/AnyPS5/pull/6586) | `core/libs/prx/libkernel/CMakeLists.txt` [L221-222](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/CMakeLists.txt#L221-L222)<br>`core/libs/prx/libkernel/Module/src/DynamicLoader.cpp` [L196](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/Module/src/DynamicLoader.cpp#L196) | | | | [PR 6612](https://www.github.com/boykopovar/AnyPS5/pull/6612) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` [L4842](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L4842), [L4960](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L4960)<br>`core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp` [L828](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L828), [L867](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L867)<br>`core/shader/recompiler/tests/RequestSerializerTests.cpp` [L217](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L217), [L221-222](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L221-L222), [L257](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L257), [L261-262](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L261-L262), [L283](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L283), [L407-413](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L407-L413), [L422](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L422), [L427-428](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L427-L428), [L443](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L443), [L445](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L445)<br>`docs/dev/debt/shader.md` [L171](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/shader.md#L171) | | | | [PR 6615](https://www.github.com/boykopovar/AnyPS5/pull/6615) | `core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp` [L9](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp#L9) | | | | [PR 6639](https://www.github.com/boykopovar/AnyPS5/pull/6639) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` [L4842](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L4842), [L4960](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L4960), [L5210](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5210), [L5214](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5214), [L5221](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5221), [L5224-5225](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5224-L5225)<br>`core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp` [L828](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L828), [L858](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L858), [L867](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L867), [L911](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L911)<br>`core/shader/recompiler/tests/RequestSerializerTests.cpp` [L217](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L217), [L222](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L222), [L257](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L257), [L262](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L262), [L283](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L283), [L287](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L287), [L408](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L408), [L412](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L412), [L422](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L422), [L428](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L428), [L443](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L443), [L445](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L445), [L495-496](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L495-L496) | | | | [PR 6679](https://www.github.com/boykopovar/AnyPS5/pull/6679) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` [L4842](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L4842), [L4960](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L4960)<br>`core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp` [L828](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L828), [L867](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L867)<br>`core/shader/recompiler/tests/RequestSerializerTests.cpp` [L217](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L217), [L221-222](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L221-L222), [L257](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L257), [L261-262](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L261-L262), [L283](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L283), [L407-413](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L407-L413), [L422](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L422), [L427-428](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L427-L428), [L443](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L443), [L445](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L445)<br>`docs/dev/debt/shader.md` [L171](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/shader.md#L171) | | | | [PR 6741](https://www.github.com/boykopovar/AnyPS5/pull/6741) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` [L113](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp#L113)<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` [L8394](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/Graphics.cpp#L8394), [L8502](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/Graphics.cpp#L8502), [L10289](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/Graphics.cpp#L10289)<br>`docs/dev/debt/libSceAgcDriver.md` [L126](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L126) | | | | [PR 6801](https://www.github.com/boykopovar/AnyPS5/pull/6801) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` [L4842](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L4842), [L4960](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L4960), [L5207](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5207), [L5210](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5210), [L5214](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5214), [L5221](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5221), [L5225](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5225)<br>`core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp` [L828](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L828), [L858](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L858), [L867](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L867), [L911](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L911)<br>`core/shader/recompiler/tests/RequestSerializerTests.cpp` [L217](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L217), [L222](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L222), [L257](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L257), [L262](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L262), [L283](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L283), [L287](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L287), [L408](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L408), [L412](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L412), [L422](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L422), [L428](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L428), [L443](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L443), [L445](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L445), [L496](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L496) | | | | [PR 6959](https://www.github.com/boykopovar/AnyPS5/pull/6959) | `docs/dev/debt/shader.md` [L171](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/shader.md#L171) | | | | [PR 6973](https://www.github.com/boykopovar/AnyPS5/pull/6973) | `docs/dev/debt/libSceAgcDriver.md` [L200](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L200), [L207-208](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L207-L208) | | | | [PR 6987](https://www.github.com/boykopovar/AnyPS5/pull/6987) | `docs/dev/debt/libSceAgcDriver.md` [L200](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L200), [L207-208](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L207-L208) | | | | [PR 6989](https://www.github.com/boykopovar/AnyPS5/pull/6989) | `docs/dev/debt/libSceAgcDriver.md` [L200](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L200), [L207-208](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L207-L208) | | | | [PR 6995](https://www.github.com/boykopovar/AnyPS5/pull/6995) | `docs/dev/debt/libSceAgcDriver.md` [L200](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L200), [L207-208](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L207-L208) | | | | [PR 7075](https://www.github.com/boykopovar/AnyPS5/pull/7075) | `docs/dev/debt/libkernel.md` [L117](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libkernel.md#L117) | | | | [PR 7088](https://www.github.com/boykopovar/AnyPS5/pull/7088) | `docs/dev/debt/libkernel.md` [L117](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libkernel.md#L117) | | | | [PR 7121](https://www.github.com/boykopovar/AnyPS5/pull/7121) | `docs/dev/debt/libkernel.md` [L117-118](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libkernel.md#L117-L118) | | | | [PR 7173](https://www.github.com/boykopovar/AnyPS5/pull/7173) | `docs/dev/debt/relinker.md` [L31](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/relinker.md#L31) | | `core/relinker/codegen/include/codegen/x86/AdxLowering.hpp`<br>`core/relinker/codegen/src/x86/AdxLowering.cpp`<br>`core/relinker/codegen/tests/AdxLoweringTests.cpp` | | [PR 7192](https://www.github.com/boykopovar/AnyPS5/pull/7192) | `docs/dev/debt/libkernel.md` [L147](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libkernel.md#L147) | | | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | | | `core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvLoopContinue.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvLoopContinue.cpp` | | [PR 7299](https://www.github.com/boykopovar/AnyPS5/pull/7299) | `core/libs/prx/libkernel/File/src/SharedMemory.cpp` [L39](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/File/src/SharedMemory.cpp#L39), [L151](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/File/src/SharedMemory.cpp#L151) | | | | [PR 7310](https://www.github.com/boykopovar/AnyPS5/pull/7310) | `docs/dev/debt/libSceAgcDriver.md` [L208](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L208) | | | | [PR 7386](https://www.github.com/boykopovar/AnyPS5/pull/7386) | `core/libs/tests/Formatting.cpp` [L11](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/tests/Formatting.cpp#L11) | | | | [PR 7410](https://www.github.com/boykopovar/AnyPS5/pull/7410) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` [L4842](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L4842), [L4960](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L4960)<br>`core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp` [L828](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L828), [L858](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L858), [L867](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L867), [L911](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L911)<br>`core/shader/recompiler/tests/RequestSerializerTests.cpp` [L217](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L217), [L257](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L257), [L283](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L283), [L408](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L408), [L422](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L422), [L443](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L443), [L445](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L445) | | | | [PR 7417](https://www.github.com/boykopovar/AnyPS5/pull/7417) | `docs/dev/debt/relinker.md` [L29](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/relinker.md#L29) | | | | [PR 7426](https://www.github.com/boykopovar/AnyPS5/pull/7426) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` [L113](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp#L113), [L116](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp#L116)<br>`core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp` [L37](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L37), [L66](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L66), [L87](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L87), [L111](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L111), [L127](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L127), [L244](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L244), [L276](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L276)<br>`docs/dev/debt/libSceAgcDriver.md` [L126](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L126)<br>`docs/dev/debt/shader.md` [L96](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/shader.md#L96) | | | | [PR 7447](https://www.github.com/boykopovar/AnyPS5/pull/7447) | `core/libs/prx/libc/src/AppArchive.cpp` [L78-79](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libc/src/AppArchive.cpp#L78-L79) | | | | [PR 7475](https://www.github.com/boykopovar/AnyPS5/pull/7475) | `core/libs/tests/GuestUdp.cpp` [L147](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/tests/GuestUdp.cpp#L147), [L195](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/tests/GuestUdp.cpp#L195), [L215-216](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/tests/GuestUdp.cpp#L215-L216) | | | | [PR 7531](https://www.github.com/boykopovar/AnyPS5/pull/7531) | `core/relinker/codegen/tests/AdxLoweringTests.cpp` <br>`docs/dev/debt/relinker.md` [L31](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/relinker.md#L31) | | `core/relinker/codegen/include/codegen/x86/AdxLowering.hpp`<br>`core/relinker/codegen/src/x86/AdxLowering.cpp`<br>`core/relinker/codegen/tests/AdxLoweringTests.cpp` | | [PR 7565](https://www.github.com/boykopovar/AnyPS5/pull/7565) | `core/libs/prx/libkernel/Pthread/src/Thread.cpp` [L664-665](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/Pthread/src/Thread.cpp#L664-L665) | | | | [PR 7605](https://www.github.com/boykopovar/AnyPS5/pull/7605) | `core/libs/prx/libkernel/Socket/src/Udp.cpp` [L1677-1684](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/Socket/src/Udp.cpp#L1677-L1684) | | | | [PR 7622](https://www.github.com/boykopovar/AnyPS5/pull/7622) | `core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp` [L13](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp#L13) | | | | [PR 7631](https://www.github.com/boykopovar/AnyPS5/pull/7631) | `core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp` [L32](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L32), [L236](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L236), [L341](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L341), [L368](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L368), [L379](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L379), [L389](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L389), [L550](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L550), [L643](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L643), [L708](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L708), [L721](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L721), [L773](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L773), [L781-782](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L781-L782), [L784](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L784), [L786](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L786), [L794](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L794), [L810](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L810), [L894](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L894), [L929](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L929), [L1099](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L1099), [L1140](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L1140) | | | | [PR 7653](https://www.github.com/boykopovar/AnyPS5/pull/7653) | `docs/dev/debt/libkernel.md` [L117](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libkernel.md#L117) | | | | [PR 7706](https://www.github.com/boykopovar/AnyPS5/pull/7706) | `core/relinker/relinker/tests/test_macos_gs_traps.py` [L40](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/relinker/relinker/tests/test_macos_gs_traps.py#L40), [L50](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/relinker/relinker/tests/test_macos_gs_traps.py#L50) | | | | [PR 7850](https://www.github.com/boykopovar/AnyPS5/pull/7850) | `core/libs/tests/GuestUdp.cpp` [L195](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/tests/GuestUdp.cpp#L195), [L215-216](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/tests/GuestUdp.cpp#L215-L216)<br>`docs/dev/debt/libkernel.md` [L178](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libkernel.md#L178) | | | | [PR 7883](https://www.github.com/boykopovar/AnyPS5/pull/7883) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` [L116-117](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp#L116-L117)<br>`docs/dev/debt/libSceAgcDriver.md` [L126](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L126) | | | | [PR 7888](https://www.github.com/boykopovar/AnyPS5/pull/7888) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` [L4842](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L4842), [L4960](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L4960), [L5051-5052](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5051-L5052), [L5061-5062](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5061-L5062), [L5111-5113](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5111-L5113), [L5121](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5121), [L5129-5131](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5129-L5131), [L5133](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5133), [L5142-5144](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5142-L5144), [L5150-5152](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5150-L5152), [L5158-5160](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5158-L5160), [L5210](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5210), [L5214](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5214), [L5221](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp#L5221)<br>`core/shader/recompiler/CacheKey.hpp` [L290](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/CacheKey.hpp#L290)<br>`core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp` [L828](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L828), [L858](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L858), [L867](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L867), [L911](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp#L911)<br>`core/shader/recompiler/Recompiler.cpp` [L573](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/Recompiler.cpp#L573)<br>`core/shader/recompiler/Recompiler.hpp` [L292](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/Recompiler.hpp#L292)<br>`core/shader/recompiler/tests/RequestSerializerTests.cpp` [L217](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L217), [L222](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L222), [L257](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L257), [L262](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L262), [L283](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L283), [L287](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L287), [L408](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L408), [L412](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L412), [L422](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L422), [L428](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L428), [L443](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L443), [L445](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L445), [L492](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/tests/RequestSerializerTests.cpp#L492) | | | | [PR 7893](https://www.github.com/boykopovar/AnyPS5/pull/7893) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` [L116-117](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp#L116-L117)<br>`docs/dev/debt/libSceAgcDriver.md` [L126](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L126) | | | | [PR 7930](https://www.github.com/boykopovar/AnyPS5/pull/7930) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp` [L195](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp#L195) | | | | [PR 7937](https://www.github.com/boykopovar/AnyPS5/pull/7937) | `core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp` [L1152](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp#L1152)<br>`core/libs/prx/libkernel/DirectMemory/Jit.cpp` [L142-144](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libkernel/DirectMemory/Jit.cpp#L142-L144)<br>`docs/dev/debt/libkernel.md` [L116-117](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libkernel.md#L116-L117) | | | | [PR 7938](https://www.github.com/boykopovar/AnyPS5/pull/7938) | `core/libs/tests/GuestMemory.cpp` [L2881](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/tests/GuestMemory.cpp#L2881) | | | | [PR 8063](https://www.github.com/boykopovar/AnyPS5/pull/8063) | `core/relinker/relinker/tests/test_macos_gs_traps.py` [L40](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/relinker/relinker/tests/test_macos_gs_traps.py#L40) | | | | [PR 8077](https://www.github.com/boykopovar/AnyPS5/pull/8077) | `docs/dev/debt/shader.md` [L171](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/shader.md#L171) | | | | [PR 8083](https://www.github.com/boykopovar/AnyPS5/pull/8083) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp` [L496-497](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp#L496-L497)<br>`core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp` [L66](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L66), [L69-70](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L69-L70), [L275-276](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L275-L276)<br>`docs/dev/debt/libSceAgcDriver.md` [L126](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libSceAgcDriver.md#L126)<br>`docs/dev/debt/shader.md` [L96](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/shader.md#L96) | | | | [PR 8087](https://www.github.com/boykopovar/AnyPS5/pull/8087) | `docs/dev/BUILD.md` [L33](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/BUILD.md#L33) | | | | [PR 8134](https://www.github.com/boykopovar/AnyPS5/pull/8134) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` [L1169](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp#L1169)<br>`core/shader/recompiler/CacheKey.hpp` [L290](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/CacheKey.hpp#L290)<br>`core/shader/recompiler/Recompiler.hpp` [L292](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/Recompiler.hpp#L292)<br>`core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp` [L279](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp#L279)<br>`docs/dev/debt/shader.md` [L171](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/shader.md#L171) | | | | [PR 8137](https://www.github.com/boykopovar/AnyPS5/pull/8137) | `core/libs/prx/libc/CMakeLists.txt` [L829](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libc/CMakeLists.txt#L829)<br>`core/libs/prx/libc/src/Backtrace.cpp` [L10](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libc/src/Backtrace.cpp#L10) | | | | [PR 8150](https://www.github.com/boykopovar/AnyPS5/pull/8150) | `core/libs/prx/libc/src/StandardStreams.cpp` [L88](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libc/src/StandardStreams.cpp#L88) | | | | [PR 8226](https://www.github.com/boykopovar/AnyPS5/pull/8226) | `core/libs/prx/libc/src/StandardStreams.cpp` [L88](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libc/src/StandardStreams.cpp#L88) | | | | [PR 8267](https://www.github.com/boykopovar/AnyPS5/pull/8267) | `docs/dev/debt/shader.md` [L171](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/shader.md#L171) | | | | [PR 8279](https://www.github.com/boykopovar/AnyPS5/pull/8279) | `core/libs/prx/libc/src/Interfaces.cpp` [L7-12](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libc/src/Interfaces.cpp#L7-L12), [L290-291](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libc/src/Interfaces.cpp#L290-L291)<br>`docs/dev/debt/libc.md` [L99](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libc.md#L99) | | | | [PR 8293](https://www.github.com/boykopovar/AnyPS5/pull/8293) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` [L372](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/CMakeLists.txt#L372) | | | | [PR 8311](https://www.github.com/boykopovar/AnyPS5/pull/8311) | `core/libs/CMakeLists.txt` [L88](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/CMakeLists.txt#L88) | | | | [PR 8339](https://www.github.com/boykopovar/AnyPS5/pull/8339) | `core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp` [L61-66](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L61-L66), [L69-70](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L69-L70), [L274-276](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp#L274-L276)<br>`docs/dev/debt/shader.md` [L96](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/shader.md#L96) | | | | [PR 8344](https://www.github.com/boykopovar/AnyPS5/pull/8344) | `docs/dev/debt/libkernel.md` [L178](https://github.com/boykopovar/AnyPS5/blob/30fda0a03a43339037677d3a9f4a021d5b078566/docs/dev/debt/libkernel.md#L178) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 674](https://www.github.com/boykopovar/AnyPS5/pull/674) | `CMakeLists.txt`<br>`core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp`<br>`docs/dev/BUILD.md` | | [PR 907](https://www.github.com/boykopovar/AnyPS5/pull/907) | `core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp` | | [PR 1191](https://www.github.com/boykopovar/AnyPS5/pull/1191) | `core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp` | | [PR 1324](https://www.github.com/boykopovar/AnyPS5/pull/1324) | `core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libc/include/GuestAllocations.hpp`<br>`core/libs/prx/libc/src/GuestAllocations.cpp` | | [PR 1368](https://www.github.com/boykopovar/AnyPS5/pull/1368) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 1395](https://www.github.com/boykopovar/AnyPS5/pull/1395) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 1835](https://www.github.com/boykopovar/AnyPS5/pull/1835) | `CMakeLists.txt`<br>`core/libs/prx/libc/src/GuestAllocations.cpp`<br>`core/libs/prx/libc/src/GuestArena.cpp`<br>`docs/dev/BUILD.md` | | [PR 1896](https://www.github.com/boykopovar/AnyPS5/pull/1896) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp` | | [PR 2434](https://www.github.com/boykopovar/AnyPS5/pull/2434) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 3986](https://www.github.com/boykopovar/AnyPS5/pull/3986) | `core/libs/prx/libkernel/Pthread/src/Thread.cpp` | | [PR 4040](https://www.github.com/boykopovar/AnyPS5/pull/4040) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 4072](https://www.github.com/boykopovar/AnyPS5/pull/4072) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp`<br>`core/shader/recompiler/Translation/src/FloatInstructions.cpp` | | [PR 4448](https://www.github.com/boykopovar/AnyPS5/pull/4448) | `core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 4449](https://www.github.com/boykopovar/AnyPS5/pull/4449) | `core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libc/src/GuestArena.cpp`<br>`core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp`<br>`core/libs/tests/GuestMemory.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 4472](https://www.github.com/boykopovar/AnyPS5/pull/4472) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 4630](https://www.github.com/boykopovar/AnyPS5/pull/4630) | `core/libs/prx/libkernel/System/src/Exception.cpp`<br>`core/libs/tests/GuestRaiseException.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 4972](https://www.github.com/boykopovar/AnyPS5/pull/4972) | `core/libs/prx/libkernel/CMakeLists.txt`<br>`core/libs/prx/libkernel/Module/src/Module.cpp` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `CMakeLists.txt`<br>`core/libs/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/ThreadPriority.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/BdaDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/SharedWrites.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/execution/OversizedDescriptorSets.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/execution/SampledCacheBudget.cpp`<br>`core/libs/prx/libSceAudioIn/CMakeLists.txt`<br>`core/libs/prx/libSceAudioOut/CMakeLists.txt`<br>`core/libs/prx/libSceLibcInternal/CMakeLists.txt`<br>`core/libs/prx/libSceLibcInternal/PathStatistics.cpp`<br>`core/libs/prx/libScePosixForWebKit/Resolver.cpp`<br>`core/libs/prx/libSceSysmodule/Export.cpp`<br>`core/libs/prx/libSceVideoOut/include/MainThread.hpp`<br>`core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp`<br>`core/libs/prx/libSceVideoOut/tests/Flip.cpp`<br>`core/libs/prx/libc/CMakeLists.txt`<br>`core/libs/prx/libc/include/FileStream.hpp`<br>`core/libs/prx/libc/include/GuestAllocations.hpp`<br>`core/libs/prx/libc/include/general/ExportMacros.hpp`<br>`core/libs/prx/libc/include/specifics/macos/ExecutablePath.hpp`<br>`core/libs/prx/libc/src/ApplicationProcessParameters.cpp`<br>`core/libs/prx/libc/src/CxxAbiSupport.cpp`<br>`core/libs/prx/libc/src/General.cpp`<br>`core/libs/prx/libc/src/GuestAllocations.cpp`<br>`core/libs/prx/libc/src/GuestArena.cpp`<br>`core/libs/prx/libc/src/Rename.cpp`<br>`core/libs/prx/libc/src/RuntimeSupport.cpp`<br>`core/libs/prx/libc/src/StandardStreams.cpp`<br>`core/libs/prx/libc/src/Strings.cpp`<br>`core/libs/prx/libc/src/Time.cpp`<br>`core/libs/prx/libc/src/specifics/gcc/StackGuard.cpp`<br>`core/libs/prx/libc/src/specifics/x86_64/RegisterContext.cpp`<br>`core/libs/prx/libkernel/CMakeLists.txt`<br>`core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp`<br>`core/libs/prx/libkernel/DirectMemory/Export.cpp`<br>`core/libs/prx/libkernel/DirectMemory/Jit.cpp`<br>`core/libs/prx/libkernel/File/src/NativeStat.cpp`<br>`core/libs/prx/libkernel/File/src/Open.cpp`<br>`core/libs/prx/libkernel/File/src/SharedMemory.cpp`<br>`core/libs/prx/libkernel/File/src/Stdio.cpp`<br>`core/libs/prx/libkernel/Module/src/DynamicLoader.cpp`<br>`core/libs/prx/libkernel/Module/src/Module.cpp`<br>`core/libs/prx/libkernel/Module/src/ModuleInfo.cpp`<br>`core/libs/prx/libkernel/Pthread/include/Pthread.hpp`<br>`core/libs/prx/libkernel/Pthread/src/GuestTlsMacOs.cpp`<br>`core/libs/prx/libkernel/Pthread/src/MainThreadMacOs.cpp`<br>`core/libs/prx/libkernel/Pthread/src/Thread.cpp`<br>`core/libs/prx/libkernel/Socket/src/Udp.cpp`<br>`core/libs/prx/libkernel/System/src/Exception.cpp`<br>`core/libs/prx/libkernel/System/src/Process.cpp`<br>`core/libs/prx/libkernel/System/src/Rtld.cpp`<br>`core/libs/prx/libkernel/Time/Time.cpp`<br>`core/libs/prx/libkernel/Time/TimedWait.cpp`<br>`core/libs/tests/Formatting.cpp`<br>`core/libs/tests/GuestMemory.cpp`<br>`core/libs/tests/GuestPathCase.cpp`<br>`core/libs/tests/GuestPthreadStack.cpp`<br>`core/libs/tests/GuestSocketPair.cpp`<br>`core/libs/tests/Wave32WideSubgroup.cpp`<br>`core/relinker/CMakeLists.txt`<br>`core/relinker/relinker/tests/macos/breakout.cpp`<br>`core/relinker/relinker/tests/macos/c_cleanup.c`<br>`core/relinker/relinker/tests/macos/c_cleanup_main.cpp`<br>`core/relinker/relinker/tests/macos/exception.cpp`<br>`core/relinker/relinker/tests/macos/greet.cpp`<br>`core/relinker/relinker/tests/macos/guesttools.py`<br>`core/relinker/relinker/tests/macos/intel_main.cpp`<br>`core/relinker/relinker/tests/macos/intel_module.cpp`<br>`core/relinker/relinker/tests/macos/module_main.cpp`<br>`core/relinker/relinker/tests/macos/mprotect_fixture.py`<br>`core/relinker/relinker/tests/macos/mprotect_pages_fixture.py`<br>`core/relinker/relinker/tests/macos/run_macos_fixtures.py`<br>`core/relinker/relinker/tests/macos/threads.cpp`<br>`core/relinker/relinker/tests/macos/tls_modules_main.cpp`<br>`core/relinker/relinker/tests/macos/tls_owner.cpp`<br>`core/relinker/relinker/tests/macos/tls_user.cpp`<br>`core/relinker/relinker/tests/macos/unwind_info_fixture.py`<br>`core/relinker/relinker/tests/macos/videoout.cpp`<br>`core/relinker/relinker/tests/macos/videoout_open.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvMemory/SpirvSubgroup.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvSubgroup.cpp`<br>`core/shader/recompiler/Translation/src/FloatInstructions.cpp`<br>`docs/dev/BUILD.md`<br>`docs/dev/debt/libc.md`<br>`docs/dev/debt/libkernel.md`<br>`docs/dev/debt/relinker.md`<br>`docs/dev/debt/shader.md`<br>`docs/user/USAGE.md`<br>`tools/package_macos_app.py`<br>`tools/tests/test_package_macos_app.py` | | [PR 5058](https://www.github.com/boykopovar/AnyPS5/pull/5058) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5371](https://www.github.com/boykopovar/AnyPS5/pull/5371) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`docs/dev/debt/shader.md` | | [PR 5372](https://www.github.com/boykopovar/AnyPS5/pull/5372) | `core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 5404](https://www.github.com/boykopovar/AnyPS5/pull/5404) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp` | | [PR 5426](https://www.github.com/boykopovar/AnyPS5/pull/5426) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/shader.md` | | [PR 5431](https://www.github.com/boykopovar/AnyPS5/pull/5431) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`docs/dev/ENVIRONMENT.md` | | [PR 5441](https://www.github.com/boykopovar/AnyPS5/pull/5441) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5499](https://www.github.com/boykopovar/AnyPS5/pull/5499) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/execution/DepthStorage.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 5500](https://www.github.com/boykopovar/AnyPS5/pull/5500) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp`<br>`core/shader/recompiler/Optimization/src/ShaderInfoCollector.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp`<br>`docs/dev/debt/shader.md` | | [PR 5609](https://www.github.com/boykopovar/AnyPS5/pull/5609) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 5836](https://www.github.com/boykopovar/AnyPS5/pull/5836) | `core/libs/prx/libSceNet/Export.cpp`<br>`core/libs/tests/GuestSceNet.cpp` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/shader/recompiler/CMakeLists.txt`<br>`core/shader/recompiler/Recompiler.hpp`<br>`docs/dev/debt/libSceAgcDriver.md`<br>`docs/user/USAGE.md` | | [PR 5941](https://www.github.com/boykopovar/AnyPS5/pull/5941) | `docs/dev/debt/shader.md` | | [PR 5965](https://www.github.com/boykopovar/AnyPS5/pull/5965) | `core/libs/prx/libSceAudioOut/CMakeLists.txt` | | [PR 6009](https://www.github.com/boykopovar/AnyPS5/pull/6009) | `docs/dev/debt/shader.md` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `.github/workflows/build.yml`<br>`CMakeLists.txt`<br>`core/libs/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAmpr/CMakeLists.txt`<br>`core/libs/prx/libSceAudioIn/CMakeLists.txt`<br>`core/libs/prx/libSceAudioOut/CMakeLists.txt`<br>`core/libs/prx/libSceLibcInternal/CMakeLists.txt`<br>`core/libs/prx/libSceSsl/CMakeLists.txt`<br>`core/libs/prx/libSceVideoOut/tests/Flip.cpp`<br>`core/libs/prx/libc/CMakeLists.txt`<br>`core/libs/prx/libkernel/CMakeLists.txt`<br>`core/libs/tests/ApplicationHeap.cpp`<br>`core/libs/tests/ExceptionRuntime.cpp`<br>`core/libs/tests/Formatting.cpp`<br>`core/libs/tests/GuestAmmPlacement.cpp`<br>`core/libs/tests/GuestAmpr.cpp`<br>`core/libs/tests/GuestDirectoryEntries.cpp`<br>`core/libs/tests/GuestDynamicLoader.cpp`<br>`core/libs/tests/GuestFiopen.cpp`<br>`core/libs/tests/GuestFlexibleMemoryModule.cpp`<br>`core/libs/tests/GuestGenericCategory.cpp`<br>`core/libs/tests/GuestKernelFcntl.cpp`<br>`core/libs/tests/GuestKernelStackProtect.cpp`<br>`core/libs/tests/GuestMath.cpp`<br>`core/libs/tests/GuestMemory.cpp`<br>`core/libs/tests/GuestNamedShmLifecycle.cpp`<br>`core/libs/tests/GuestPathCase.cpp`<br>`core/libs/tests/GuestPthreadStack.cpp`<br>`core/libs/tests/GuestRaiseException.cpp`<br>`core/libs/tests/GuestSceNet.cpp`<br>`core/libs/tests/GuestShmOpen.cpp`<br>`core/libs/tests/GuestSocketPair.cpp`<br>`core/libs/tests/GuestSocketReadWrite.cpp`<br>`core/libs/tests/GuestUdp.cpp`<br>`core/libs/tests/LogMacros.cpp`<br>`core/libs/tests/PreciseWait.cpp`<br>`core/libs/tests/SaveDataMemoryGrowth.cpp`<br>`core/libs/tests/Wave32WideSubgroup.cpp`<br>`core/relinker/CMakeLists.txt` | | [PR 6146](https://www.github.com/boykopovar/AnyPS5/pull/6146) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6149](https://www.github.com/boykopovar/AnyPS5/pull/6149) | `core/libs/prx/libkernel/Module/src/Module.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 6158](https://www.github.com/boykopovar/AnyPS5/pull/6158) | `core/libs/prx/libc/src/Math.cpp`<br>`core/libs/tests/GuestMath.cpp` | | [PR 6171](https://www.github.com/boykopovar/AnyPS5/pull/6171) | `docs/user/USAGE.md` | | [PR 6177](https://www.github.com/boykopovar/AnyPS5/pull/6177) | `core/libs/prx/libSceAgcDriver/Execution/src/ShaderDeviceProfile.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Resources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp`<br>`core/shader/recompiler/tests/RequestSerializerTests.cpp` | | [PR 6185](https://www.github.com/boykopovar/AnyPS5/pull/6185) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6186](https://www.github.com/boykopovar/AnyPS5/pull/6186) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6187](https://www.github.com/boykopovar/AnyPS5/pull/6187) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 6192](https://www.github.com/boykopovar/AnyPS5/pull/6192) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6194](https://www.github.com/boykopovar/AnyPS5/pull/6194) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6197](https://www.github.com/boykopovar/AnyPS5/pull/6197) | `core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp` | | [PR 6202](https://www.github.com/boykopovar/AnyPS5/pull/6202) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6209](https://www.github.com/boykopovar/AnyPS5/pull/6209) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6223](https://www.github.com/boykopovar/AnyPS5/pull/6223) | `core/libs/prx/libSceAgcDriver/tests/execution/ImageTableReuse.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6226](https://www.github.com/boykopovar/AnyPS5/pull/6226) | `core/libs/prx/libc/src/General.cpp`<br>`core/libs/prx/libkernel/CMakeLists.txt`<br>`docs/dev/debt/libc.md` | | [PR 6235](https://www.github.com/boykopovar/AnyPS5/pull/6235) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/execution/FrontFaceAllBits.cpp`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp`<br>`core/shader/recompiler/tests/RequestSerializerTests.cpp`<br>`docs/dev/debt/shader.md` | | [PR 6273](https://www.github.com/boykopovar/AnyPS5/pull/6273) | `core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6280](https://www.github.com/boykopovar/AnyPS5/pull/6280) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`docs/dev/debt/libSceAgcDriver.md`<br>`docs/dev/debt/shader.md` | | [PR 6290](https://www.github.com/boykopovar/AnyPS5/pull/6290) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvMemory/SpirvSubgroup.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvSubgroup.cpp` | | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6321](https://www.github.com/boykopovar/AnyPS5/pull/6321) | `core/libs/prx/libc/src/GuestAllocations.cpp`<br>`core/libs/tests/GuestMemory.cpp` | | [PR 6412](https://www.github.com/boykopovar/AnyPS5/pull/6412) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`docs/dev/debt/libSceAgcDriver.md`<br>`docs/dev/debt/shader.md` | | [PR 6469](https://www.github.com/boykopovar/AnyPS5/pull/6469) | `core/libs/prx/libc/src/GuestArena.cpp`<br>`core/libs/prx/libkernel/CMakeLists.txt`<br>`core/libs/prx/libkernel/DirectMemory/PosixMemory.cpp`<br>`core/libs/tests/GuestMemory.cpp`<br>`docs/dev/debt/libc.md`<br>`docs/dev/debt/libkernel.md` | | [PR 6481](https://www.github.com/boykopovar/AnyPS5/pull/6481) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6488](https://www.github.com/boykopovar/AnyPS5/pull/6488) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`docs/dev/debt/shader.md` | | [PR 6498](https://www.github.com/boykopovar/AnyPS5/pull/6498) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6501](https://www.github.com/boykopovar/AnyPS5/pull/6501) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6519](https://www.github.com/boykopovar/AnyPS5/pull/6519) | `core/libs/prx/libkernel/Module/src/Module.cpp`<br>`core/libs/tests/GuestDynamicLoader.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 6539](https://www.github.com/boykopovar/AnyPS5/pull/6539) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 6548](https://www.github.com/boykopovar/AnyPS5/pull/6548) | `core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6549](https://www.github.com/boykopovar/AnyPS5/pull/6549) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6618](https://www.github.com/boykopovar/AnyPS5/pull/6618) | `core/relinker/CMakeLists.txt` | | [PR 6636](https://www.github.com/boykopovar/AnyPS5/pull/6636) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/ENVIRONMENT.md`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6645](https://www.github.com/boykopovar/AnyPS5/pull/6645) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp` | | [PR 6658](https://www.github.com/boykopovar/AnyPS5/pull/6658) | `core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp`<br>`core/libs/prx/libkernel/CMakeLists.txt`<br>`core/libs/prx/libkernel/Time/Time.cpp`<br>`core/libs/prx/libkernel/Time/TimedWait.cpp`<br>`docs/dev/ENVIRONMENT.md`<br>`docs/dev/debt/libkernel.md` | | [PR 6682](https://www.github.com/boykopovar/AnyPS5/pull/6682) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6683](https://www.github.com/boykopovar/AnyPS5/pull/6683) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/execution/MultisampleRetirement.cpp`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp`<br>`core/shader/recompiler/Optimization/src/ShaderInfoCollector.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp`<br>`core/shader/recompiler/tests/RequestSerializerTests.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6727](https://www.github.com/boykopovar/AnyPS5/pull/6727) | `core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6740](https://www.github.com/boykopovar/AnyPS5/pull/6740) | `core/libs/prx/libkernel/Pthread/include/Pthread.hpp`<br>`docs/dev/debt/libkernel.md` | | [PR 6747](https://www.github.com/boykopovar/AnyPS5/pull/6747) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6788](https://www.github.com/boykopovar/AnyPS5/pull/6788) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`docs/user/USAGE.md` | | [PR 6804](https://www.github.com/boykopovar/AnyPS5/pull/6804) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6819](https://www.github.com/boykopovar/AnyPS5/pull/6819) | `core/libs/prx/libc/CMakeLists.txt`<br>`core/libs/prx/libc/include/exceptions/Unwind.hpp`<br>`core/libs/prx/libc/src/exception/Unwind.cpp`<br>`docs/dev/debt/libc.md` | | [PR 6867](https://www.github.com/boykopovar/AnyPS5/pull/6867) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6868](https://www.github.com/boykopovar/AnyPS5/pull/6868) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6879](https://www.github.com/boykopovar/AnyPS5/pull/6879) | `CMakeLists.txt`<br>`core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp`<br>`core/libs/prx/libc/include/general/ExportMacros.hpp`<br>`core/libs/prx/libc/src/ApplicationProcessParameters.cpp`<br>`core/libs/prx/libc/src/General.cpp`<br>`core/libs/prx/libc/src/GuestAllocations.cpp`<br>`core/libs/prx/libc/src/GuestArena.cpp`<br>`core/libs/prx/libc/src/Math.cpp`<br>`core/libs/prx/libc/src/Strings.cpp`<br>`core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp`<br>`core/libs/prx/libkernel/File/src/NativeStat.cpp`<br>`core/libs/prx/libkernel/File/src/Stdio.cpp`<br>`core/libs/prx/libkernel/Module/src/DynamicLoader.cpp`<br>`core/libs/prx/libkernel/Module/src/ModuleInfo.cpp`<br>`core/libs/prx/libkernel/Pthread/src/Thread.cpp`<br>`core/libs/prx/libkernel/System/src/Exception.cpp`<br>`core/libs/prx/libkernel/System/src/Process.cpp`<br>`core/libs/prx/libkernel/System/src/Rtld.cpp`<br>`core/libs/prx/libkernel/Time/Time.cpp`<br>`core/relinker/CMakeLists.txt`<br>`core/shader/recompiler/CMakeLists.txt`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`docs/dev/BUILD.md` | | [PR 6893](https://www.github.com/boykopovar/AnyPS5/pull/6893) | `core/libs/prx/libkernel/CMakeLists.txt`<br>`core/libs/prx/libkernel/Pthread/include/Pthread.hpp`<br>`core/libs/prx/libkernel/Pthread/src/Thread.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 6926](https://www.github.com/boykopovar/AnyPS5/pull/6926) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libc/src/GuestArena.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6936](https://www.github.com/boykopovar/AnyPS5/pull/6936) | `core/libs/prx/libkernel/CMakeLists.txt`<br>`core/libs/prx/libkernel/File/src/Open.cpp`<br>`core/libs/prx/libkernel/File/src/Stdio.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 6946](https://www.github.com/boykopovar/AnyPS5/pull/6946) | `CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/shader/recompiler/CMakeLists.txt`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`docs/dev/ENVIRONMENT.md`<br>`docs/dev/debt/libSceAgcDriver.md`<br>`docs/user/USAGE.md` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Resources.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/CMakeLists.txt`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ProgramMetadata.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp`<br>`docs/dev/ENVIRONMENT.md`<br>`docs/dev/debt/libSceAgcDriver.md`<br>`docs/user/USAGE.md` | | [PR 6951](https://www.github.com/boykopovar/AnyPS5/pull/6951) | `core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp`<br>`core/libs/prx/libc/include/GuestAllocations.hpp`<br>`docs/dev/ENVIRONMENT.md` | | [PR 6960](https://www.github.com/boykopovar/AnyPS5/pull/6960) | `core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6971](https://www.github.com/boykopovar/AnyPS5/pull/6971) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6972](https://www.github.com/boykopovar/AnyPS5/pull/6972) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceVideoOut/tests/Flip.cpp`<br>`core/libs/prx/libkernel/CMakeLists.txt`<br>`core/libs/prx/libkernel/File/src/Stdio.cpp`<br>`core/libs/prx/libkernel/Module/src/Module.cpp`<br>`core/libs/prx/libkernel/Socket/src/Udp.cpp`<br>`core/libs/tests/GuestDynamicLoader.cpp`<br>`core/libs/tests/GuestKernelFcntl.cpp`<br>`core/relinker/CMakeLists.txt`<br>`core/shader/recompiler/CMakeLists.txt`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp`<br>`docs/dev/debt/libSceAgcDriver.md`<br>`docs/dev/debt/libkernel.md`<br>`docs/dev/debt/relinker.md`<br>`docs/dev/debt/shader.md` | | [PR 7002](https://www.github.com/boykopovar/AnyPS5/pull/7002) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/execution/MultisampleRetirement.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7048](https://www.github.com/boykopovar/AnyPS5/pull/7048) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 7049](https://www.github.com/boykopovar/AnyPS5/pull/7049) | `docs/dev/debt/libkernel.md` | | [PR 7081](https://www.github.com/boykopovar/AnyPS5/pull/7081) | `core/libs/prx/libc/CMakeLists.txt`<br>`core/libs/prx/libc/src/FileAndHeap.cpp`<br>`core/libs/tests/GuestFiopen.cpp`<br>`docs/dev/debt/libc.md` | | [PR 7085](https://www.github.com/boykopovar/AnyPS5/pull/7085) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`docs/dev/debt/libSceAgcDriver.md`<br>`docs/dev/debt/shader.md` | | [PR 7105](https://www.github.com/boykopovar/AnyPS5/pull/7105) | `core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp`<br>`core/libs/prx/libkernel/DirectMemory/Export.cpp`<br>`core/libs/tests/GuestMemory.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 7149](https://www.github.com/boykopovar/AnyPS5/pull/7149) | `core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp`<br>`core/libs/prx/libkernel/Pthread/include/Pthread.hpp`<br>`core/libs/prx/libkernel/Pthread/src/Thread.cpp`<br>`core/libs/tests/GuestPthreadStack.cpp`<br>`docs/dev/debt/libkernel.md` | | [PR 7154](https://www.github.com/boykopovar/AnyPS5/pull/7154) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | `CMakeLists.txt`<br>`core/libs/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/include/Driver/Diagnostics.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Diagnostics.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/ThreadPriority.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/HostImportSparseDmaBuf.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/SharedWrites.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/execution/SparseDmaBufImport.cpp`<br>`core/libs/prx/libSceAudioIn/CMakeLists.txt`<br>`core/libs/prx/libSceLibcInternal/PathStatistics.cpp`<br>`core/libs/prx/libSceNet/Export.cpp`<br>`core/libs/prx/libScePosixForWebKit/Resolver.cpp`<br>`core/libs/prx/libSceVideoOut/src/DisplayWindow.cpp`<br>`core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp`<br>`core/libs/prx/libc/CMakeLists.txt`<br>`core/libs/prx/libc/include/FileStream.hpp`<br>`core/libs/prx/libc/include/exceptions/Unwind.hpp`<br>`core/libs/prx/libc/include/general/ExportMacros.hpp`<br>`core/libs/prx/libc/include/specifics/linux/ElfTypes.hpp`<br>`core/libs/prx/libc/src/ApplicationProcessParameters.cpp`<br>`core/libs/prx/libc/src/CxxAbiSupport.cpp`<br>`core/libs/prx/libc/src/FileAndHeap.cpp`<br>`core/libs/prx/libc/src/General.cpp`<br>`core/libs/prx/libc/src/GuestAllocations.cpp`<br>`core/libs/prx/libc/src/GuestArena.cpp`<br>`core/libs/prx/libc/src/Math.cpp`<br>`core/libs/prx/libc/src/Rename.cpp`<br>`core/libs/prx/libc/src/RuntimeSupport.cpp`<br>`core/libs/prx/libc/src/StandardStreams.cpp`<br>`core/libs/prx/libc/src/Strings.cpp`<br>`core/libs/prx/libc/src/Time.cpp`<br>`core/libs/prx/libc/src/exception/Unwind.cpp`<br>`core/libs/prx/libc/src/specifics/gcc/StackGuard.cpp`<br>`core/libs/prx/libc/src/specifics/macos/GuestImages.cpp`<br>`core/libs/prx/libkernel/CMakeLists.txt`<br>`core/libs/prx/libkernel/DirectMemory/DirectMemory.cpp`<br>`core/libs/prx/libkernel/DirectMemory/Export.cpp`<br>`core/libs/prx/libkernel/DirectMemory/Jit.cpp`<br>`core/libs/prx/libkernel/File/src/DirectoryDescriptor.cpp`<br>`core/libs/prx/libkernel/File/src/NativeStat.cpp`<br>`core/libs/prx/libkernel/File/src/Open.cpp`<br>`core/libs/prx/libkernel/File/src/SharedMemory.cpp`<br>`core/libs/prx/libkernel/File/src/Stdio.cpp`<br>`core/libs/prx/libkernel/Module/src/DynamicLoader.cpp`<br>`core/libs/prx/libkernel/Module/src/Module.cpp`<br>`core/libs/prx/libkernel/Module/src/ModuleInfo.cpp`<br>`core/libs/prx/libkernel/Pthread/src/Thread.cpp`<br>`core/libs/prx/libkernel/Socket/src/SocketOptions.cpp`<br>`core/libs/prx/libkernel/Socket/src/Udp.cpp`<br>`core/libs/prx/libkernel/System/src/Exception.cpp`<br>`core/libs/prx/libkernel/System/src/Process.cpp`<br>`core/libs/prx/libkernel/System/src/Rtld.cpp`<br>`core/libs/prx/libkernel/Time/Time.cpp`<br>`core/libs/prx/libkernel/Time/TimedWait.cpp`<br>`core/libs/tests/ApplicationHeap.cpp`<br>`core/libs/tests/ExceptionRuntime.cpp`<br>`core/libs/tests/Formatting.cpp`<br>`core/libs/tests/GuestFiopen.cpp`<br>`core/libs/tests/GuestGenericCategory.cpp`<br>`core/libs/tests/GuestKernelStackProtect.cpp`<br>`core/libs/tests/GuestPathCase.cpp`<br>`core/libs/tests/GuestPthreadStack.cpp`<br>`core/libs/tests/GuestRaiseException.cpp`<br>`core/libs/tests/LogMacros.cpp`<br>`core/shader/recompiler/CMakeLists.txt`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ProgramMetadata.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvLoopContinue.hpp`<br>`core/shader/recompiler/SpirvBackend/src/RectListShaders.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvLoopContinue.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp` | | [PR 7256](https://www.github.com/boykopovar/AnyPS5/pull/7256) | `core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7292](https://www.github.com/boykopovar/AnyPS5/pull/7292) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp` | | [PR 7371](https://www.github.com/boykopovar/AnyPS5/pull/7371) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp` | | [PR 7392](https://www.github.com/boykopovar/AnyPS5/pull/7392) | `core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp`<br>`docs/dev/debt/shader.md` | | [PR 7395](https://www.github.com/boykopovar/AnyPS5/pull/7395) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`docs/dev/debt/shader.md` | | [PR 7446](https://www.github.com/boykopovar/AnyPS5/pull/7446) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7449](https://www.github.com/boykopovar/AnyPS5/pull/7449) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7457](https://www.github.com/boykopovar/AnyPS5/pull/7457) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`docs/dev/ENVIRONMENT.md` | | [PR 7464](https://www.github.com/boykopovar/AnyPS5/pull/7464) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp`<br>`core/libs/prx/libkernel/CMakeLists.txt`<br>`core/libs/prx/libkernel/Time/Time.cpp`<br>`core/libs/prx/libkernel/Time/TimedWait.cpp`<br>`docs/dev/ENVIRONMENT.md`<br>`docs/dev/debt/libkernel.md` | | [PR 7471](https://www.github.com/boykopovar/AnyPS5/pull/7471) | `core/libs/tests/GuestMemory.cpp` | | [PR 7473](https://www.github.com/boykopovar/AnyPS5/pull/7473) | `core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libc/src/GuestArena.cpp`<br>`core/libs/tests/GuestMemory.cpp`<br>`docs/dev/debt/libc.md` | | [PR 7484](https://www.github.com/boykopovar/AnyPS5/pull/7484) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp`<br>`docs/dev/ENVIRONMENT.md`<br>`docs/dev/debt/shader.md` | | [PR 7505](https://www.github.com/boykopovar/AnyPS5/pull/7505) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7509](https://www.github.com/boykopovar/AnyPS5/pull/7509) | `docs/dev/debt/libkernel.md` | | [PR 7514](https://www.github.com/boykopovar/AnyPS5/pull/7514) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 7604](https://www.github.com/boykopovar/AnyPS5/pull/7604) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp`<br>`docs/dev/ENVIRONMENT.md`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7642](https://www.github.com/boykopovar/AnyPS5/pull/7642) | `CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Resources.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/CMakeLists.txt`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ProgramMetadata.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp`<br>`docs/dev/ENVIRONMENT.md`<br>`docs/dev/debt/libSceAgcDriver.md`<br>`docs/user/USAGE.md` | | [PR 7644](https://www.github.com/boykopovar/AnyPS5/pull/7644) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7647](https://www.github.com/boykopovar/AnyPS5/pull/7647) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp` | | [PR 7668](https://www.github.com/boykopovar/AnyPS5/pull/7668) | `core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7684](https://www.github.com/boykopovar/AnyPS5/pull/7684) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`docs/dev/debt/shader.md` | | [PR 7715](https://www.github.com/boykopovar/AnyPS5/pull/7715) | `core/libs/prx/libc/CMakeLists.txt`<br>`docs/dev/debt/libc.md` | | [PR 7800](https://www.github.com/boykopovar/AnyPS5/pull/7800) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/execution/SampledCacheBudget.cpp`<br>`docs/dev/debt/libSceAgcDriver.md`<br>`docs/user/USAGE.md` | | [PR 7922](https://www.github.com/boykopovar/AnyPS5/pull/7922) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/shader/recompiler/CMakeLists.txt`<br>`core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp`<br>`docs/dev/ENVIRONMENT.md`<br>`docs/dev/debt/shader.md` | | [PR 7927](https://www.github.com/boykopovar/AnyPS5/pull/7927) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7948](https://www.github.com/boykopovar/AnyPS5/pull/7948) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7965](https://www.github.com/boykopovar/AnyPS5/pull/7965) | `docs/dev/debt/libSceAgcDriver.md`<br>`docs/dev/debt/libkernel.md`<br>`docs/dev/debt/shader.md` | | [PR 7981](https://www.github.com/boykopovar/AnyPS5/pull/7981) | `core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/WriteTracking.cpp` | | [PR 8004](https://www.github.com/boykopovar/AnyPS5/pull/8004) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/CMakeLists.txt`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp`<br>`core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvSubgroup.cpp`<br>`core/shader/recompiler/tests/RequestSerializerTests.cpp`<br>`docs/dev/ENVIRONMENT.md`<br>`docs/dev/debt/shader.md` | | [PR 8014](https://www.github.com/boykopovar/AnyPS5/pull/8014) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 8076](https://www.github.com/boykopovar/AnyPS5/pull/8076) | `docs/dev/debt/relinker.md` | | [PR 8099](https://www.github.com/boykopovar/AnyPS5/pull/8099) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 8105](https://www.github.com/boykopovar/AnyPS5/pull/8105) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 8160](https://www.github.com/boykopovar/AnyPS5/pull/8160) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/ENVIRONMENT.md` | | [PR 8161](https://www.github.com/boykopovar/AnyPS5/pull/8161) | `CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/ENVIRONMENT.md` | | [PR 8204](https://www.github.com/boykopovar/AnyPS5/pull/8204) | `core/libs/prx/libSceNet/Export.cpp`<br>`core/libs/tests/GuestSceNet.cpp` | | [PR 8206](https://www.github.com/boykopovar/AnyPS5/pull/8206) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/include/Driver/Diagnostics.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Diagnostics.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`docs/dev/ENVIRONMENT.md`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 8281](https://www.github.com/boykopovar/AnyPS5/pull/8281) | `docs/dev/debt/libSceAgcDriver.md`<br>`docs/dev/debt/shader.md` | | [PR 8374](https://www.github.com/boykopovar/AnyPS5/pull/8374) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` |
blawesom commented 2026-10-18 10:20:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-18T10:20:47Z.


Heads-up: this PR overlaps #7201 ("Macos port", opened two days earlier) — the pr-overlap comparison against it could not even complete against the base branch, but the shared-file list is extensive (the macOS specifics tree, the libc/libkernel platform paths, the relinker and packaging tooling; both carry Rosetta 2 host support with spec/macos guest runtimes). The two are parallel implementations of the same platform port, so whichever the maintainers pick, the other will need reducing onto it — and both currently carry the needs-rebase label against current main. I have a verified rebase of #7201's head on blawesom:rebase/7201 if it is useful as a comparison point or a base for reconciling the two; flagging rather than choosing, since the direction is the maintainers' call.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6248693233 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6248693233). Originally posted by [blawesom](https://github.com/blawesom) on 2026-10-18T10:20:47Z. --- **Heads-up: this PR overlaps #7201** ("Macos port", opened two days earlier) — the pr-overlap comparison against it could not even complete against the base branch, but the shared-file list is extensive (the macOS specifics tree, the libc/libkernel platform paths, the relinker and packaging tooling; both carry Rosetta 2 host support with `spec/macos` guest runtimes). The two are parallel implementations of the same platform port, so whichever the maintainers pick, the other will need reducing onto it — and both currently carry the needs-rebase label against current `main`. I have a verified rebase of #7201's head on `blawesom:rebase/7201` if it is useful as a comparison point or a base for reconciling the two; flagging rather than choosing, since the direction is the maintainers' call.
ycarogabriel-lgtm commented 2026-10-18 12:07:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ycarogabriel-lgtm on 2026-10-18T12:07:13Z.


Thanks for the heads-up, @blawesom, and for putting the comparison together.

Since today's update this branch is on current main (no needs-rebase label, mergeable). It integrates the open macOS PRs (mugurc's series, DavidSamir's, yripper's and others) plus the XNU fixes that came up once everything ran together, so it naturally overlaps #7201.

#7201 has pieces this branch does not: per-loop SPIR-V continue blocks for SPIRV-Cross, CPU HTILE fills, device-loss diagnostics, AF_UNIX seqpacket pairs, compact-unwind host frames and the VideoOut window/present work. I'm porting those onto this branch one feature at a time, each commit co-authored by @marion909, and I'll list #7201 in Depends on. That way whichever direction the maintainers choose, nothing from either port is lost. I'll compare against #7201's head, since rebase/7201 is currently 568 commits behind main.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6249720556 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6249720556). Originally posted by [ycarogabriel-lgtm](https://github.com/ycarogabriel-lgtm) on 2026-10-18T12:07:13Z. --- Thanks for the heads-up, @blawesom, and for putting the comparison together. Since today's update this branch is on current main (no needs-rebase label, mergeable). It integrates the open macOS PRs (mugurc's series, DavidSamir's, yripper's and others) plus the XNU fixes that came up once everything ran together, so it naturally overlaps #7201. #7201 has pieces this branch does not: per-loop SPIR-V continue blocks for SPIRV-Cross, CPU HTILE fills, device-loss diagnostics, AF_UNIX seqpacket pairs, compact-unwind host frames and the VideoOut window/present work. I'm porting those onto this branch one feature at a time, each commit co-authored by @marion909, and I'll list #7201 in Depends on. That way whichever direction the maintainers choose, nothing from either port is lost. I'll compare against #7201's head, since rebase/7201 is currently 568 commits behind main.
imellag commented 2026-10-18 14:47:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-10-18T14:47:29Z.


Tested on an Apple M4 Pro (MacBook Pro, 16-core GPU, 24 GB), macOS 27.0.1 (26A434), Rosetta 2, Apple clang 21.0.0, CMake 4.4.4, Ninja 1.13.2, Vulkan SDK 1.4.363.0 (MoltenVK 1.4.2), so a second chip and macOS 27 next to the M1 results in the description.

Head 690c044a6 merged into current main (a62c724c3, no conflicts), full build with -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON, x86-64 picked by the build: no errors.

Run Result
Full suite, ctest -j4, no Vulkan loader on the path 1426/1427, GPU tests skipped; the failure is precise_wait
GPU suite, ctest -j1 --timeout 30 -R '^agc' without agc_display_buffer_dcc, agc_driver_flip and agc_driver_lds_atomics64, DYLD_LIBRARY_PATH and VK_DRIVER_FILES on the SDK's MoltenVK 677/696, then 678/696 in a second run (68 skipped in both)

precise_wait fails here every time, not only under load. Run alone it fails 10 times out of 10 (4 out of 5 through ctest): PreciseSleepUs(1500) median overslept target bound: 1765459 ns, with medians between 1.765 and 1.768 ms against the 1.65 ms bound. The host timer overshoots by about a quarter. In a separate program, nanosleep of 1400 us has a median of 1761 to 1768 us and of 200 us 255 to 260 us, natively and under Rosetta, with default or user-interactive QoS; mach_wait_until gives the same (1764 us for 1400 us). With the 100 us spin tail on macOS the median lands near 1.76 ms, so the test cannot pass on this host. The Mac was on AC power, in normal power mode.

GPU failures. The same 18 in both runs, all in the classes under Investigation notes:

  • sign of zero lost (expected 0x8000 or 0x80000000, got zero): f16_fma_denormal_modes, f32_denormal_flush, f32_output_modifier, float16_fma_rounding, float16_rounding, packed_alu, packed_f16_denormal_modes, sdwa_float_selectors, dpp16_operands (row_shr_pk_fmac_f16 is 0x2e660000, expected 0x2e668000)
  • f32_constant_factor_tininess: a product below 2^-126 that rounds to it gives 0x00000000, expected 0x00800000
  • vertex_clip_cull_distances, vertex_clip_cull_draw, vertex_clip_cull_draw_no_key (abort) and vertex_user_data_tail: vertex clip or cull distance needs shaderClipDistance or shaderCullDistance, which the device lacks
  • tessellation: the instanced patch in column 0 does not take its blue channel from the relative patch index, (255, 0, 96, 255)
  • pixel_interlock: MoltenVK fails to compile the shader, raster_order_group on a field of the argument buffer
  • rect_list_indirect: byte 64 of the indirect draw is 64, the direct draw wrote 255
  • image_plane_bias_on_single_level_volume: guest sampler descriptor uses a min or max reduction which the device does not support. The description lists a plane bias on single-level volumes; here the test stops earlier, at the sampler reduction, so this one may differ from the M1.

Once: agc_driver_msaa_dcc_clear_2 failed in the first GPU run (multisampled DCC target reuse requires watched guest memory), then passed in the second run and 40 times out of 40 alone, as did agc_driver_msaa_dcc_clear_4.

Not checked: any title, the three excluded tests, Linux and Windows.

AI-assisted: yes (Claude Code). I ran all of the above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6251272184 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6251272184). Originally posted by [imellag](https://github.com/imellag) on 2026-10-18T14:47:29Z. --- Tested on an Apple M4 Pro (MacBook Pro, 16-core GPU, 24 GB), macOS 27.0.1 (26A434), Rosetta 2, Apple clang 21.0.0, CMake 4.4.4, Ninja 1.13.2, Vulkan SDK 1.4.363.0 (MoltenVK 1.4.2), so a second chip and macOS 27 next to the M1 results in the description. Head `690c044a6` merged into current `main` (`a62c724c3`, no conflicts), full build with `-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON`, x86-64 picked by the build: no errors. | Run | Result | |---|---| | Full suite, `ctest -j4`, no Vulkan loader on the path | 1426/1427, GPU tests skipped; the failure is `precise_wait` | | GPU suite, `ctest -j1 --timeout 30 -R '^agc'` without `agc_display_buffer_dcc`, `agc_driver_flip` and `agc_driver_lds_atomics64`, `DYLD_LIBRARY_PATH` and `VK_DRIVER_FILES` on the SDK's MoltenVK | 677/696, then 678/696 in a second run (68 skipped in both) | **`precise_wait` fails here every time, not only under load.** Run alone it fails 10 times out of 10 (4 out of 5 through `ctest`): `PreciseSleepUs(1500) median overslept target bound: 1765459 ns`, with medians between 1.765 and 1.768 ms against the 1.65 ms bound. The host timer overshoots by about a quarter. In a separate program, `nanosleep` of 1400 us has a median of 1761 to 1768 us and of 200 us 255 to 260 us, natively and under Rosetta, with default or user-interactive QoS; `mach_wait_until` gives the same (1764 us for 1400 us). With the 100 us spin tail on macOS the median lands near 1.76 ms, so the test cannot pass on this host. The Mac was on AC power, in normal power mode. **GPU failures.** The same 18 in both runs, all in the classes under Investigation notes: - sign of zero lost (expected `0x8000` or `0x80000000`, got zero): `f16_fma_denormal_modes`, `f32_denormal_flush`, `f32_output_modifier`, `float16_fma_rounding`, `float16_rounding`, `packed_alu`, `packed_f16_denormal_modes`, `sdwa_float_selectors`, `dpp16_operands` (`row_shr_pk_fmac_f16` is `0x2e660000`, expected `0x2e668000`) - `f32_constant_factor_tininess`: a product below 2^-126 that rounds to it gives `0x00000000`, expected `0x00800000` - `vertex_clip_cull_distances`, `vertex_clip_cull_draw`, `vertex_clip_cull_draw_no_key` (abort) and `vertex_user_data_tail`: `vertex clip or cull distance needs shaderClipDistance or shaderCullDistance, which the device lacks` - `tessellation`: the instanced patch in column 0 does not take its blue channel from the relative patch index, `(255, 0, 96, 255)` - `pixel_interlock`: MoltenVK fails to compile the shader, `raster_order_group` on a field of the argument buffer - `rect_list_indirect`: byte 64 of the indirect draw is 64, the direct draw wrote 255 - `image_plane_bias_on_single_level_volume`: `guest sampler descriptor uses a min or max reduction which the device does not support`. The description lists a plane bias on single-level volumes; here the test stops earlier, at the sampler reduction, so this one may differ from the M1. **Once:** `agc_driver_msaa_dcc_clear_2` failed in the first GPU run (`multisampled DCC target reuse requires watched guest memory`), then passed in the second run and 40 times out of 40 alone, as did `agc_driver_msaa_dcc_clear_4`. Not checked: any title, the three excluded tests, Linux and Windows. AI-assisted: yes (Claude Code). I ran all of the above on my machine.
imellag commented 2026-10-18 15:39:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-10-18T15:39:32Z.


Two titles on the build from my previous comment (690c044a6 merged into a62c724c3, Apple M4 Pro, macOS 27.0.1, MoltenVK 1.4.2), launched with tools/macos/run.sh.

Planet of Lana (PPSA19450, 01.010.000), Unity IL2CPP with FMOD in Media/Plugins.

Setup. tools/macos/setup-game.sh stops at the first file with not a SELF container: unself.py accepts only the 0x1D3D154F magic, and this dump's eboot.bin and every .prx start with 0xEEF51454. tools/unwrap_self.py accepts both; with it, the eight modules relink (--module-dir Media/Modules --module-dir Media/Plugins) and the script's remaining steps work. The same happens with ccleste's sce_module/libc.prx below.

Stops on a black loading screen. After the publisher logos the title keeps presenting a black frame at 60 fps, with no error in the log. With DYLD_PRINT_APIS=1 on eboot (set directly, since /bin/sh drops DYLD_* when run.sh starts):

dlopen(".../app0/Media/Plugins/libfmod.prx.guest.prx", 0x00000006)
      dlopen(libfmod.prx.guest.prx) => 0x30dfc4740
dlopen(".../app0/Media/Plugins/libfmodstudio.prx.guest.prx", 0x00000006)
      dlopen(libfmodstudio.prx.guest.prx) => NULL, '...: symbol not found in flat namespace '_5o-pWj4G91E#guest''

libfmod.prx.guest.prx exports _5o-pWj4G91E#guest (dyld_info -exports), and libfmodstudio.prx.guest.prx loads @loader_path/libfmod.prx.guest.prx. But MacOsImage.cpp binds every import with BIND_SPECIAL_DYLIB_FLAT_LOOKUP, and dlopen_nid_postfix opens a module with RTLD_LOCAL unless the guest passes 0x100. libfmod was opened with mode 0x6 (RTLD_NOW | RTLD_LOCAL), and the flat lookup from libfmodstudio does not find it. The failure only reaches dlerror, the title opens no FMOD bank and waits. Both parts are on main as well.

As a check only, not as a proposed fix: with a local change that opens every module RTLD_GLOBAL, libfmodstudio loads, the title opens its banks (Master, Lana, World, Ui, Music_ON) and reaches the main menu with music, and keyboard navigation works.

Menu background corrupted. The menu text is drawn correctly, but the scenery behind it has wrong geometry (triangles stretched to the screen edges, nested frames converging on the centre) that changes every frame. Each run below reaches the menu (APS5_EXPERIMENT_GLOBAL_DLOPEN=1 is the local change above):

Run Frames without corruption fps (window title)
as is none about 10
APS5_NO_WRITE_WATCH=1 about 80% 1.78
APS5_NO_DRAW_KEY=1 none about 10
APS5_NO_DRAW_RESOURCE_CACHE=1 APS5_NO_RESOURCE_CACHE=1 APS5_NO_CACHED_PRECOLLECT=1 none about 9
MVK_CONFIG_SYNCHRONOUS_QUEUE_SUBMITS=1 none about 10

So most of it follows the macOS write watch, which would fit guest writes it misses leaving stale vertex data; turning off the caches or MoltenVK's async submission does not change it. The remaining corruption with the watch off, mostly on the right side, I have not narrowed down. The only GPU message is the viewport depth clamp to [0, 1].

Speed. run-profile.sh and profile_summary.py, menu window: 10.2 fps, 223 draws per frame, 46.7 ms GPU per frame, 36 us per draw. In the same 10 s the untagged thread held the GPU mutex for 9693 ms, 7278 ms of it in 309 fills (max 39.8 ms), and the presenter waited 2037 ms for it, 1834 ms behind the fills. #6505 removes a wait behind pending fills under the GPU mutex; I have not tried whether it applies here. The 26 [mvk-error] lines in the profile (Could not create MTLCounterSampleBuffer ... Reverting to emulated behavior) come from the timestamp queries of APS5_PROFILE_GPU.

ccleste (PPSA59322), the 1.00 release of darkxex/PS5_Celeste: the window opens and the first draws run, then it stops with a pixel shader that reads barycentrics without VK_KHR_fragment_shader_barycentric needs a vertex shader before it, as in #5079 on devices without mesh shaders.

Not checked: these titles on Linux or Windows with this build, and #6505 on this branch.

AI-assisted: yes (Claude Code). I ran all of the above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6251796687 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6251796687). Originally posted by [imellag](https://github.com/imellag) on 2026-10-18T15:39:32Z. --- Two titles on the build from my previous comment (`690c044a6` merged into `a62c724c3`, Apple M4 Pro, macOS 27.0.1, MoltenVK 1.4.2), launched with `tools/macos/run.sh`. **Planet of Lana (PPSA19450, 01.010.000)**, Unity IL2CPP with FMOD in `Media/Plugins`. *Setup.* `tools/macos/setup-game.sh` stops at the first file with `not a SELF container`: `unself.py` accepts only the `0x1D3D154F` magic, and this dump's `eboot.bin` and every `.prx` start with `0xEEF51454`. `tools/unwrap_self.py` accepts both; with it, the eight modules relink (`--module-dir Media/Modules --module-dir Media/Plugins`) and the script's remaining steps work. The same happens with ccleste's `sce_module/libc.prx` below. *Stops on a black loading screen.* After the publisher logos the title keeps presenting a black frame at 60 fps, with no error in the log. With `DYLD_PRINT_APIS=1` on `eboot` (set directly, since `/bin/sh` drops `DYLD_*` when `run.sh` starts): ``` dlopen(".../app0/Media/Plugins/libfmod.prx.guest.prx", 0x00000006) dlopen(libfmod.prx.guest.prx) => 0x30dfc4740 dlopen(".../app0/Media/Plugins/libfmodstudio.prx.guest.prx", 0x00000006) dlopen(libfmodstudio.prx.guest.prx) => NULL, '...: symbol not found in flat namespace '_5o-pWj4G91E#guest'' ``` `libfmod.prx.guest.prx` exports `_5o-pWj4G91E#guest` (`dyld_info -exports`), and `libfmodstudio.prx.guest.prx` loads `@loader_path/libfmod.prx.guest.prx`. But `MacOsImage.cpp` binds every import with `BIND_SPECIAL_DYLIB_FLAT_LOOKUP`, and `dlopen_nid_postfix` opens a module with `RTLD_LOCAL` unless the guest passes 0x100. libfmod was opened with mode 0x6 (`RTLD_NOW | RTLD_LOCAL`), and the flat lookup from libfmodstudio does not find it. The failure only reaches `dlerror`, the title opens no FMOD bank and waits. Both parts are on `main` as well. As a check only, not as a proposed fix: with a local change that opens every module `RTLD_GLOBAL`, libfmodstudio loads, the title opens its banks (Master, Lana, World, Ui, Music_ON) and reaches the main menu with music, and keyboard navigation works. *Menu background corrupted.* The menu text is drawn correctly, but the scenery behind it has wrong geometry (triangles stretched to the screen edges, nested frames converging on the centre) that changes every frame. Each run below reaches the menu (`APS5_EXPERIMENT_GLOBAL_DLOPEN=1` is the local change above): | Run | Frames without corruption | fps (window title) | |---|---|---| | as is | none | about 10 | | `APS5_NO_WRITE_WATCH=1` | about 80% | 1.78 | | `APS5_NO_DRAW_KEY=1` | none | about 10 | | `APS5_NO_DRAW_RESOURCE_CACHE=1 APS5_NO_RESOURCE_CACHE=1 APS5_NO_CACHED_PRECOLLECT=1` | none | about 9 | | `MVK_CONFIG_SYNCHRONOUS_QUEUE_SUBMITS=1` | none | about 10 | So most of it follows the macOS write watch, which would fit guest writes it misses leaving stale vertex data; turning off the caches or MoltenVK's async submission does not change it. The remaining corruption with the watch off, mostly on the right side, I have not narrowed down. The only GPU message is the viewport depth clamp to [0, 1]. *Speed.* `run-profile.sh` and `profile_summary.py`, menu window: 10.2 fps, 223 draws per frame, 46.7 ms GPU per frame, 36 us per draw. In the same 10 s the untagged thread held the GPU mutex for 9693 ms, 7278 ms of it in 309 fills (max 39.8 ms), and the presenter waited 2037 ms for it, 1834 ms behind the fills. #6505 removes a wait behind pending fills under the GPU mutex; I have not tried whether it applies here. The 26 `[mvk-error]` lines in the profile (`Could not create MTLCounterSampleBuffer ... Reverting to emulated behavior`) come from the timestamp queries of `APS5_PROFILE_GPU`. **ccleste (PPSA59322)**, the 1.00 release of darkxex/PS5_Celeste: the window opens and the first draws run, then it stops with `a pixel shader that reads barycentrics without VK_KHR_fragment_shader_barycentric needs a vertex shader before it`, as in #5079 on devices without mesh shaders. Not checked: these titles on Linux or Windows with this build, and #6505 on this branch. AI-assisted: yes (Claude Code). I ran all of the above on my machine.
imellag commented 2026-10-18 16:12:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-10-18T16:12:44Z.


God of War: Sons of Sparta (PPSA28997, 01.008.001) on the same build. setup-game.sh works as is for this dump, whose files use the 0x1D3D154F SELF magic.

  • On this branch the title ends with SIGSEGV at start-up, right after global-metadata.dat opens. It is the IL2CPP → title free → title abort chain that #6842 fixes. #6842 merges into this branch without conflicts, and its tests and the title check pass on macOS (details on #6842).
  • With #6842, the title then waits after level0 and level1 on the same libfmodstudio.prx.guest.prx load as Planet of Lana (symbol not found in flat namespace '_5o-pWj4G91E#guest', 20 attempts), so the flat-lookup stop is not specific to one title.
  • With #6842 and the RTLD_GLOBAL check, the title loads its FMOD banks and reaches gameplay, and audio and keyboard input work. It runs at about 26 fps through the title screen and the narrated opening, and about 15 fps in gameplay, with some corruption in the background. profile_summary.py over 2.5 minutes shows 20 to 26 fps in most windows, about 31.6 ms of GPU time per frame, and 115 pipeline cache misses on this first run; the four longest stalls, 207 to 428 ms, are in pipeline creation.
  • A second run over the same stretch with warm caches (the pipeline journal replays 133 pipelines in 39 ms) has 10 pipeline cache misses, and its three longest stalls are 145 to 206 ms. The frame rate stays about the same, 16 to 27 fps, so GPU time is what limits it: about 31.6 ms per frame in most windows, and 60.7 ms in the heaviest one (223 draws per frame, 16.4 fps). By eye the run looks the same as the first one: 17 to 27 fps in the narrated opening, and no visible difference in stutter.

Not checked: what causes the background corruption.

AI-assisted: yes (Claude Code). I ran all of the above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6252134123 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6252134123). Originally posted by [imellag](https://github.com/imellag) on 2026-10-18T16:12:44Z. --- God of War: Sons of Sparta (PPSA28997, 01.008.001) on the same build. `setup-game.sh` works as is for this dump, whose files use the `0x1D3D154F` SELF magic. - On this branch the title ends with SIGSEGV at start-up, right after `global-metadata.dat` opens. It is the IL2CPP → title `free` → title `abort` chain that #6842 fixes. #6842 merges into this branch without conflicts, and its tests and the title check pass on macOS (details on #6842). - With #6842, the title then waits after `level0` and `level1` on the same `libfmodstudio.prx.guest.prx` load as Planet of Lana (`symbol not found in flat namespace '_5o-pWj4G91E#guest'`, 20 attempts), so the flat-lookup stop is not specific to one title. - With #6842 and the `RTLD_GLOBAL` check, the title loads its FMOD banks and reaches gameplay, and audio and keyboard input work. It runs at about 26 fps through the title screen and the narrated opening, and about 15 fps in gameplay, with some corruption in the background. `profile_summary.py` over 2.5 minutes shows 20 to 26 fps in most windows, about 31.6 ms of GPU time per frame, and 115 pipeline cache misses on this first run; the four longest stalls, 207 to 428 ms, are in pipeline creation. - A second run over the same stretch with warm caches (the pipeline journal replays 133 pipelines in 39 ms) has 10 pipeline cache misses, and its three longest stalls are 145 to 206 ms. The frame rate stays about the same, 16 to 27 fps, so GPU time is what limits it: about 31.6 ms per frame in most windows, and 60.7 ms in the heaviest one (223 draws per frame, 16.4 fps). By eye the run looks the same as the first one: 17 to 27 fps in the narrated opening, and no visible difference in stutter. Not checked: what causes the background corruption. AI-assisted: yes (Claude Code). I ran all of the above on my machine.
jotitadev commented 2026-10-18 16:50:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-18T16:50:40Z.

Review: COMMENTED


Ran this on a third Mac: Apple M2 Max (32 GB), macOS 27.2 (26B5112a), Apple clang 21, x86-64 build under Rosetta 2. Head 690c044a6 merged into current main (d3d8d79c5) with no conflicts. Full Release build with BUILD_TESTING=ON: no errors. No GPU tests in this run.

Non-GPU suite (ctest -E "^agc|video_?out|flip|display" -j4): 705/708. The three failures were precise_wait, guest_socket_read_write and guest_refused_connect. Run alone 10 times each:

Test Passed alone
precise_wait 6/10
guest_socket_read_write 9/10
guest_refused_connect 0/10 in the first batch, 9/10 in a later one

guest_refused_connect is a host difference, not load. With a Require that prints its line, the failure is in the first "connects once the backlog drains" case: connect returns -1 with errno 54 (ECONNRESET) at once. That case expects FreeBSD's behaviour: a SYN to a full accept backlog is dropped and retransmitted, so the connect succeeds after the acceptor thread drains the queue. XNU sometimes answers that SYN with a RST instead. A plain C program shows the same thing natively (arm64) and under Rosetta, without AnyPS5. It listens on 127.0.0.1 with backlog 1, queues one connect, and connects again while another thread waits 100 ms before accept:

queued connect=0
second connect=-1 errno=54 (Connection reset by peer) after 0 ms

With backlog 2 the second connect always succeeds. With backlog 1 the reset rate changed between batches: 4/4, then 0/20, then 3/20. So it depends on host state, not on CPU load alone. That fits with the M1 and M4 Pro runs above passing it. SocketConnect.cpp only handles the Windows side of this (RST on a full backlog, then SYN retransmission). On macOS the guest gets ECONNRESET where the console would wait. A loopback retry on ECONNRESET while a listener exists, like the Windows path, would match the console. Otherwise the test should not be registered on macOS.

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5563939305 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#pullrequestreview-5563939305). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-18T16:50:40Z. **Review:** COMMENTED --- Ran this on a third Mac: Apple M2 Max (32 GB), macOS 27.2 (26B5112a), Apple clang 21, x86-64 build under Rosetta 2. Head `690c044a6` merged into current `main` (`d3d8d79c5`) with no conflicts. Full `Release` build with `BUILD_TESTING=ON`: no errors. No GPU tests in this run. Non-GPU suite (`ctest -E "^agc|video_?out|flip|display" -j4`): 705/708. The three failures were `precise_wait`, `guest_socket_read_write` and `guest_refused_connect`. Run alone 10 times each: | Test | Passed alone | |---|---| | `precise_wait` | 6/10 | | `guest_socket_read_write` | 9/10 | | `guest_refused_connect` | 0/10 in the first batch, 9/10 in a later one | **`guest_refused_connect` is a host difference, not load.** With a `Require` that prints its line, the failure is in the first "connects once the backlog drains" case: `connect` returns -1 with errno 54 (`ECONNRESET`) at once. That case expects FreeBSD's behaviour: a SYN to a full accept backlog is dropped and retransmitted, so the connect succeeds after the acceptor thread drains the queue. XNU sometimes answers that SYN with a RST instead. A plain C program shows the same thing natively (arm64) and under Rosetta, without AnyPS5. It listens on 127.0.0.1 with backlog 1, queues one connect, and connects again while another thread waits 100 ms before `accept`: ``` queued connect=0 second connect=-1 errno=54 (Connection reset by peer) after 0 ms ``` With backlog 2 the second connect always succeeds. With backlog 1 the reset rate changed between batches: 4/4, then 0/20, then 3/20. So it depends on host state, not on CPU load alone. That fits with the M1 and M4 Pro runs above passing it. `SocketConnect.cpp` only handles the Windows side of this (RST on a full backlog, then SYN retransmission). On macOS the guest gets `ECONNRESET` where the console would wait. A loopback retry on `ECONNRESET` while a listener exists, like the Windows path, would match the console. Otherwise the test should not be registered on macOS. Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
ycarogabriel-lgtm commented 2026-10-18 18:37:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ycarogabriel-lgtm on 2026-10-18T18:37:23Z.


Thank you both for the runs on the M2 Max and the M4 Pro, and for the title traces. They found real problems. Here is what changed on the branch, which is on current main again:

  • FMOD Studio load (@imellag): your diagnosis was right. On macOS the host dlopen now always uses RTLD_GLOBAL, because relinked modules bind imports by flat lookup and dyld leaves RTLD_LOCAL images out of it. The guest's own scope is unchanged: dlsym with the default handle still skips a module the guest opened without RTLD_GLOBAL, and guest_dynamic_loader now checks that on every host. What is left of the difference is in the libkernel debt file.
  • God of War start-up crash: #6842 is merged into the branch, as you suggested.
  • precise_wait (@imellag): your nanosleep/mach_wait_until numbers pointed straight at it. XNU adds about a quarter of leeway to every timed sleep, so on macOS the precise wait now sleeps three quarters of the interval and spins the rest. Here it went from 3/6 to 10/10 alone. It would help to know whether your M4 Pro agrees.
  • setup-game.sh and the 0xEEF51454 SELF magic: the script now uses tools/unwrap_self.py, and the duplicate unself.py is gone.
  • guest_refused_connect (@jotitadev): it passed 20/20 here and a C probe did not reproduce the reset, which fits your finding that it depends on host state. Without a reproduction I could not check a retry. The same socket would have to accept a second connect after the reset, or a replacement socket would have to carry every option the guest set. So the difference is recorded in the libkernel debt file for now. If you can still reproduce it, a run of the retry idea on your M2 Max would settle it.
  • New upstream code on macOS:
    • the performance overlay now reads the private memory from TASK_VM_INFO;
    • sRGB storage images use their UNORM format on macOS, because Metal encodes stores to sRGB textures;
    • the AGC driver memory that #6160 maps at 0xfe0000000 cannot be mapped under Rosetta, which reserves 0xfc0000000–0x1000000000. The driver now starts without it and says so, and that test skips with the reason. This is recorded in the AGC debt file.
  • The description now lists the GPU failure classes as your M4 Pro run reported them, including the min/max sampler reduction in image_plane_bias_on_single_level_volume, and credits your Macs and titles.

Not addressed here: the background corruption that follows the macOS write watch, ccleste's barycentrics without a vertex shader (#5079), and #6505 on this branch. Those are next.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6253625295 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6253625295). Originally posted by [ycarogabriel-lgtm](https://github.com/ycarogabriel-lgtm) on 2026-10-18T18:37:23Z. --- Thank you both for the runs on the M2 Max and the M4 Pro, and for the title traces. They found real problems. Here is what changed on the branch, which is on current `main` again: - **FMOD Studio load (@imellag):** your diagnosis was right. On macOS the host `dlopen` now always uses `RTLD_GLOBAL`, because relinked modules bind imports by flat lookup and dyld leaves `RTLD_LOCAL` images out of it. The guest's own scope is unchanged: `dlsym` with the default handle still skips a module the guest opened without `RTLD_GLOBAL`, and `guest_dynamic_loader` now checks that on every host. What is left of the difference is in the libkernel debt file. - **God of War start-up crash:** #6842 is merged into the branch, as you suggested. - **`precise_wait` (@imellag):** your `nanosleep`/`mach_wait_until` numbers pointed straight at it. XNU adds about a quarter of leeway to every timed sleep, so on macOS the precise wait now sleeps three quarters of the interval and spins the rest. Here it went from 3/6 to 10/10 alone. It would help to know whether your M4 Pro agrees. - **`setup-game.sh` and the `0xEEF51454` SELF magic:** the script now uses `tools/unwrap_self.py`, and the duplicate `unself.py` is gone. - **`guest_refused_connect` (@jotitadev):** it passed 20/20 here and a C probe did not reproduce the reset, which fits your finding that it depends on host state. Without a reproduction I could not check a retry. The same socket would have to accept a second `connect` after the reset, or a replacement socket would have to carry every option the guest set. So the difference is recorded in the libkernel debt file for now. If you can still reproduce it, a run of the retry idea on your M2 Max would settle it. - **New upstream code on macOS:** - the performance overlay now reads the private memory from `TASK_VM_INFO`; - sRGB storage images use their UNORM format on macOS, because Metal encodes stores to sRGB textures; - the AGC driver memory that #6160 maps at `0xfe0000000` cannot be mapped under Rosetta, which reserves `0xfc0000000`–`0x1000000000`. The driver now starts without it and says so, and that test skips with the reason. This is recorded in the AGC debt file. - **The description** now lists the GPU failure classes as your M4 Pro run reported them, including the min/max sampler reduction in `image_plane_bias_on_single_level_volume`, and credits your Macs and titles. Not addressed here: the background corruption that follows the macOS write watch, ccleste's barycentrics without a vertex shader (#5079), and #6505 on this branch. Those are next.
imellag commented 2026-10-18 19:04:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-10-18T19:04:57Z.


Rechecked on the same M4 Pro (macOS 27.0.1, Rosetta 2): head df24fc821 merged into main (376c04029), Release, no Vulkan loader on the path.

precise_wait: yes, the M4 Pro agrees. 10/10 run directly and 10/10 through ctest (on 690c044a6 it failed 10/10 and 4/5), and the full suite passes, 1455/1455 with the GPU tests skipped.

The leeway is a quarter only up to about 16 ms. Beyond that nanosleep oversleeps by 3 to 5 ms whatever the interval (+4 ms at 33 ms, +5 ms at 100 ms, +3 ms at 1 s, natively and under Rosetta). Sleeping three quarters then leaves a quarter to the spin: about 0.6 ms per vblank tick, but about 245 ms for a guest poll with no descriptors and a 1 s timeout. Keeping the spin to a few milliseconds above the leeway would avoid that; I have not tried it.

The new guest_dynamic_loader lines pass without the filter. The fixture is a .dylib and FromGuestModule rejects anything not ending in .prx, so the default-scope lookup is null either way. With a .prx copy, as the test already does for hostLoaded, it fails without the DefaultScopeSymbol check and passes with it:

-    void* localOnly = dlopen_nid_postfix(argv[1], 2);
+    const std::filesystem::path localPath = "anyps5-local-module-for-test.prx";
+    std::filesystem::copy_file(argv[1], localPath, std::filesystem::copy_options::overwrite_existing);
+    void* localOnly = dlopen_nid_postfix(localPath.string().c_str(), 2);
     Require(localOnly != nullptr && dlsym_nid_postfix(localOnly, "GuestModuleAdd") != nullptr);
     Require(dlsym_nid_postfix(nullptr, "GuestModuleAdd") == nullptr);
     Require(dlclose_nid_postfix(localOnly) == 0);
+    std::filesystem::remove(localPath);

0xfc0000000 is not only Rosetta's on macOS 27: native arm64 processes cannot map it either (#7634). The fallback works either way; only the debt line and the [gpu] message name Rosetta.

Not checked: the GPU suite and titles on this head (no Vulkan SDK installed right now), so not yet the FMOD Studio fix in a title; Linux and Windows.

AI-assisted: yes (Claude Code). I ran all of the above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6253905601 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6253905601). Originally posted by [imellag](https://github.com/imellag) on 2026-10-18T19:04:57Z. --- Rechecked on the same M4 Pro (macOS 27.0.1, Rosetta 2): head `df24fc821` merged into `main` (`376c04029`), `Release`, no Vulkan loader on the path. **`precise_wait`: yes, the M4 Pro agrees.** 10/10 run directly and 10/10 through `ctest` (on `690c044a6` it failed 10/10 and 4/5), and the full suite passes, 1455/1455 with the GPU tests skipped. **The leeway is a quarter only up to about 16 ms.** Beyond that `nanosleep` oversleeps by 3 to 5 ms whatever the interval (+4 ms at 33 ms, +5 ms at 100 ms, +3 ms at 1 s, natively and under Rosetta). Sleeping three quarters then leaves a quarter to the spin: about 0.6 ms per vblank tick, but about 245 ms for a guest `poll` with no descriptors and a 1 s timeout. Keeping the spin to a few milliseconds above the leeway would avoid that; I have not tried it. **The new `guest_dynamic_loader` lines pass without the filter.** The fixture is a `.dylib` and `FromGuestModule` rejects anything not ending in `.prx`, so the default-scope lookup is null either way. With a `.prx` copy, as the test already does for `hostLoaded`, it fails without the `DefaultScopeSymbol` check and passes with it: ```diff - void* localOnly = dlopen_nid_postfix(argv[1], 2); + const std::filesystem::path localPath = "anyps5-local-module-for-test.prx"; + std::filesystem::copy_file(argv[1], localPath, std::filesystem::copy_options::overwrite_existing); + void* localOnly = dlopen_nid_postfix(localPath.string().c_str(), 2); Require(localOnly != nullptr && dlsym_nid_postfix(localOnly, "GuestModuleAdd") != nullptr); Require(dlsym_nid_postfix(nullptr, "GuestModuleAdd") == nullptr); Require(dlclose_nid_postfix(localOnly) == 0); + std::filesystem::remove(localPath); ``` **`0xfc0000000` is not only Rosetta's on macOS 27:** native arm64 processes cannot map it either (#7634). The fallback works either way; only the debt line and the `[gpu]` message name Rosetta. Not checked: the GPU suite and titles on this head (no Vulkan SDK installed right now), so not yet the FMOD Studio fix in a title; Linux and Windows. AI-assisted: yes (Claude Code). I ran all of the above on my machine.
ycarogabriel-lgtm commented 2026-10-19 00:06:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ycarogabriel-lgtm on 2026-10-19T00:06:46Z.


Thank you @imellag for the M4 Pro recheck. All three points are on the branch now:

  • precise_wait beyond the leeway: above 24 ms the macOS wait sleeps until 6 ms before the deadline and spins only that. Below it, it still sleeps three quarters, which is where your numbers showed the quarter leeway. precise_wait now also checks the CPU time of a 1 s wait, so the 245 ms spin you measured would fail it.
  • guest_dynamic_loader: you were right that the new lines passed without the filter. They now open a .prx copy, as you proposed, so they fail without the DefaultScopeSymbol check.
  • 0xfc0000000: the [gpu] message and the AGC debt entry now say the macOS host holds that range, not Rosetta alone, since native arm64 processes cannot map it either on macOS 27.

@jotitadev, your ECONNRESET analysis of guest_refused_connect is recorded in the libkernel debt file. The test stays registered on macOS until a retry like the Windows path can be checked on a Mac that reproduces it.

About the history: the branch was rebased twice today, so df24fc821 and 690c044a6, the heads you tested, are no longer on it; the same changes are there under new hashes. From a231179ac on, main comes in by merge, so the hashes you cite from now on stay valid. main up to d71853cf2 is merged, including #6164 (the shader layer change this branch carried) and #6317 (clip distances). One new upstream test, agc_driver_multisample_retirement, needed a change for MoltenVK, which has no multisampled storage images. Results for 57bccfbfc are in the description.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6256849572 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6256849572). Originally posted by [ycarogabriel-lgtm](https://github.com/ycarogabriel-lgtm) on 2026-10-19T00:06:46Z. --- Thank you @imellag for the M4 Pro recheck. All three points are on the branch now: - **`precise_wait` beyond the leeway:** above 24 ms the macOS wait sleeps until 6 ms before the deadline and spins only that. Below it, it still sleeps three quarters, which is where your numbers showed the quarter leeway. `precise_wait` now also checks the CPU time of a 1 s wait, so the 245 ms spin you measured would fail it. - **`guest_dynamic_loader`:** you were right that the new lines passed without the filter. They now open a `.prx` copy, as you proposed, so they fail without the `DefaultScopeSymbol` check. - **`0xfc0000000`:** the `[gpu]` message and the AGC debt entry now say the macOS host holds that range, not Rosetta alone, since native arm64 processes cannot map it either on macOS 27. @jotitadev, your `ECONNRESET` analysis of `guest_refused_connect` is recorded in the libkernel debt file. The test stays registered on macOS until a retry like the Windows path can be checked on a Mac that reproduces it. About the history: the branch was rebased twice today, so `df24fc821` and `690c044a6`, the heads you tested, are no longer on it; the same changes are there under new hashes. From `a231179ac` on, `main` comes in by merge, so the hashes you cite from now on stay valid. `main` up to `d71853cf2` is merged, including #6164 (the shader layer change this branch carried) and #6317 (clip distances). One new upstream test, `agc_driver_multisample_retirement`, needed a change for MoltenVK, which has no multisampled storage images. Results for `57bccfbfc` are in the description.
jotitadev commented 2026-10-19 01:51:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-19T01:51:40Z.

Review: COMMENTED


Rechecked 57bccfbfc on the M2 Max (32 GB, macOS 27.2), x86-64 build under Rosetta 2. I built the head as it is, on main 773243436, because it no longer merges cleanly with current main (b5be95ff0). Release with BUILD_TESTING=ON built with no errors. No GPU tests in this run.

Non-GPU suite (ctest -E "^agc|video_?out|flip|display" -j4): 738/740, against 705/708 on 690c044a6.

  • precise_wait passed in the suite, then 9/10 and 20/20 run alone. On 690c044a6 it passed 6/10 alone.
  • guest_socket_read_write passed in the suite, and 9/10 run alone.
  • savedata_memory_growth_read_failure failed once in the suite. It then passed 10/10 alone and 5/5 with the other savedata tests at -j8.
  • guest_refused_connect still fails here: 37/90 run alone, in four batches (4/10, 0/10, 15/20, 18/30).

The retry idea. You asked about it in https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6253625295. I tested it, first with a plain C program (natively and under Rosetta), then in the guest.

  1. The same socket cannot be reused. After XNU's reset, a second connect on that socket always fails with EISCONN: 46 of 46 resets, on arm64 and under Rosetta. On that socket, getpeername then fails with EINVAL and send fails with EPIPE. So the retry needs a new socket.
  2. A new socket has to wait for the backlog to drain. One created right after the reset was reset again in 20 of 27 cases. One created 150 ms later (the acceptor drains at 100 ms) connected 19/19.
  3. Replacing the socket works. The program creates a new socket, copies the options, dup2s it onto the same descriptor and connects again, sleeping 25, 50 and then 100 ms between tries. That connected after every reset: 23/23 on arm64 and 30/30 under Rosetta. It needed at most 3 tries and about 210 ms. The descriptor number, TCP_NODELAY, SO_KEEPALIVE and FD_CLOEXEC stayed the same. SO_SNDBUF read 81660 instead of 65536 after the connect, but a normal loopback connect rounds it the same way.

I then put the same approach into connect_nid_postfix and sceNetConnect. It only runs on macOS, for a blocking stream socket to a loopback address that gets ECONNRESET, and it gives up after 75 s. The guest's own socket state stays in place because the descriptor number does not change. Results:

guest_refused_connect alone
57bccfbfc 37/90
with the retry, connect_nid_postfix only 19/20
with the retry, both paths 60/60

With the retry on both paths the non-GPU suite passed 740/740, and so did the 40 tests matching socket|net|connect|kqueue|equeue|poll|select. I ran the batches with and without the patch one after another, and the C program reset 1 to 3 times in 20 in between, so the difference is not a quiet host.

Patch I tested (macOS only)
diff --git a/core/libs/prx/libSceNet/Export.cpp b/core/libs/prx/libSceNet/Export.cpp
index bb7102de6..57d3c5424 100644
--- a/core/libs/prx/libSceNet/Export.cpp
+++ b/core/libs/prx/libSceNet/Export.cpp
@@ -959,6 +959,9 @@ static int disconnect_datagram(const Sock& socket) {
 #ifdef _WIN32
 extern "C" void RefuseClosedLoopbackAtOnce_nid_no_patch(SOCKET socket, const sockaddr* address);
 #endif
+#ifdef __APPLE__
+extern "C" int ConnectRetryingLoopbackReset_nid_no_patch(int descriptor, const sockaddr* address, socklen_t size, bool blockingStream);
+#endif
 
 int APS5_VABI sceNetConnect(int s, const void* addr, uint32_t addrlen) {
     Sock socket;
@@ -980,7 +983,11 @@ int APS5_VABI sceNetConnect(int s, const void* addr, uint32_t addrlen) {
     if (socket.type == NET_SOCK_STREAM) RefuseClosedLoopbackAtOnce_nid_no_patch(socket.native->value, reinterpret_cast<const sockaddr*>(&native));
 #endif
     if (native.ss_family != (socket.family == NET_AF_INET ? AF_INET : AF_INET6)) return fail(NET_EAFNOSUPPORT);
+#ifdef __APPLE__
+    if (ConnectRetryingLoopbackReset_nid_no_patch(socket.native->value, reinterpret_cast<const sockaddr*>(&native), native_length, socket.type == NET_SOCK_STREAM && !socket.nonblock) == 0) {
+#else
     if (::connect(socket.native->value, reinterpret_cast<const sockaddr*>(&native), native_length) == 0) {
+#endif
 #ifdef _WIN32
         note_local_address(s, socket);
 #endif
diff --git a/core/libs/prx/libkernel/Socket/src/Udp.cpp b/core/libs/prx/libkernel/Socket/src/Udp.cpp
index 54f390fff..f3531dcfc 100644
--- a/core/libs/prx/libkernel/Socket/src/Udp.cpp
+++ b/core/libs/prx/libkernel/Socket/src/Udp.cpp
@@ -51,6 +51,7 @@
 #include <cstddef>
 #include <stdexcept>
 #include <string>
+#include <thread>
 #include <vector>
 
 extern "C" int* APS5_VABI __error_nid_postfix();
@@ -259,6 +260,37 @@ bool Listening(const Socket& socket) {
     bool listening = false;
     return GuestSockets::NativeListening(static_cast<std::uintptr_t>(socket.value), listening) && listening;
 }
+#ifdef __APPLE__
+bool LoopbackAddress(const sockaddr* address) {
+    if (address->sa_family == AF_INET) return (ntohl(reinterpret_cast<const sockaddr_in*>(address)->sin_addr.s_addr) >> 24) == 127;
+    if (address->sa_family == AF_INET6) return IN6_IS_ADDR_LOOPBACK(&reinterpret_cast<const sockaddr_in6*>(address)->sin6_addr);
+    return false;
+}
+// XNU can answer a SYN to a full loopback accept backlog with a reset, which leaves the socket unusable (a second connect fails with EISCONN).
+// The console drops that SYN and its retransmission connects once the backlog drains, so a blocking connect retries on a fresh socket put on the same descriptor.
+bool ReplaceResetSocket(int descriptor, int domain) {
+    const int fresh = ::socket(domain, SOCK_STREAM, 0);
+    if (fresh < 0) return false;
+    static constexpr int Options[][2] = {{SOL_SOCKET, SO_REUSEADDR}, {SOL_SOCKET, SO_REUSEPORT}, {SOL_SOCKET, SO_KEEPALIVE}, {SOL_SOCKET, SO_OOBINLINE},
+        {SOL_SOCKET, SO_SNDBUF}, {SOL_SOCKET, SO_RCVBUF}, {SOL_SOCKET, SO_SNDLOWAT}, {SOL_SOCKET, SO_RCVLOWAT}, {SOL_SOCKET, SO_NOSIGPIPE}, {IPPROTO_TCP, TCP_NODELAY}};
+    for (const auto& option : Options) {
+        int value = 0;
+        socklen_t size = sizeof(value);
+        if (::getsockopt(descriptor, option[0], option[1], &value, &size) == 0) ::setsockopt(fresh, option[0], option[1], &value, size);
+    }
+    linger lingering{};
+    socklen_t lingerSize = sizeof(lingering);
+    if (::getsockopt(descriptor, SOL_SOCKET, SO_LINGER, &lingering, &lingerSize) == 0) ::setsockopt(fresh, SOL_SOCKET, SO_LINGER, &lingering, lingerSize);
+    const int statusFlags = ::fcntl(descriptor, F_GETFL);
+    const int descriptorFlags = ::fcntl(descriptor, F_GETFD);
+    const bool replaced = ::dup2(fresh, descriptor) == descriptor;
+    ::close(fresh);
+    if (!replaced) return false;
+    if (statusFlags >= 0) ::fcntl(descriptor, F_SETFL, statusFlags);
+    if (descriptorFlags >= 0) ::fcntl(descriptor, F_SETFD, descriptorFlags);
+    return true;
+}
+#endif
 bool ZeroPortConnect(const Socket& socket, const void* address, std::uint32_t length) {
     if (!address || (socket.type != 1 && socket.type != 2) || (socket.family != 2 && socket.family != 28)) return false;
     const auto* bytes = static_cast<const unsigned char*>(address);
@@ -1094,6 +1126,22 @@ int APS5_VABI socketpair_nid_postfix(int family, int type, int protocol, int* de
         return Fail(12);
     }
 }
+#ifdef __APPLE__
+extern "C" int ConnectRetryingLoopbackReset_nid_no_patch(int descriptor, const sockaddr* address, socklen_t size, bool blockingStream) {
+    if (::connect(descriptor, address, size) == 0) return 0;
+    if (errno != ECONNRESET || !blockingStream || !LoopbackAddress(address)) return -1;
+    auto wait = std::chrono::milliseconds(25);
+    const auto deadline = std::chrono::steady_clock::now() + std::chrono::seconds(75);
+    while (std::chrono::steady_clock::now() < deadline) {
+        std::this_thread::sleep_for(wait);
+        wait = std::min(wait * 2, std::chrono::milliseconds(1000));
+        if (!ReplaceResetSocket(descriptor, address->sa_family)) { errno = ECONNRESET; return -1; }
+        if (::connect(descriptor, address, size) == 0) return 0;
+        if (errno != ECONNRESET) return -1;
+    }
+    return -1;
+}
+#endif
 int APS5_VABI connect_nid_postfix(int descriptor, const void* address, std::uint32_t length) {
     const auto socket = Lookup(descriptor);
     if (!socket) return -1;
@@ -1113,7 +1161,16 @@ int APS5_VABI connect_nid_postfix(int descriptor, const void* address, std::uint
         std::lock_guard lock(socket->modeMutex);
         socket->options.reportedError = 0;
     }
+#ifdef __APPLE__
+    bool nonblocking;
+    {
+        std::lock_guard lock(socket->modeMutex);
+        nonblocking = socket->options.nonblocking;
+    }
+    return ConnectRetryingLoopbackReset_nid_no_patch(socket->value, reinterpret_cast<const sockaddr*>(&native), size, socket->type == 1 && !nonblocking) ? Fail(ConnectError()) : 0;
+#else
     return ::connect(socket->value, reinterpret_cast<sockaddr*>(&native), size) ? Fail(ConnectError()) : 0;
+#endif
 }
 int APS5_VABI listen_nid_postfix(int descriptor, int backlog) {
     const auto socket = Lookup(descriptor);

Not handled or not checked:

  • A socket the guest bound before connect gets the new socket unbound. Rebinding would need the guest's address, since the reset socket is not a reliable source for it.
  • kevent registrations on the old file are lost with dup2.
  • Non-blocking connects, where the reset arrives later through SO_ERROR.
  • Options outside the copied list.

The GPU suite and titles were not run on this head.

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5566169816 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#pullrequestreview-5566169816). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-19T01:51:40Z. **Review:** COMMENTED --- Rechecked `57bccfbfc` on the M2 Max (32 GB, macOS 27.2), x86-64 build under Rosetta 2. I built the head as it is, on `main` `773243436`, because it no longer merges cleanly with current `main` (`b5be95ff0`). `Release` with `BUILD_TESTING=ON` built with no errors. No GPU tests in this run. Non-GPU suite (`ctest -E "^agc|video_?out|flip|display" -j4`): 738/740, against 705/708 on `690c044a6`. - `precise_wait` passed in the suite, then 9/10 and 20/20 run alone. On `690c044a6` it passed 6/10 alone. - `guest_socket_read_write` passed in the suite, and 9/10 run alone. - `savedata_memory_growth_read_failure` failed once in the suite. It then passed 10/10 alone and 5/5 with the other `savedata` tests at `-j8`. - `guest_refused_connect` still fails here: 37/90 run alone, in four batches (4/10, 0/10, 15/20, 18/30). **The retry idea.** You asked about it in https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6253625295. I tested it, first with a plain C program (natively and under Rosetta), then in the guest. 1. **The same socket cannot be reused.** After XNU's reset, a second `connect` on that socket always fails with `EISCONN`: 46 of 46 resets, on arm64 and under Rosetta. On that socket, `getpeername` then fails with `EINVAL` and `send` fails with `EPIPE`. So the retry needs a new socket. 2. **A new socket has to wait for the backlog to drain.** One created right after the reset was reset again in 20 of 27 cases. One created 150 ms later (the acceptor drains at 100 ms) connected 19/19. 3. **Replacing the socket works.** The program creates a new socket, copies the options, `dup2`s it onto the same descriptor and connects again, sleeping 25, 50 and then 100 ms between tries. That connected after every reset: 23/23 on arm64 and 30/30 under Rosetta. It needed at most 3 tries and about 210 ms. The descriptor number, `TCP_NODELAY`, `SO_KEEPALIVE` and `FD_CLOEXEC` stayed the same. `SO_SNDBUF` read 81660 instead of 65536 after the connect, but a normal loopback connect rounds it the same way. I then put the same approach into `connect_nid_postfix` and `sceNetConnect`. It only runs on macOS, for a blocking stream socket to a loopback address that gets `ECONNRESET`, and it gives up after 75 s. The guest's own socket state stays in place because the descriptor number does not change. Results: | | `guest_refused_connect` alone | |---|---| | `57bccfbfc` | 37/90 | | with the retry, `connect_nid_postfix` only | 19/20 | | with the retry, both paths | 60/60 | With the retry on both paths the non-GPU suite passed 740/740, and so did the 40 tests matching `socket|net|connect|kqueue|equeue|poll|select`. I ran the batches with and without the patch one after another, and the C program reset 1 to 3 times in 20 in between, so the difference is not a quiet host. <details><summary>Patch I tested (macOS only)</summary> ```diff diff --git a/core/libs/prx/libSceNet/Export.cpp b/core/libs/prx/libSceNet/Export.cpp index bb7102de6..57d3c5424 100644 --- a/core/libs/prx/libSceNet/Export.cpp +++ b/core/libs/prx/libSceNet/Export.cpp @@ -959,6 +959,9 @@ static int disconnect_datagram(const Sock& socket) { #ifdef _WIN32 extern "C" void RefuseClosedLoopbackAtOnce_nid_no_patch(SOCKET socket, const sockaddr* address); #endif +#ifdef __APPLE__ +extern "C" int ConnectRetryingLoopbackReset_nid_no_patch(int descriptor, const sockaddr* address, socklen_t size, bool blockingStream); +#endif int APS5_VABI sceNetConnect(int s, const void* addr, uint32_t addrlen) { Sock socket; @@ -980,7 +983,11 @@ int APS5_VABI sceNetConnect(int s, const void* addr, uint32_t addrlen) { if (socket.type == NET_SOCK_STREAM) RefuseClosedLoopbackAtOnce_nid_no_patch(socket.native->value, reinterpret_cast<const sockaddr*>(&native)); #endif if (native.ss_family != (socket.family == NET_AF_INET ? AF_INET : AF_INET6)) return fail(NET_EAFNOSUPPORT); +#ifdef __APPLE__ + if (ConnectRetryingLoopbackReset_nid_no_patch(socket.native->value, reinterpret_cast<const sockaddr*>(&native), native_length, socket.type == NET_SOCK_STREAM && !socket.nonblock) == 0) { +#else if (::connect(socket.native->value, reinterpret_cast<const sockaddr*>(&native), native_length) == 0) { +#endif #ifdef _WIN32 note_local_address(s, socket); #endif diff --git a/core/libs/prx/libkernel/Socket/src/Udp.cpp b/core/libs/prx/libkernel/Socket/src/Udp.cpp index 54f390fff..f3531dcfc 100644 --- a/core/libs/prx/libkernel/Socket/src/Udp.cpp +++ b/core/libs/prx/libkernel/Socket/src/Udp.cpp @@ -51,6 +51,7 @@ #include <cstddef> #include <stdexcept> #include <string> +#include <thread> #include <vector> extern "C" int* APS5_VABI __error_nid_postfix(); @@ -259,6 +260,37 @@ bool Listening(const Socket& socket) { bool listening = false; return GuestSockets::NativeListening(static_cast<std::uintptr_t>(socket.value), listening) && listening; } +#ifdef __APPLE__ +bool LoopbackAddress(const sockaddr* address) { + if (address->sa_family == AF_INET) return (ntohl(reinterpret_cast<const sockaddr_in*>(address)->sin_addr.s_addr) >> 24) == 127; + if (address->sa_family == AF_INET6) return IN6_IS_ADDR_LOOPBACK(&reinterpret_cast<const sockaddr_in6*>(address)->sin6_addr); + return false; +} +// XNU can answer a SYN to a full loopback accept backlog with a reset, which leaves the socket unusable (a second connect fails with EISCONN). +// The console drops that SYN and its retransmission connects once the backlog drains, so a blocking connect retries on a fresh socket put on the same descriptor. +bool ReplaceResetSocket(int descriptor, int domain) { + const int fresh = ::socket(domain, SOCK_STREAM, 0); + if (fresh < 0) return false; + static constexpr int Options[][2] = {{SOL_SOCKET, SO_REUSEADDR}, {SOL_SOCKET, SO_REUSEPORT}, {SOL_SOCKET, SO_KEEPALIVE}, {SOL_SOCKET, SO_OOBINLINE}, + {SOL_SOCKET, SO_SNDBUF}, {SOL_SOCKET, SO_RCVBUF}, {SOL_SOCKET, SO_SNDLOWAT}, {SOL_SOCKET, SO_RCVLOWAT}, {SOL_SOCKET, SO_NOSIGPIPE}, {IPPROTO_TCP, TCP_NODELAY}}; + for (const auto& option : Options) { + int value = 0; + socklen_t size = sizeof(value); + if (::getsockopt(descriptor, option[0], option[1], &value, &size) == 0) ::setsockopt(fresh, option[0], option[1], &value, size); + } + linger lingering{}; + socklen_t lingerSize = sizeof(lingering); + if (::getsockopt(descriptor, SOL_SOCKET, SO_LINGER, &lingering, &lingerSize) == 0) ::setsockopt(fresh, SOL_SOCKET, SO_LINGER, &lingering, lingerSize); + const int statusFlags = ::fcntl(descriptor, F_GETFL); + const int descriptorFlags = ::fcntl(descriptor, F_GETFD); + const bool replaced = ::dup2(fresh, descriptor) == descriptor; + ::close(fresh); + if (!replaced) return false; + if (statusFlags >= 0) ::fcntl(descriptor, F_SETFL, statusFlags); + if (descriptorFlags >= 0) ::fcntl(descriptor, F_SETFD, descriptorFlags); + return true; +} +#endif bool ZeroPortConnect(const Socket& socket, const void* address, std::uint32_t length) { if (!address || (socket.type != 1 && socket.type != 2) || (socket.family != 2 && socket.family != 28)) return false; const auto* bytes = static_cast<const unsigned char*>(address); @@ -1094,6 +1126,22 @@ int APS5_VABI socketpair_nid_postfix(int family, int type, int protocol, int* de return Fail(12); } } +#ifdef __APPLE__ +extern "C" int ConnectRetryingLoopbackReset_nid_no_patch(int descriptor, const sockaddr* address, socklen_t size, bool blockingStream) { + if (::connect(descriptor, address, size) == 0) return 0; + if (errno != ECONNRESET || !blockingStream || !LoopbackAddress(address)) return -1; + auto wait = std::chrono::milliseconds(25); + const auto deadline = std::chrono::steady_clock::now() + std::chrono::seconds(75); + while (std::chrono::steady_clock::now() < deadline) { + std::this_thread::sleep_for(wait); + wait = std::min(wait * 2, std::chrono::milliseconds(1000)); + if (!ReplaceResetSocket(descriptor, address->sa_family)) { errno = ECONNRESET; return -1; } + if (::connect(descriptor, address, size) == 0) return 0; + if (errno != ECONNRESET) return -1; + } + return -1; +} +#endif int APS5_VABI connect_nid_postfix(int descriptor, const void* address, std::uint32_t length) { const auto socket = Lookup(descriptor); if (!socket) return -1; @@ -1113,7 +1161,16 @@ int APS5_VABI connect_nid_postfix(int descriptor, const void* address, std::uint std::lock_guard lock(socket->modeMutex); socket->options.reportedError = 0; } +#ifdef __APPLE__ + bool nonblocking; + { + std::lock_guard lock(socket->modeMutex); + nonblocking = socket->options.nonblocking; + } + return ConnectRetryingLoopbackReset_nid_no_patch(socket->value, reinterpret_cast<const sockaddr*>(&native), size, socket->type == 1 && !nonblocking) ? Fail(ConnectError()) : 0; +#else return ::connect(socket->value, reinterpret_cast<sockaddr*>(&native), size) ? Fail(ConnectError()) : 0; +#endif } int APS5_VABI listen_nid_postfix(int descriptor, int backlog) { const auto socket = Lookup(descriptor); ``` </details> Not handled or not checked: - A socket the guest bound before `connect` gets the new socket unbound. Rebinding would need the guest's address, since the reset socket is not a reliable source for it. - `kevent` registrations on the old file are lost with `dup2`. - Non-blocking connects, where the reset arrives later through `SO_ERROR`. - Options outside the copied list. The GPU suite and titles were not run on this head. Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
jotitadev commented 2026-10-19 02:50:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-19T02:50:40Z.

Review: COMMENTED


macOS (Apple M2 Max, macOS 27.2), x86_64 under Rosetta, not main: platform 6045a5046 (main a373e85e5 + mugurc ci/macos-series-2 + macOS bits of this PR) with only the shutdown_nid_postfix hunk of 57bccfbfc applied on top.

Without the hunk, guest_socket_pair_tests aborts at shutdown(pair[1], SHUT_RD) after the peer's SHUT_WR: XNU's soshutdownlock_final returns ENOTCONN for a direction that is already shut down (also when the peer's shutdown shut it), and for SHUT_RDWR it goto dones before shutting the write side. FreeBSD's soshutdown/uipc_shutdown only return ENOTCONN when the socket is not connected. With the hunk the test passes, and SHUT_RDWR after the peer's SHUT_WR now makes a later send fail with EPIPE as on FreeBSD.

Three cases where the hunk still differs from FreeBSD (guest calls through shutdown_nid_postfix in the same build):

sequence (AF_UNIX stream pair) FreeBSD with the hunk
peer closed, then shutdown(SHUT_RD) ENOTCONN EINVAL: getpeername fails with EINVAL and NativeError() reads its errno
shutdown(SHUT_WR) twice 0 ENOTCONN (how == 1 is excluded)
shutdown(SHUT_RDWR) twice 0 EINVAL (XNU getpeername returns EINVAL after the socket's own SHUT_RDWR)

Saving the errno before getpeername fixes the first case. Dropping how == 1 and ignoring ENOTCONN from the SHUT_WR retry fixes the second; the third would need a connectedness check other than getpeername. A test for the SHUT_RDWR path that fails without the hunk on macOS and passes with it (I did not run it on Linux):

#ifndef _WIN32
    Require(socketpair_nid_postfix(Unix, Stream, 0, pair) == 0);
    Require(shutdown_nid_postfix(pair[0], 0) == 0 && shutdown_nid_postfix(pair[0], 2) == 0);
    Require(send_nid_postfix(pair[0], ping, sizeof(ping), NoSignal) == -1 && *__error_nid_postfix() == 32);
    Require(close_nid_postfix(pair[0]) == 0 && close_nid_postfix(pair[1]) == 0);
#endif

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5566430395 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#pullrequestreview-5566430395). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-19T02:50:40Z. **Review:** COMMENTED --- macOS (Apple M2 Max, macOS 27.2), x86_64 under Rosetta, not main: platform 6045a5046 (main a373e85e5 + mugurc ci/macos-series-2 + macOS bits of this PR) with only the `shutdown_nid_postfix` hunk of 57bccfbfc applied on top. Without the hunk, `guest_socket_pair_tests` aborts at `shutdown(pair[1], SHUT_RD)` after the peer's `SHUT_WR`: XNU's `soshutdownlock_final` returns `ENOTCONN` for a direction that is already shut down (also when the peer's shutdown shut it), and for `SHUT_RDWR` it `goto done`s before shutting the write side. FreeBSD's `soshutdown`/`uipc_shutdown` only return `ENOTCONN` when the socket is not connected. With the hunk the test passes, and `SHUT_RDWR` after the peer's `SHUT_WR` now makes a later `send` fail with `EPIPE` as on FreeBSD. Three cases where the hunk still differs from FreeBSD (guest calls through `shutdown_nid_postfix` in the same build): | sequence (AF_UNIX stream pair) | FreeBSD | with the hunk | |---|---|---| | peer closed, then `shutdown(SHUT_RD)` | `ENOTCONN` | `EINVAL`: `getpeername` fails with `EINVAL` and `NativeError()` reads its errno | | `shutdown(SHUT_WR)` twice | 0 | `ENOTCONN` (`how == 1` is excluded) | | `shutdown(SHUT_RDWR)` twice | 0 | `EINVAL` (XNU `getpeername` returns `EINVAL` after the socket's own `SHUT_RDWR`) | Saving the errno before `getpeername` fixes the first case. Dropping `how == 1` and ignoring `ENOTCONN` from the `SHUT_WR` retry fixes the second; the third would need a connectedness check other than `getpeername`. A test for the `SHUT_RDWR` path that fails without the hunk on macOS and passes with it (I did not run it on Linux): ```cpp #ifndef _WIN32 Require(socketpair_nid_postfix(Unix, Stream, 0, pair) == 0); Require(shutdown_nid_postfix(pair[0], 0) == 0 && shutdown_nid_postfix(pair[0], 2) == 0); Require(send_nid_postfix(pair[0], ping, sizeof(ping), NoSignal) == -1 && *__error_nid_postfix() == 32); Require(close_nid_postfix(pair[0]) == 0 && close_nid_postfix(pair[1]) == 0); #endif ``` Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
jotitadev commented 2026-10-19 03:44:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-19T03:44:03Z.

Review: COMMENTED


Rechecked bce2f857c on the M2 Max (32 GB, macOS 27.2), x86-64 build under Rosetta 2, head as it is (main 324e0e48e merged in). Release with BUILD_TESTING=ON built with no errors. No GPU tests in this run.

Non-GPU suite (ctest -E "^agc|video_?out|flip|display" -j4): 748/749, against 738/740 on 57bccfbfc. The one failure is guest_socket_read_write (line 154, errno 35), 9/10 run alone, the same as on 57bccfbfc.

guest_refused_connect with ab7999762. The host still resets: the C program from my last review got ECONNRESET in 6 of 20 connects today (arm64).

build guest_refused_connect run alone
bce2f857c 90/90 (60 + 30)
bce2f857c with ab7999762 reverted 0/30
57bccfbfc (last review) 37/90

The socket, net, kqueue, tcp, udp, poll and select tests (45) all pass on the head. The three shutdown cases from my previous review are not changed in this head.

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5566662936 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#pullrequestreview-5566662936). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-19T03:44:03Z. **Review:** COMMENTED --- Rechecked `bce2f857c` on the M2 Max (32 GB, macOS 27.2), x86-64 build under Rosetta 2, head as it is (`main` `324e0e48e` merged in). `Release` with `BUILD_TESTING=ON` built with no errors. No GPU tests in this run. Non-GPU suite (`ctest -E "^agc|video_?out|flip|display" -j4`): 748/749, against 738/740 on `57bccfbfc`. The one failure is `guest_socket_read_write` (line 154, errno 35), 9/10 run alone, the same as on `57bccfbfc`. **`guest_refused_connect` with ab7999762.** The host still resets: the C program from my last review got `ECONNRESET` in 6 of 20 connects today (arm64). | build | `guest_refused_connect` run alone | |---|---| | `bce2f857c` | 90/90 (60 + 30) | | `bce2f857c` with ab7999762 reverted | 0/30 | | `57bccfbfc` (last review) | 37/90 | The socket, net, kqueue, tcp, udp, poll and select tests (45) all pass on the head. The three `shutdown` cases from my previous review are not changed in this head. Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
jotitadev commented 2026-10-19 05:42:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-19T05:42:58Z.

Review: COMMENTED


Rechecked 70055abe0 on the M2 Max (32 GB, macOS 27.2), x86-64 build under Rosetta 2, head as it is (main 676d42396 merged in). Release with BUILD_TESTING=ON, /usr/bin/python3 (3.9), built with no errors. No GPU tests.

  • Non-GPU suite (-E "^agc", -j4): 782/783. The one failure was guest_kernel_app_archive_plain (abort), once; it passed 40/40 run alone and 40/40 in a -j8 loop with the other app archive and fopen tests, so I can't reproduce it. The 21 new video_out flip/HDR tests skip themselves (no Vulkan device), as expected here.
  • 5e4bbf169 (shutdown): the three sequences from my earlier review now match FreeBSD. With only the Udp.cpp hunk reverted, guest_socket_pair aborts; with it, 20/20.
  • e1d28046e (#7706, branch into a trapped GS instruction): with only the MacOsImage.cpp hunk reverted, macos_gs_traps fails on branch-into-gs (the relinker converts it); with it, 20/20.
  • Socket/net/kqueue/poll/select/macOS subset: 40/40. guest_refused_connect 20/20 alone. guest_socket_read_write is still the one loose test (18/20 alone, EAGAIN as before), unchanged by this push.

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5567375699 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#pullrequestreview-5567375699). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-19T05:42:58Z. **Review:** COMMENTED --- Rechecked `70055abe0` on the M2 Max (32 GB, macOS 27.2), x86-64 build under Rosetta 2, head as it is (`main` `676d42396` merged in). `Release` with `BUILD_TESTING=ON`, `/usr/bin/python3` (3.9), built with no errors. No GPU tests. - Non-GPU suite (`-E "^agc"`, `-j4`): 782/783. The one failure was `guest_kernel_app_archive_plain` (abort), once; it passed 40/40 run alone and 40/40 in a `-j8` loop with the other app archive and fopen tests, so I can't reproduce it. The 21 new `video_out` flip/HDR tests skip themselves (no Vulkan device), as expected here. - `5e4bbf169` (shutdown): the three sequences from my earlier review now match FreeBSD. With only the `Udp.cpp` hunk reverted, `guest_socket_pair` aborts; with it, 20/20. - `e1d28046e` (#7706, branch into a trapped GS instruction): with only the `MacOsImage.cpp` hunk reverted, `macos_gs_traps` fails on `branch-into-gs` (the relinker converts it); with it, 20/20. - Socket/net/kqueue/poll/select/macOS subset: 40/40. `guest_refused_connect` 20/20 alone. `guest_socket_read_write` is still the one loose test (18/20 alone, `EAGAIN` as before), unchanged by this push. Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
jotitadev commented 2026-10-19 06:17:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-19T06:17:03Z.

Review: COMMENTED


Root cause of the intermittent guest_socket_read_write failure on macOS (line 154), with a test-only fix.

Machine: Apple M2 Max, macOS 27.2, x86_64 build under Rosetta (Release, BUILD_TESTING). Head 70055abe0, merge base with main 676d42396.

What fails. After close(client), the server writes 100 times in a tight loop and expects the first error to be EPIPE. Running the binary 100 times alone gave 18 failures:

  • 17 × line 154, errno 54: the first failing write returns ECONNRESET, not EPIPE.
  • 1 × line 154, errno 35: all 100 writes succeeded, so the RST never arrived during the loop. The 35 left in errno is stale (from the EAGAIN read at line 142), not a real EAGAIN. This corrects my earlier reviews, which called it EAGAIN.

This is host behaviour, not the PR's code. A plain C program that runs the same sequence on raw BSD sockets (no AnyPS5 code) shows the same pattern on XNU. Over 1000 iterations each:

build EPIPE ECONNRESET no error in 100 writes
arm64 native 754 246 0
x86_64 Rosetta 861 137 2

On macOS, loopback delivers the peer's RST asynchronously. A write that races with it fails once with ECONNRESET, and every write after that fails with EPIPE. If the writes are spaced 1 ms apart, the same probe gets EPIPE 300/300.

The test is the same on main, so this is not specific to the PR. I have not measured Linux.

Proposed fix (test only). Keep writing while the error is ECONNRESET, and pace successful writes so the RST has time to land. The test still requires the final error to be EPIPE:

--- a/core/libs/tests/GuestSocketReadWrite.cpp
+++ b/core/libs/tests/GuestSocketReadWrite.cpp
@@ -1,10 +1,12 @@
 #include "prx/libc/include/general/VabiMacros.hpp"
 #include <array>
+#include <chrono>
 #include <cstddef>
 #include <cstdint>
 #include <cstdio>
 #include <cstdlib>
 #include <cstring>
+#include <thread>
 #ifndef _WIN32
 #include <csignal>
 #endif
@@ -150,7 +152,10 @@ int main() {
     Require(sceKernelRead(server, received, sizeof(received)) == 0);
 #ifndef _WIN32
     std::int64_t written = 0;
-    for (int i = 0; i < 100 && written >= 0; ++i) written = write_nid_postfix(server, request, sizeof(request));
+    for (int i = 0; i < 2000 && (written >= 0 || *__error_nid_postfix() == 54); ++i) {
+        written = write_nid_postfix(server, request, sizeof(request));
+        if (written >= 0) std::this_thread::sleep_for(std::chrono::milliseconds(1));
+    }
     Require(written == -1 && *__error_nid_postfix() == 32);
 #endif
     Require(close_nid_postfix(server) == 0);

Results with the fix:

  • Before: 18/100 failures running the binary alone.
  • After: 0/200 alone, 0/100 with ctest --repeat until-fail:100, and 0/320 with 8 copies running in parallel.
  • Full non-GPU suite (-E ^agc, -j6/-j8), 10 runs: 783/783 in 9 of them. The other run had one unrelated failure: hardware_oracle_compare hit its 20 s timeout under -j8 (it normally takes 8–13 s).

The worst case adds about 2 s to the test, well inside its 20 s timeout.

If you would rather hide the one-off ECONNRESET in libkernel than in the test, that can be done too. It would mean tracking that the peer's FIN was already seen, so I left it as a test change.

guest_kernel_app_archive_plain. I still can't reproduce the single "Subprocess aborted" from the earlier run on this head: 0 failures in 150 parallel rounds of the app_archive and fopen_errors tests (-j12), and none across the 10 full-suite runs above. I have no root cause for it, so I'm not proposing a change there.

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5567593916 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#pullrequestreview-5567593916). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-19T06:17:03Z. **Review:** COMMENTED --- Root cause of the intermittent `guest_socket_read_write` failure on macOS (line 154), with a test-only fix. Machine: Apple M2 Max, macOS 27.2, x86_64 build under Rosetta (Release, BUILD_TESTING). Head 70055abe0, merge base with main 676d42396. **What fails.** After `close(client)`, the server writes 100 times in a tight loop and expects the first error to be EPIPE. Running the binary 100 times alone gave 18 failures: - 17 × `line 154, errno 54`: the first failing write returns ECONNRESET, not EPIPE. - 1 × `line 154, errno 35`: all 100 writes succeeded, so the RST never arrived during the loop. The 35 left in errno is stale (from the EAGAIN read at line 142), not a real EAGAIN. This corrects my earlier reviews, which called it EAGAIN. **This is host behaviour, not the PR's code.** A plain C program that runs the same sequence on raw BSD sockets (no AnyPS5 code) shows the same pattern on XNU. Over 1000 iterations each: | build | EPIPE | ECONNRESET | no error in 100 writes | |---|---|---|---| | arm64 native | 754 | 246 | 0 | | x86_64 Rosetta | 861 | 137 | 2 | On macOS, loopback delivers the peer's RST asynchronously. A write that races with it fails once with ECONNRESET, and every write after that fails with EPIPE. If the writes are spaced 1 ms apart, the same probe gets EPIPE 300/300. The test is the same on main, so this is not specific to the PR. I have not measured Linux. **Proposed fix (test only).** Keep writing while the error is ECONNRESET, and pace successful writes so the RST has time to land. The test still requires the final error to be EPIPE: ```diff --- a/core/libs/tests/GuestSocketReadWrite.cpp +++ b/core/libs/tests/GuestSocketReadWrite.cpp @@ -1,10 +1,12 @@ #include "prx/libc/include/general/VabiMacros.hpp" #include <array> +#include <chrono> #include <cstddef> #include <cstdint> #include <cstdio> #include <cstdlib> #include <cstring> +#include <thread> #ifndef _WIN32 #include <csignal> #endif @@ -150,7 +152,10 @@ int main() { Require(sceKernelRead(server, received, sizeof(received)) == 0); #ifndef _WIN32 std::int64_t written = 0; - for (int i = 0; i < 100 && written >= 0; ++i) written = write_nid_postfix(server, request, sizeof(request)); + for (int i = 0; i < 2000 && (written >= 0 || *__error_nid_postfix() == 54); ++i) { + written = write_nid_postfix(server, request, sizeof(request)); + if (written >= 0) std::this_thread::sleep_for(std::chrono::milliseconds(1)); + } Require(written == -1 && *__error_nid_postfix() == 32); #endif Require(close_nid_postfix(server) == 0); ``` Results with the fix: - Before: 18/100 failures running the binary alone. - After: 0/200 alone, 0/100 with `ctest --repeat until-fail:100`, and 0/320 with 8 copies running in parallel. - Full non-GPU suite (`-E ^agc`, `-j6`/`-j8`), 10 runs: 783/783 in 9 of them. The other run had one unrelated failure: `hardware_oracle_compare` hit its 20 s timeout under `-j8` (it normally takes 8–13 s). The worst case adds about 2 s to the test, well inside its 20 s timeout. If you would rather hide the one-off ECONNRESET in libkernel than in the test, that can be done too. It would mean tracking that the peer's FIN was already seen, so I left it as a test change. **`guest_kernel_app_archive_plain`.** I still can't reproduce the single "Subprocess aborted" from the earlier run on this head: 0 failures in 150 parallel rounds of the app_archive and fopen_errors tests (`-j12`), and none across the 10 full-suite runs above. I have no root cause for it, so I'm not proposing a change there. Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
imellag commented 2026-10-19 07:51:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-10-19T07:51:18Z.


Planet of Lana (PPSA19450, 01.010.000) on 70055abe0 as it is: Apple M4 Pro (24 GB), macOS 27.0.1, MoltenVK 1.4.2 from Vulkan SDK 1.4.363.0, x86-64 Release under Rosetta 2. Set up with tools/macos/setup-game.sh, numbers from run-profile.sh and profile_summary.py over 10 s windows, menu frames checked with APS5_DUMP_FRAMES (every 30th present).

The menu corruption from my earlier comment is gone. FMOD Studio now loads without my RTLD_GLOBAL change, the title reaches the menu and gameplay, and 23 dumped menu frames over about 80 s are all clean, as is gameplay by eye. It stays clean with 54b4af7f0 reverted, with the default-scope dlsym filter turned off (closer to the change I ran before), and with #7695 merged on top (8.3 fps, the same as without it). So I don't know which change fixed it; it is somewhere between the build I used then (690c044a6 merged into a62c724c3) and this head.

e9fe235a3 costs most of the frame here. The menu runs at 8.2 fps with 41 ms of GPU per frame and 52 ms of GPU idle. The [lock] line shows the fill site holding the GPU mutex 5.6 s of every 10 s (about 250 fills, 22 ms each, max 38 ms), all in the device phase of storeBufferFill, while the [fill] line counts only 4 fills stored on the GPU. So nearly every fill takes the macOS metadataOnCpu path: about 750 KiB of HTILE written through GuestMemory::Write in 1 KiB chunks, about 750 calls per fill. Two local builds of BufferFill.cpp (diffs below):

Menu fps GPU ms per frame GPU idle per frame fill hold per 10 s
70055abe0 8.2 41.0 52 ms 5.6 s (22 ms per fill)
metadataOnCpu writing 1 MiB chunks, as the CPU fallback below it does 14.3 40.9 16 ms 2.1 s (4.7 ms per fill)
metadataOnCpu off, fills recorded on the GPU as on the other hosts 21.9 41.5 1.8 ms 0.02 s

Gameplay, played by hand from the same start with basic movement, compared over windows with the same load (about 920 to 950 draws per frame):

Gameplay fps GPU ms per frame GPU idle per frame fill hold per 10 s
70055abe0 5.2 58 to 60 108 ms 5.7 s
fills on the GPU 11.9 57 25 ms 0.02 s

With the fills on the GPU the title is GPU-bound in the menu, and [fill-sync] counts no fill that had to wait for earlier GPU work: 0 of 4321 in the menu and 0 of 9231 in gameplay (19 of them ordered by a barrier). Whatever wait e9fe235a3 removes, it does not show in this title. The 37 dumped menu frames of each local build differ from a clean frame of the head by the same 4 to 9% of pixels (the animated grass), apart from one frame of the menu fade-in, and gameplay looked clean in both.

These numbers are from one title, so they don't show whether the CPU path helps elsewhere. If e9fe235a3 was written for a particular title, it would be worth comparing the two paths there; in this one, recording the fills on the GPU, as Linux and Windows do, is clearly faster. If the CPU path stays, the 1 MiB chunking recovers part of the cost. @jotitadev, if you have titles that clear depth through HTILE fills, the switch in the second diff would show whether any of them gets slower with the fills on the GPU.

1 MiB chunks in the CPU path
     if (metadataOnCpu) {
-        std::array<std::uint32_t, 256> block{};
-        block.fill(pattern[0]);
-        const auto chunk = std::as_bytes(std::span(block));
-        for (std::size_t done = 0; done < bytes; done += chunk.size()) GuestMemory::Write(base + done, chunk.first(std::min(chunk.size(), bytes - done)), 16);
+        static thread_local std::vector<std::byte>* metadataSlot = nullptr;
+        auto& block = ShaderRecompiler::ThreadOwned(metadataSlot);
+        const auto chunk = std::min<std::size_t>(bytes, 1u << 20u);
+        block.resize(chunk);
+        for (std::size_t at = 0; at < chunk; at += 16) std::memcpy(block.data() + at, pattern.data(), 16);
+        for (std::size_t done = 0; done < bytes; done += chunk) GuestMemory::Write(base + done, std::span<const std::byte>(block).first(std::min(chunk, bytes - done)), 16);
     }
Switch used for the fills on the GPU (local experiment, not a proposal)
-    const bool metadataOnCpu = !cleared && !absorbed && noteMetadata && uniform && Graphics::FillCoversDepthMetadata(base, bytes) && localDevice->GpuIdleOver(base, bytes);
+    const bool metadataOnCpu = std::getenv("APS5_EXPERIMENT_HTILE_ON_GPU") == nullptr && !cleared && !absorbed && noteMetadata && uniform && Graphics::FillCoversDepthMetadata(base, bytes) && localDevice->GpuIdleOver(base, bytes);

Not checked: other titles, tools/trace_digest.py summaries, the test suites and the GPU suite with either local build, and which change fixed the corruption.

AI-assisted: yes (Claude Code). I ran all of the above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6262379712 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6262379712). Originally posted by [imellag](https://github.com/imellag) on 2026-10-19T07:51:18Z. --- Planet of Lana (PPSA19450, 01.010.000) on `70055abe0` as it is: Apple M4 Pro (24 GB), macOS 27.0.1, MoltenVK 1.4.2 from Vulkan SDK 1.4.363.0, x86-64 `Release` under Rosetta 2. Set up with `tools/macos/setup-game.sh`, numbers from `run-profile.sh` and `profile_summary.py` over 10 s windows, menu frames checked with `APS5_DUMP_FRAMES` (every 30th present). **The menu corruption from my earlier comment is gone.** FMOD Studio now loads without my `RTLD_GLOBAL` change, the title reaches the menu and gameplay, and 23 dumped menu frames over about 80 s are all clean, as is gameplay by eye. It stays clean with 54b4af7f0 reverted, with the default-scope `dlsym` filter turned off (closer to the change I ran before), and with #7695 merged on top (8.3 fps, the same as without it). So I don't know which change fixed it; it is somewhere between the build I used then (`690c044a6` merged into `a62c724c3`) and this head. **e9fe235a3 costs most of the frame here.** The menu runs at 8.2 fps with 41 ms of GPU per frame and 52 ms of GPU idle. The `[lock]` line shows the fill site holding the GPU mutex 5.6 s of every 10 s (about 250 fills, 22 ms each, max 38 ms), all in the `device` phase of `storeBufferFill`, while the `[fill]` line counts only 4 fills stored on the GPU. So nearly every fill takes the macOS `metadataOnCpu` path: about 750 KiB of HTILE written through `GuestMemory::Write` in 1 KiB chunks, about 750 calls per fill. Two local builds of `BufferFill.cpp` (diffs below): | Menu | fps | GPU ms per frame | GPU idle per frame | fill hold per 10 s | |---|---|---|---|---| | `70055abe0` | 8.2 | 41.0 | 52 ms | 5.6 s (22 ms per fill) | | `metadataOnCpu` writing 1 MiB chunks, as the CPU fallback below it does | 14.3 | 40.9 | 16 ms | 2.1 s (4.7 ms per fill) | | `metadataOnCpu` off, fills recorded on the GPU as on the other hosts | 21.9 | 41.5 | 1.8 ms | 0.02 s | Gameplay, played by hand from the same start with basic movement, compared over windows with the same load (about 920 to 950 draws per frame): | Gameplay | fps | GPU ms per frame | GPU idle per frame | fill hold per 10 s | |---|---|---|---|---| | `70055abe0` | 5.2 | 58 to 60 | 108 ms | 5.7 s | | fills on the GPU | 11.9 | 57 | 25 ms | 0.02 s | With the fills on the GPU the title is GPU-bound in the menu, and `[fill-sync]` counts no fill that had to wait for earlier GPU work: 0 of 4321 in the menu and 0 of 9231 in gameplay (19 of them ordered by a barrier). Whatever wait e9fe235a3 removes, it does not show in this title. The 37 dumped menu frames of each local build differ from a clean frame of the head by the same 4 to 9% of pixels (the animated grass), apart from one frame of the menu fade-in, and gameplay looked clean in both. These numbers are from one title, so they don't show whether the CPU path helps elsewhere. If e9fe235a3 was written for a particular title, it would be worth comparing the two paths there; in this one, recording the fills on the GPU, as Linux and Windows do, is clearly faster. If the CPU path stays, the 1 MiB chunking recovers part of the cost. @jotitadev, if you have titles that clear depth through HTILE fills, the switch in the second diff would show whether any of them gets slower with the fills on the GPU. <details><summary>1 MiB chunks in the CPU path</summary> ```diff if (metadataOnCpu) { - std::array<std::uint32_t, 256> block{}; - block.fill(pattern[0]); - const auto chunk = std::as_bytes(std::span(block)); - for (std::size_t done = 0; done < bytes; done += chunk.size()) GuestMemory::Write(base + done, chunk.first(std::min(chunk.size(), bytes - done)), 16); + static thread_local std::vector<std::byte>* metadataSlot = nullptr; + auto& block = ShaderRecompiler::ThreadOwned(metadataSlot); + const auto chunk = std::min<std::size_t>(bytes, 1u << 20u); + block.resize(chunk); + for (std::size_t at = 0; at < chunk; at += 16) std::memcpy(block.data() + at, pattern.data(), 16); + for (std::size_t done = 0; done < bytes; done += chunk) GuestMemory::Write(base + done, std::span<const std::byte>(block).first(std::min(chunk, bytes - done)), 16); } ``` </details> <details><summary>Switch used for the fills on the GPU (local experiment, not a proposal)</summary> ```diff - const bool metadataOnCpu = !cleared && !absorbed && noteMetadata && uniform && Graphics::FillCoversDepthMetadata(base, bytes) && localDevice->GpuIdleOver(base, bytes); + const bool metadataOnCpu = std::getenv("APS5_EXPERIMENT_HTILE_ON_GPU") == nullptr && !cleared && !absorbed && noteMetadata && uniform && Graphics::FillCoversDepthMetadata(base, bytes) && localDevice->GpuIdleOver(base, bytes); ``` </details> Not checked: other titles, `tools/trace_digest.py` summaries, the test suites and the GPU suite with either local build, and which change fixed the corruption. AI-assisted: yes (Claude Code). I ran all of the above on my machine.
imellag commented 2026-10-19 11:29:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-10-19T11:29:11Z.


Thank you for taking the revert of e9fe235a3. One more, measured on 54845a456 as it is: Apple M4 Pro (24 GB), macOS 27.0.1, MoltenVK 1.4.2 from Vulkan SDK 1.4.363.0, x86-64 Release under Rosetta 2, Planet of Lana (PPSA19450) menu, run-profile.sh and profile_summary.py over 10 s windows.

With the fills on the GPU, the GPU is the limit, and most of its time goes to SPIRV-Cross's exact arithmetic helpers. A Metal System Trace of the menu shows about 41 render encoders per frame, one of them about 16.5 ms of fragment time per frame with 15 us of vertex time. A Metal capture of one frame (MTLCaptureManager, MoltenVK's default capture scope) holds 181 shaders, and every one of them defines these helpers:

[[clang::optnone]] T spvFMul(T l, T r) { return fma(l, r, T(0)); }
[[clang::optnone]] T spvFAdd(T l, T r) { return fma(T(1), l, r); }
[[clang::optnone]] T spvFSub(T l, T r) { return fma(T(-1), r, l); }

That is SPIRV-Cross's translation of NoContraction, which EmitFPAdd32, EmitFPSub32 and EmitFPMul32 put on every guest f32 add, subtract and multiply. The largest fragment shaders call the helpers about 340 to 610 times, and optnone keeps each call a real function call. spvFMul's +0 addend is also what turns a -0 product into +0 (SPIRV-Cross #2704).

Emitting the same fma inline. The patch below emits Fma(a, b, -0.0), Fma(1.0, a, b) and Fma(-1.0, b, a) without the decoration, behind two switches for comparing on one build. Each rounds once, as the helpers do, with -0 as the multiply's addend. Shaders keep SignedZeroInfNanPreserve, which MoltenVK's default on-demand mode takes as a reason to compile without fast math, and no exactness test below regressed.

Menu, ANYPS5_NO_SHADER_CACHE=1 fps GPU ms per frame
54845a456 22.1 41.1
with both switches 40.6 19.4

Gameplay, played by hand from the same start with basic movement, compared over windows with the same load:

Gameplay fps GPU ms per frame
54845a456, about 1,050 to 1,100 draws per frame 11.0 to 11.4 56 to 57
with both switches, same load 13.3 to 13.7 27
54845a456, about 650 to 900 draws per frame 12.9 to 14.4 50 to 53
with both switches, same load 15.0 to 22.7 25 to 30

GPU time per frame halves in gameplay too. In the heaviest windows the frame then waits for the CPU, so the fps gain there is about 20%. Gameplay looked clean in both runs.

Multiplies alone gave 32.0 fps and 27.4 ms (measured on 70055abe0 with the fills on the GPU). The fps gain depends on how GPU-bound a title is: on 70055abe0 as it was, where the CPU HTILE fills held the frame, the same change took the menu only from 8.2 to 9.8 fps, although GPU time per frame fell from 41.0 to 19.0 ms.

The 34 dumped menu frames with the switches (APS5_DUMP_FRAMES, every 30th present) differ from a clean frame by the same 4 to 9% of pixels as without them (the animated grass).

GPU suite. ctest -R '^agc' -j4 on the same build, without and with both switches: 19 failures out of 783 without, 11 with, and no test that passes without fails with. Fixed: agc_driver_dpp16_operands, agc_driver_f32_output_modifier, agc_driver_packed_alu, agc_driver_sdwa_float_selectors, agc_driver_f16_fma_denormal_modes, agc_driver_float16_fma_rounding, agc_driver_float16_rounding and agc_driver_packed_f16_denormal_modes. Still failing in both: f32_constant_factor_tininess, f32_denormal_flush, image_plane_bias_on_single_level_volume, pixel_interlock, pixel_sample_iteration, rect_list_indirect, tessellation, vertex_clip_cull_distances, vertex_clip_cull_draw, vertex_clip_cull_draw_no_key and vertex_user_data_tail. The suite ran in 52 s instead of 103 s.

@ycarogabriel-lgtm, would you take this into the branch? If so, I would rather make it a SpirvTarget flag set for MoltenVK, the way depthRangeRemap is set, than environment switches, so other drivers keep NoContraction, and add a recompiler test for it. A run of other titles and of the GPU suite on other Macs, with and without APS5_EXPERIMENT_EXACT_MUL_FMA=1 APS5_EXPERIMENT_EXACT_ADD_FMA=1, would show whether it holds beyond this title. The switches are not part of the shader cache key, so compare with ANYPS5_NO_SHADER_CACHE=1.

Patch I tested (on top of 54845a456)
diff --git a/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp b/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp
index 8d4ee9ab5..a1831eefc 100644
--- a/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp
+++ b/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp
@@ -6,6 +6,7 @@
 #include <spirv/unified1/spirv.hpp>
 #include <algorithm>
 #include <array>
+#include <cstdlib>
 #include <initializer_list>
 #include <optional>
 #include <string>
@@ -1421,14 +1422,20 @@ std::uint32_t EmitFPUnordGreaterThanEqual32(SpirvEmitterState& state, std::uint3
 }
 
 std::uint32_t EmitFPAdd32(SpirvEmitterState& state, std::uint32_t arg0, std::uint32_t arg1) {
+    static const bool fmaSum = std::getenv("APS5_EXPERIMENT_EXACT_ADD_FMA") != nullptr;
+    if (fmaSum) return EmitGlsl<GLSLstd450Fma, IrType::F32>(state, ConstantF32(state, 0x3f800000u), arg0, arg1);
     return Exact(state, EmitNative<spv::OpFAdd, IrType::F32>(state, arg0, arg1));
 }
 
 std::uint32_t EmitFPSub32(SpirvEmitterState& state, std::uint32_t arg0, std::uint32_t arg1) {
+    static const bool fmaSum = std::getenv("APS5_EXPERIMENT_EXACT_ADD_FMA") != nullptr;
+    if (fmaSum) return EmitGlsl<GLSLstd450Fma, IrType::F32>(state, ConstantF32(state, 0xbf800000u), arg1, arg0);
     return Exact(state, EmitNative<spv::OpFSub, IrType::F32>(state, arg0, arg1));
 }
 
 std::uint32_t EmitFPMul32(SpirvEmitterState& state, std::uint32_t arg0, std::uint32_t arg1) {
+    static const bool fmaProduct = std::getenv("APS5_EXPERIMENT_EXACT_MUL_FMA") != nullptr;
+    if (fmaProduct) return EmitGlsl<GLSLstd450Fma, IrType::F32>(state, arg0, arg1, ConstantF32(state, 0x80000000u));
     return Exact(state, EmitNative<spv::OpFMul, IrType::F32>(state, arg0, arg1));
 }
 

Not checked: other titles; Metal pipeline compile times; the GPU suite with the Vulkan validation layer; tools/trace_digest.py summaries; KosmicKrisp; Linux and Windows, where the switches are off.

AI-assisted: yes (Claude Code). I ran all of the above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6266153970 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6266153970). Originally posted by [imellag](https://github.com/imellag) on 2026-10-19T11:29:11Z. --- Thank you for taking the revert of e9fe235a3. One more, measured on `54845a456` as it is: Apple M4 Pro (24 GB), macOS 27.0.1, MoltenVK 1.4.2 from Vulkan SDK 1.4.363.0, x86-64 `Release` under Rosetta 2, Planet of Lana (PPSA19450) menu, `run-profile.sh` and `profile_summary.py` over 10 s windows. **With the fills on the GPU, the GPU is the limit, and most of its time goes to SPIRV-Cross's exact arithmetic helpers.** A Metal System Trace of the menu shows about 41 render encoders per frame, one of them about 16.5 ms of fragment time per frame with 15 us of vertex time. A Metal capture of one frame (`MTLCaptureManager`, MoltenVK's default capture scope) holds 181 shaders, and every one of them defines these helpers: ``` [[clang::optnone]] T spvFMul(T l, T r) { return fma(l, r, T(0)); } [[clang::optnone]] T spvFAdd(T l, T r) { return fma(T(1), l, r); } [[clang::optnone]] T spvFSub(T l, T r) { return fma(T(-1), r, l); } ``` That is SPIRV-Cross's translation of `NoContraction`, which `EmitFPAdd32`, `EmitFPSub32` and `EmitFPMul32` put on every guest f32 add, subtract and multiply. The largest fragment shaders call the helpers about 340 to 610 times, and `optnone` keeps each call a real function call. `spvFMul`'s `+0` addend is also what turns a -0 product into +0 (SPIRV-Cross #2704). **Emitting the same `fma` inline.** The patch below emits `Fma(a, b, -0.0)`, `Fma(1.0, a, b)` and `Fma(-1.0, b, a)` without the decoration, behind two switches for comparing on one build. Each rounds once, as the helpers do, with `-0` as the multiply's addend. Shaders keep `SignedZeroInfNanPreserve`, which MoltenVK's default on-demand mode takes as a reason to compile without fast math, and no exactness test below regressed. | Menu, `ANYPS5_NO_SHADER_CACHE=1` | fps | GPU ms per frame | |---|---|---| | `54845a456` | 22.1 | 41.1 | | with both switches | 40.6 | 19.4 | Gameplay, played by hand from the same start with basic movement, compared over windows with the same load: | Gameplay | fps | GPU ms per frame | |---|---|---| | `54845a456`, about 1,050 to 1,100 draws per frame | 11.0 to 11.4 | 56 to 57 | | with both switches, same load | 13.3 to 13.7 | 27 | | `54845a456`, about 650 to 900 draws per frame | 12.9 to 14.4 | 50 to 53 | | with both switches, same load | 15.0 to 22.7 | 25 to 30 | GPU time per frame halves in gameplay too. In the heaviest windows the frame then waits for the CPU, so the fps gain there is about 20%. Gameplay looked clean in both runs. Multiplies alone gave 32.0 fps and 27.4 ms (measured on `70055abe0` with the fills on the GPU). The fps gain depends on how GPU-bound a title is: on `70055abe0` as it was, where the CPU HTILE fills held the frame, the same change took the menu only from 8.2 to 9.8 fps, although GPU time per frame fell from 41.0 to 19.0 ms. The 34 dumped menu frames with the switches (`APS5_DUMP_FRAMES`, every 30th present) differ from a clean frame by the same 4 to 9% of pixels as without them (the animated grass). **GPU suite.** `ctest -R '^agc' -j4` on the same build, without and with both switches: 19 failures out of 783 without, 11 with, and no test that passes without fails with. Fixed: `agc_driver_dpp16_operands`, `agc_driver_f32_output_modifier`, `agc_driver_packed_alu`, `agc_driver_sdwa_float_selectors`, `agc_driver_f16_fma_denormal_modes`, `agc_driver_float16_fma_rounding`, `agc_driver_float16_rounding` and `agc_driver_packed_f16_denormal_modes`. Still failing in both: `f32_constant_factor_tininess`, `f32_denormal_flush`, `image_plane_bias_on_single_level_volume`, `pixel_interlock`, `pixel_sample_iteration`, `rect_list_indirect`, `tessellation`, `vertex_clip_cull_distances`, `vertex_clip_cull_draw`, `vertex_clip_cull_draw_no_key` and `vertex_user_data_tail`. The suite ran in 52 s instead of 103 s. @ycarogabriel-lgtm, would you take this into the branch? If so, I would rather make it a `SpirvTarget` flag set for MoltenVK, the way `depthRangeRemap` is set, than environment switches, so other drivers keep `NoContraction`, and add a recompiler test for it. A run of other titles and of the GPU suite on other Macs, with and without `APS5_EXPERIMENT_EXACT_MUL_FMA=1 APS5_EXPERIMENT_EXACT_ADD_FMA=1`, would show whether it holds beyond this title. The switches are not part of the shader cache key, so compare with `ANYPS5_NO_SHADER_CACHE=1`. <details><summary>Patch I tested (on top of 54845a456)</summary> ```diff diff --git a/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp b/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp index 8d4ee9ab5..a1831eefc 100644 --- a/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp +++ b/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp @@ -6,6 +6,7 @@ #include <spirv/unified1/spirv.hpp> #include <algorithm> #include <array> +#include <cstdlib> #include <initializer_list> #include <optional> #include <string> @@ -1421,14 +1422,20 @@ std::uint32_t EmitFPUnordGreaterThanEqual32(SpirvEmitterState& state, std::uint3 } std::uint32_t EmitFPAdd32(SpirvEmitterState& state, std::uint32_t arg0, std::uint32_t arg1) { + static const bool fmaSum = std::getenv("APS5_EXPERIMENT_EXACT_ADD_FMA") != nullptr; + if (fmaSum) return EmitGlsl<GLSLstd450Fma, IrType::F32>(state, ConstantF32(state, 0x3f800000u), arg0, arg1); return Exact(state, EmitNative<spv::OpFAdd, IrType::F32>(state, arg0, arg1)); } std::uint32_t EmitFPSub32(SpirvEmitterState& state, std::uint32_t arg0, std::uint32_t arg1) { + static const bool fmaSum = std::getenv("APS5_EXPERIMENT_EXACT_ADD_FMA") != nullptr; + if (fmaSum) return EmitGlsl<GLSLstd450Fma, IrType::F32>(state, ConstantF32(state, 0xbf800000u), arg1, arg0); return Exact(state, EmitNative<spv::OpFSub, IrType::F32>(state, arg0, arg1)); } std::uint32_t EmitFPMul32(SpirvEmitterState& state, std::uint32_t arg0, std::uint32_t arg1) { + static const bool fmaProduct = std::getenv("APS5_EXPERIMENT_EXACT_MUL_FMA") != nullptr; + if (fmaProduct) return EmitGlsl<GLSLstd450Fma, IrType::F32>(state, arg0, arg1, ConstantF32(state, 0x80000000u)); return Exact(state, EmitNative<spv::OpFMul, IrType::F32>(state, arg0, arg1)); } ``` </details> Not checked: other titles; Metal pipeline compile times; the GPU suite with the Vulkan validation layer; `tools/trace_digest.py` summaries; KosmicKrisp; Linux and Windows, where the switches are off. AI-assisted: yes (Claude Code). I ran all of the above on my machine.
MayankManas commented 2026-10-20 07:01:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MayankManas on 2026-10-20T07:01:01Z.


Heads-up: #8249 takes the two shaderFloat64 skips from this PR (F64AddMulDenormalModes.cpp, F64RoundingDenormalModes.cpp) on their own, because both tests fail on main on Windows with an Intel UHD Graphics 770, which has no shaderFloat64. The hunks are identical to yours, so they do not conflict in either merge order. Happy to close mine if you would rather keep them here.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6285322598 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6285322598). Originally posted by [MayankManas](https://github.com/MayankManas) on 2026-10-20T07:01:01Z. --- Heads-up: #8249 takes the two `shaderFloat64` skips from this PR (`F64AddMulDenormalModes.cpp`, `F64RoundingDenormalModes.cpp`) on their own, because both tests fail on `main` on Windows with an Intel UHD Graphics 770, which has no `shaderFloat64`. The hunks are identical to yours, so they do not conflict in either merge order. Happy to close mine if you would rather keep them here. AI-assisted: yes.
Alexius0815 commented 2026-10-20 07:42:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Alexius0815 on 2026-10-20T07:42:57Z.


M4 validation: typed FragCoord load

We found a small SPIR-V type error in the Mac barycentric normalization workaround. It is still present at head 35ead417f, in SpirvModuleEmitter.cpp:259.

EmitInputComponentU32(state, StageInputKind::FragCoord, 3u) creates an unsigned-integer Input pointer into float gl_FragCoord. Validation reports VUID-VkShaderModuleCreateInfo-pCode-08737.

Replacing that call with the existing float-aware EmitBuiltinU32(state, StageInputKind::FragCoord, 3u) fixes the reported error.

Before/after on our integrated Mac build:

  • New CPU regression: fails before, passes afterward, checking float32 pointer/load types for wave32 and wave64.
  • Identical 64×48 agc_driver_pixel_barycentric_emulation fixture: pixel checks pass in both runs; validation errors decrease from 1 to 0.
  • Both logs confirm actual instance/device validation-layer insertion, with ANYPS5_REQUIRE_VULKAN=1 and ANYPS5_NO_SHADER_CACHE=1.

Environment: Apple M4, Rosetta x86_64, macOS 27.2 (26B5112a), MoltenVK reporting Vulkan 1.1.357, Khronos validation layer 1.4.357.

Scope: We tested our combined local integration, not the entire latest PR head. Our local before/after revisions are 8cd5954d2 and 5f98a5637. This is a focused correctness result, not a performance or general compatibility claim.

Could you take this one-call correction into the branch?

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6285985257 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6285985257). Originally posted by [Alexius0815](https://github.com/Alexius0815) on 2026-10-20T07:42:57Z. --- ### M4 validation: typed FragCoord load We found a small SPIR-V type error in the Mac barycentric normalization workaround. It is still present at head `35ead417f`, in `SpirvModuleEmitter.cpp:259`. `EmitInputComponentU32(state, StageInputKind::FragCoord, 3u)` creates an unsigned-integer Input pointer into float `gl_FragCoord`. Validation reports `VUID-VkShaderModuleCreateInfo-pCode-08737`. Replacing that call with the existing float-aware `EmitBuiltinU32(state, StageInputKind::FragCoord, 3u)` fixes the reported error. **Before/after on our integrated Mac build:** - New CPU regression: fails before, passes afterward, checking float32 pointer/load types for wave32 and wave64. - Identical 64×48 `agc_driver_pixel_barycentric_emulation` fixture: pixel checks pass in both runs; validation errors decrease from **1 to 0**. - Both logs confirm actual instance/device validation-layer insertion, with `ANYPS5_REQUIRE_VULKAN=1` and `ANYPS5_NO_SHADER_CACHE=1`. **Environment:** Apple M4, Rosetta x86_64, macOS 27.2 (26B5112a), MoltenVK reporting Vulkan 1.1.357, Khronos validation layer 1.4.357. **Scope:** We tested our combined local integration, **not the entire latest PR head**. Our local before/after revisions are `8cd5954d2` and `5f98a5637`. This is a focused correctness result, not a performance or general compatibility claim. Could you take this one-call correction into the branch? AI-assisted: yes
imellag commented 2026-10-20 10:38:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-10-20T10:38:14Z.


@ycarogabriel-lgtm, a follow-up to a243f0c93 (the Fma form under fusedExactArithmetic): two emitters still decorate f32 operations NoContraction, so on MoltenVK they still become [[clang::optnone]] helper calls.

Where. I took the 570 SPIR-V modules of Planet of Lana (PPSA19450) from its shader disk cache and translated them with the Vulkan SDK's spirv-cross --msl, as MoltenVK does. The remaining spvFMul, spvFSub and spvFAdd calls come from:

  • the f32 sine, cosine and log2 series in SpirvAluEmitterMath.cpp (Log2SeriesNearOne, EmitFPLog2, SinTurnSeries, CosTurnSeries, EmitFPSin, EmitFPCos): 846 OpFMul and 442 OpFSub in 132 shaders;
  • FoldedOffsetCoord in SpirvImageEmitter.cpp (the coordinate plus a folded texel offset): 240 vector OpFAdd in 6 shaders. texelFloor in the same file has one more OpFMul.

Change. The same rule as EmitFPMul32 and EmitFPSub32: under fusedExactArithmetic, a * b becomes fma(a, b, -0.0), a - b becomes fma(-1.0, b, a), and the offset coordinate becomes fma(1.0, coord, offset). Each rounds once, so the results are the ones the decorated operation gives. Without the flag nothing changes. In the series, the Fma steps keep their decoration (SPIR-V Cross does not turn those into helpers).

Result. Apple M4 Pro, macOS 27.0.1, MoltenVK 1.4.2, x86-64 Release under Rosetta 2. Lana in gameplay, loaded from the same save, standing still in one spot with no input (tools/pad_input.py), 8 windows of 10 s per run, the two builds alternated after a warm-up run. The base is #7332 at 7cf8c610c plus #6617, #7340 and two local committer changes, with APS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1 (the CPU side of the frame, not touched by this change):

without with
fps 29.47, 29.45 29.80, 29.75
GPU busy per present 24.7, 25.0 ms 23.7, 24.2 ms
spvFMul / spvFSub / spvFAdd calls in the 570 shaders 652 / 574 / 246 0 / 0 / 0

ctest -R '^(agc|shader)' on MoltenVK gives the same failures with and without it: the 12 from my earlier comments, plus agc_driver_address_passes and agc_driver_address_passes_targets_split, which abort at exit because of #6617's reaper and pass with APS5_NO_COMMIT_REAPER=1. The tests that exercise the changed code pass: agc_driver_sin_cos_near_zero, agc_driver_sin_cos_reduction, agc_driver_log_near_one and agc_driver_emulated_color_compare (which samples with offsets).

The diff applies cleanly to 35ead417f.

Frames: I dumped one frame every 300 presents (APS5_DUMP_FRAMES) in two runs without the change and one with it. Gameplay frames look the same; what differs between the builds is animation and timing (the scripted button presses are timed in seconds, so the same present index lands on a different menu screen or loading-icon phase), and no frame shows an artifact. This is not a pixel-exact check of the whole frame, which an animated scene does not allow; the exactness tests above are.

Not checked: other titles; Linux and Windows, where the flag is off and nothing changes. The shared-memory atomic add in SpirvMemoryInstructions.cpp and the f64 emitter still use NoContraction; Lana's shaders do not reach them, so I left them out.

The change (against 7cf8c610c)
diff --git a/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp b/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp
index 3ac2ca962..12dab2ccd 100644
--- a/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp
+++ b/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp
@@ -139,6 +139,20 @@ std::uint32_t EmitExt(SpirvEmitterState& state, std::uint32_t type, std::uint32_
     return result;
 }
 
+namespace {
+
+std::uint32_t ExactMul(SpirvEmitterState& state, std::uint32_t lhs, std::uint32_t rhs) {
+    if (state.fusedExactArithmetic) return EmitExt(state, TypeF32(state), GLSLstd450Fma, {lhs, rhs, ConstantF32(state, 0x80000000u)});
+    return Exact(state, Binary(state, spv::OpFMul, TypeF32(state), lhs, rhs));
+}
+
+std::uint32_t ExactSub(SpirvEmitterState& state, std::uint32_t lhs, std::uint32_t rhs) {
+    if (state.fusedExactArithmetic) return EmitExt(state, TypeF32(state), GLSLstd450Fma, {ConstantF32(state, 0xbf800000u), rhs, lhs});
+    return Exact(state, Binary(state, spv::OpFSub, TypeF32(state), lhs, rhs));
+}
+
+}
+
 std::uint32_t EmitDppWriteCondition(SpirvValueEmitContext& ctx, const IrValue& inst) {
     auto& state = ctx.state;
     const auto flags = inst.Flags<DppMoveFlags>();
@@ -948,13 +962,13 @@ std::uint32_t Log2SeriesNearOne(SpirvEmitterState& state, std::uint32_t differen
     for (const std::uint32_t coefficient : {0x3e124925u, 0xbe2aaaabu, 0x3e4ccccdu, 0xbe800000u, 0x3eaaaaabu, 0xbf000000u, 0x3f800000u}) {
         polynomial = Exact(state, EmitExt(state, TypeF32(state), GLSLstd450Fma, {polynomial, difference, ConstantF32(state, coefficient)}));
     }
-    const auto product = Exact(state, Binary(state, spv::OpFMul, TypeF32(state), difference, polynomial));
-    return Exact(state, Binary(state, spv::OpFMul, TypeF32(state), product, ConstantF32(state, 0x3fb8aa3bu)));
+    const auto product = ExactMul(state, difference, polynomial);
+    return ExactMul(state, product, ConstantF32(state, 0x3fb8aa3bu));
 }
 
 std::uint32_t EmitFPLog2(SpirvEmitterState& state, std::uint32_t arg0) {
     const auto value = EmitExt(state, TypeF32(state), GLSLstd450Log2, {arg0});
-    const auto difference = Exact(state, Binary(state, spv::OpFSub, TypeF32(state), arg0, ConstantF32(state, 0x3f800000u)));
+    const auto difference = ExactSub(state, arg0, ConstantF32(state, 0x3f800000u));
     const auto series = Log2SeriesNearOne(state, difference);
     const auto valueBits = Unary(state, spv::OpBitcast, TypeU32(state), value);
     const auto seriesBits = Unary(state, spv::OpBitcast, TypeU32(state), series);
@@ -965,16 +979,16 @@ std::uint32_t EmitFPLog2(SpirvEmitterState& state, std::uint32_t arg0) {
 }
 
 std::uint32_t SinTurnSeries(SpirvEmitterState& state, std::uint32_t turns) {
-    const auto square = Exact(state, Binary(state, spv::OpFMul, TypeF32(state), turns, turns));
+    const auto square = ExactMul(state, turns, turns);
     auto polynomial = ConstantF32(state, 0xc17183a8u);
     for (const std::uint32_t coefficient : {0x42283c1au, 0xc2996966u, 0x42a335e3u, 0xc2255de7u, 0x40c90fdbu}) {
         polynomial = Exact(state, EmitExt(state, TypeF32(state), GLSLstd450Fma, {polynomial, square, ConstantF32(state, coefficient)}));
     }
-    return Exact(state, Binary(state, spv::OpFMul, TypeF32(state), turns, polynomial));
+    return ExactMul(state, turns, polynomial);
 }
 
 std::uint32_t CosTurnSeries(SpirvEmitterState& state, std::uint32_t turns) {
-    const auto square = Exact(state, Binary(state, spv::OpFMul, TypeF32(state), turns, turns));
+    const auto square = ExactMul(state, turns, turns);
     auto polynomial = ConstantF32(state, 0x40fce9c5u);
     for (const std::uint32_t coefficient : {0xc1d368f9u, 0x4270fa83u, 0xc2aae9e4u, 0x4281e0f8u, 0xc19de9e6u, 0x3f800000u}) {
         polynomial = Exact(state, EmitExt(state, TypeF32(state), GLSLstd450Fma, {polynomial, square, ConstantF32(state, coefficient)}));
@@ -1001,9 +1015,9 @@ std::uint32_t EmitFPSin(SpirvEmitterState& state, std::uint32_t arg0) {
     const auto absolute = EmitExt(state, TypeF32(state), GLSLstd450FAbs, {cycle});
     const auto signBits = Binary(state, spv::OpBitwiseAnd, TypeU32(state), Unary(state, spv::OpBitcast, TypeU32(state), cycle), ConstantU32(state, 0x80000000u));
     const auto nearHalf = Binary(state, spv::OpFOrdGreaterThan, TypeBool(state), absolute, ConstantF32(state, 0x3e800000u));
-    const auto distance = Select(state, TypeF32(state), nearHalf, Exact(state, Binary(state, spv::OpFSub, TypeF32(state), ConstantF32(state, 0x3f000000u), absolute)), absolute);
+    const auto distance = Select(state, TypeF32(state), nearHalf, ExactSub(state, ConstantF32(state, 0x3f000000u), absolute), absolute);
     const auto pastEighth = Binary(state, spv::OpFOrdGreaterThan, TypeBool(state), distance, ConstantF32(state, 0x3e000000u));
-    const auto series = Select(state, TypeF32(state), pastEighth, CosTurnSeries(state, Exact(state, Binary(state, spv::OpFSub, TypeF32(state), ConstantF32(state, 0x3e800000u), distance))), SinTurnSeries(state, distance));
+    const auto series = Select(state, TypeF32(state), pastEighth, CosTurnSeries(state, ExactSub(state, ConstantF32(state, 0x3e800000u), distance)), SinTurnSeries(state, distance));
     const auto value = SeriesWhenFar(state, EmitExt(state, TypeF32(state), GLSLstd450Sin, {Binary(state, spv::OpFMul, TypeF32(state), absolute, ConstantF32(state, 0x40c90fdbu))}), series);
     const auto linearConstant = Select(state, TypeF32(state), nearHalf, ConstantF32(state, 0x40c90fdbu), ConstantF32(state, 0x40c90fd5u));
     const auto result = TrigLinearNearZero(state, value, distance, linearConstant);
@@ -1013,10 +1027,10 @@ std::uint32_t EmitFPSin(SpirvEmitterState& state, std::uint32_t arg0) {
 std::uint32_t EmitFPCos(SpirvEmitterState& state, std::uint32_t arg0) {
     const auto cycle = EmitTrigCycleF32(state, arg0, false);
     const auto absolute = EmitExt(state, TypeF32(state), GLSLstd450FAbs, {cycle});
-    const auto distance = Exact(state, Binary(state, spv::OpFSub, TypeF32(state), ConstantF32(state, 0x3e800000u), absolute));
+    const auto distance = ExactSub(state, ConstantF32(state, 0x3e800000u), absolute);
     const auto low = CosTurnSeries(state, absolute);
     const auto middle = SinTurnSeries(state, distance);
-    const auto high = Unary(state, spv::OpFNegate, TypeF32(state), CosTurnSeries(state, Exact(state, Binary(state, spv::OpFSub, TypeF32(state), ConstantF32(state, 0x3f000000u), absolute))));
+    const auto high = Unary(state, spv::OpFNegate, TypeF32(state), CosTurnSeries(state, ExactSub(state, ConstantF32(state, 0x3f000000u), absolute)));
     const auto pastEighth = Binary(state, spv::OpFOrdGreaterThan, TypeBool(state), absolute, ConstantF32(state, 0x3e000000u));
     const auto pastThreeEighths = Binary(state, spv::OpFOrdGreaterThan, TypeBool(state), absolute, ConstantF32(state, 0x3ec00000u));
     const auto series = Select(state, TypeF32(state), pastThreeEighths, high, Select(state, TypeF32(state), pastEighth, middle, low));
diff --git a/core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp b/core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
index aaf7e2025..fb2d44f85 100644
--- a/core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
+++ b/core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
@@ -483,7 +483,21 @@ std::uint32_t FoldedOffsetCoord(SpirvValueEmitContext& ctx, const ImageEmitAcces
     auto& state = ctx.state;
     const auto components = setup.dimensionInfo.spatialComponents;
     const auto type = components == 1u ? TypeF32(state) : TypeF32Vector(state, components);
-    const auto sum = Binary(state, spv::OpFAdd, type, setup.coord, Unary(state, spv::OpConvertSToF, type, PackedOffset(ctx, access, setup.layout)));
+    const auto offset = Unary(state, spv::OpConvertSToF, type, PackedOffset(ctx, access, setup.layout));
+    if (state.fusedExactArithmetic) {
+        auto one = ConstantF32(state, 0x3f800000u);
+        if (components != 1u) {
+            const auto ones = state.module.AllocateId();
+            std::vector<std::uint32_t> words{spv::OpCompositeConstruct, type, ones};
+            words.insert(words.end(), components, one);
+            state.module.AddFunction(words);
+            one = ones;
+        }
+        const auto fused = state.module.AllocateId();
+        state.module.AddFunction(spv::OpExtInst, type, fused, GlslStd450(state), GLSLstd450Fma, one, setup.coord, offset);
+        return fused;
+    }
+    const auto sum = Binary(state, spv::OpFAdd, type, setup.coord, offset);
     state.module.AddAnnotation(spv::OpDecorate, sum, spv::DecorationNoContraction);
     return sum;
 }
@@ -1130,8 +1144,16 @@ void EmitPackedHorizontalGatherOp(SpirvValueEmitContext& ctx, const ImageEmitAcc
             return value;
         };
         const auto texelFloor = [&](std::uint32_t address, std::uint32_t length, bool centre) {
-            auto scaled = Binary(state, spv::OpFMul, TypeF32(state), AddressF32(ctx, access, address), Unary(state, spv::OpConvertSToF, TypeF32(state), length));
-            state.module.AddAnnotation(spv::OpDecorate, scaled, spv::DecorationNoContraction);
+            const auto addressF32 = AddressF32(ctx, access, address);
+            const auto lengthF32 = Unary(state, spv::OpConvertSToF, TypeF32(state), length);
+            std::uint32_t scaled = 0;
+            if (state.fusedExactArithmetic) {
+                scaled = state.module.AllocateId();
+                state.module.AddFunction(spv::OpExtInst, TypeF32(state), scaled, GlslStd450(state), GLSLstd450Fma, addressF32, lengthF32, ConstantF32(state, 0x80000000u));
+            } else {
+                scaled = Binary(state, spv::OpFMul, TypeF32(state), addressF32, lengthF32);
+                state.module.AddAnnotation(spv::OpDecorate, scaled, spv::DecorationNoContraction);
+            }
             if (centre) {
                 scaled = Binary(state, spv::OpFSub, TypeF32(state), scaled, ConstantF32(state, 0x3f000000u));
             }

AI-assisted: yes (Claude Code). I ran all of the above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6289013145 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6289013145). Originally posted by [imellag](https://github.com/imellag) on 2026-10-20T10:38:14Z. --- @ycarogabriel-lgtm, a follow-up to a243f0c93 (the `Fma` form under `fusedExactArithmetic`): two emitters still decorate f32 operations `NoContraction`, so on MoltenVK they still become `[[clang::optnone]]` helper calls. **Where.** I took the 570 SPIR-V modules of Planet of Lana (PPSA19450) from its shader disk cache and translated them with the Vulkan SDK's `spirv-cross --msl`, as MoltenVK does. The remaining `spvFMul`, `spvFSub` and `spvFAdd` calls come from: - the f32 sine, cosine and log2 series in `SpirvAluEmitterMath.cpp` (`Log2SeriesNearOne`, `EmitFPLog2`, `SinTurnSeries`, `CosTurnSeries`, `EmitFPSin`, `EmitFPCos`): 846 `OpFMul` and 442 `OpFSub` in 132 shaders; - `FoldedOffsetCoord` in `SpirvImageEmitter.cpp` (the coordinate plus a folded texel offset): 240 vector `OpFAdd` in 6 shaders. `texelFloor` in the same file has one more `OpFMul`. **Change.** The same rule as `EmitFPMul32` and `EmitFPSub32`: under `fusedExactArithmetic`, `a * b` becomes `fma(a, b, -0.0)`, `a - b` becomes `fma(-1.0, b, a)`, and the offset coordinate becomes `fma(1.0, coord, offset)`. Each rounds once, so the results are the ones the decorated operation gives. Without the flag nothing changes. In the series, the `Fma` steps keep their decoration (SPIR-V Cross does not turn those into helpers). **Result.** Apple M4 Pro, macOS 27.0.1, MoltenVK 1.4.2, x86-64 `Release` under Rosetta 2. Lana in gameplay, loaded from the same save, standing still in one spot with no input (`tools/pad_input.py`), 8 windows of 10 s per run, the two builds alternated after a warm-up run. The base is #7332 at `7cf8c610c` plus #6617, #7340 and two local committer changes, with `APS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1` (the CPU side of the frame, not touched by this change): | | without | with | |---|---|---| | fps | 29.47, 29.45 | 29.80, 29.75 | | GPU busy per present | 24.7, 25.0 ms | 23.7, 24.2 ms | | `spvFMul` / `spvFSub` / `spvFAdd` calls in the 570 shaders | 652 / 574 / 246 | 0 / 0 / 0 | `ctest -R '^(agc|shader)'` on MoltenVK gives the same failures with and without it: the 12 from my earlier comments, plus `agc_driver_address_passes` and `agc_driver_address_passes_targets_split`, which abort at exit because of #6617's reaper and pass with `APS5_NO_COMMIT_REAPER=1`. The tests that exercise the changed code pass: `agc_driver_sin_cos_near_zero`, `agc_driver_sin_cos_reduction`, `agc_driver_log_near_one` and `agc_driver_emulated_color_compare` (which samples with offsets). The diff applies cleanly to `35ead417f`. Frames: I dumped one frame every 300 presents (`APS5_DUMP_FRAMES`) in two runs without the change and one with it. Gameplay frames look the same; what differs between the builds is animation and timing (the scripted button presses are timed in seconds, so the same present index lands on a different menu screen or loading-icon phase), and no frame shows an artifact. This is not a pixel-exact check of the whole frame, which an animated scene does not allow; the exactness tests above are. Not checked: other titles; Linux and Windows, where the flag is off and nothing changes. The shared-memory atomic add in `SpirvMemoryInstructions.cpp` and the f64 emitter still use `NoContraction`; Lana's shaders do not reach them, so I left them out. <details><summary>The change (against <code>7cf8c610c</code>)</summary> ```diff diff --git a/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp b/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp index 3ac2ca962..12dab2ccd 100644 --- a/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp +++ b/core/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cpp @@ -139,6 +139,20 @@ std::uint32_t EmitExt(SpirvEmitterState& state, std::uint32_t type, std::uint32_ return result; } +namespace { + +std::uint32_t ExactMul(SpirvEmitterState& state, std::uint32_t lhs, std::uint32_t rhs) { + if (state.fusedExactArithmetic) return EmitExt(state, TypeF32(state), GLSLstd450Fma, {lhs, rhs, ConstantF32(state, 0x80000000u)}); + return Exact(state, Binary(state, spv::OpFMul, TypeF32(state), lhs, rhs)); +} + +std::uint32_t ExactSub(SpirvEmitterState& state, std::uint32_t lhs, std::uint32_t rhs) { + if (state.fusedExactArithmetic) return EmitExt(state, TypeF32(state), GLSLstd450Fma, {ConstantF32(state, 0xbf800000u), rhs, lhs}); + return Exact(state, Binary(state, spv::OpFSub, TypeF32(state), lhs, rhs)); +} + +} + std::uint32_t EmitDppWriteCondition(SpirvValueEmitContext& ctx, const IrValue& inst) { auto& state = ctx.state; const auto flags = inst.Flags<DppMoveFlags>(); @@ -948,13 +962,13 @@ std::uint32_t Log2SeriesNearOne(SpirvEmitterState& state, std::uint32_t differen for (const std::uint32_t coefficient : {0x3e124925u, 0xbe2aaaabu, 0x3e4ccccdu, 0xbe800000u, 0x3eaaaaabu, 0xbf000000u, 0x3f800000u}) { polynomial = Exact(state, EmitExt(state, TypeF32(state), GLSLstd450Fma, {polynomial, difference, ConstantF32(state, coefficient)})); } - const auto product = Exact(state, Binary(state, spv::OpFMul, TypeF32(state), difference, polynomial)); - return Exact(state, Binary(state, spv::OpFMul, TypeF32(state), product, ConstantF32(state, 0x3fb8aa3bu))); + const auto product = ExactMul(state, difference, polynomial); + return ExactMul(state, product, ConstantF32(state, 0x3fb8aa3bu)); } std::uint32_t EmitFPLog2(SpirvEmitterState& state, std::uint32_t arg0) { const auto value = EmitExt(state, TypeF32(state), GLSLstd450Log2, {arg0}); - const auto difference = Exact(state, Binary(state, spv::OpFSub, TypeF32(state), arg0, ConstantF32(state, 0x3f800000u))); + const auto difference = ExactSub(state, arg0, ConstantF32(state, 0x3f800000u)); const auto series = Log2SeriesNearOne(state, difference); const auto valueBits = Unary(state, spv::OpBitcast, TypeU32(state), value); const auto seriesBits = Unary(state, spv::OpBitcast, TypeU32(state), series); @@ -965,16 +979,16 @@ std::uint32_t EmitFPLog2(SpirvEmitterState& state, std::uint32_t arg0) { } std::uint32_t SinTurnSeries(SpirvEmitterState& state, std::uint32_t turns) { - const auto square = Exact(state, Binary(state, spv::OpFMul, TypeF32(state), turns, turns)); + const auto square = ExactMul(state, turns, turns); auto polynomial = ConstantF32(state, 0xc17183a8u); for (const std::uint32_t coefficient : {0x42283c1au, 0xc2996966u, 0x42a335e3u, 0xc2255de7u, 0x40c90fdbu}) { polynomial = Exact(state, EmitExt(state, TypeF32(state), GLSLstd450Fma, {polynomial, square, ConstantF32(state, coefficient)})); } - return Exact(state, Binary(state, spv::OpFMul, TypeF32(state), turns, polynomial)); + return ExactMul(state, turns, polynomial); } std::uint32_t CosTurnSeries(SpirvEmitterState& state, std::uint32_t turns) { - const auto square = Exact(state, Binary(state, spv::OpFMul, TypeF32(state), turns, turns)); + const auto square = ExactMul(state, turns, turns); auto polynomial = ConstantF32(state, 0x40fce9c5u); for (const std::uint32_t coefficient : {0xc1d368f9u, 0x4270fa83u, 0xc2aae9e4u, 0x4281e0f8u, 0xc19de9e6u, 0x3f800000u}) { polynomial = Exact(state, EmitExt(state, TypeF32(state), GLSLstd450Fma, {polynomial, square, ConstantF32(state, coefficient)})); @@ -1001,9 +1015,9 @@ std::uint32_t EmitFPSin(SpirvEmitterState& state, std::uint32_t arg0) { const auto absolute = EmitExt(state, TypeF32(state), GLSLstd450FAbs, {cycle}); const auto signBits = Binary(state, spv::OpBitwiseAnd, TypeU32(state), Unary(state, spv::OpBitcast, TypeU32(state), cycle), ConstantU32(state, 0x80000000u)); const auto nearHalf = Binary(state, spv::OpFOrdGreaterThan, TypeBool(state), absolute, ConstantF32(state, 0x3e800000u)); - const auto distance = Select(state, TypeF32(state), nearHalf, Exact(state, Binary(state, spv::OpFSub, TypeF32(state), ConstantF32(state, 0x3f000000u), absolute)), absolute); + const auto distance = Select(state, TypeF32(state), nearHalf, ExactSub(state, ConstantF32(state, 0x3f000000u), absolute), absolute); const auto pastEighth = Binary(state, spv::OpFOrdGreaterThan, TypeBool(state), distance, ConstantF32(state, 0x3e000000u)); - const auto series = Select(state, TypeF32(state), pastEighth, CosTurnSeries(state, Exact(state, Binary(state, spv::OpFSub, TypeF32(state), ConstantF32(state, 0x3e800000u), distance))), SinTurnSeries(state, distance)); + const auto series = Select(state, TypeF32(state), pastEighth, CosTurnSeries(state, ExactSub(state, ConstantF32(state, 0x3e800000u), distance)), SinTurnSeries(state, distance)); const auto value = SeriesWhenFar(state, EmitExt(state, TypeF32(state), GLSLstd450Sin, {Binary(state, spv::OpFMul, TypeF32(state), absolute, ConstantF32(state, 0x40c90fdbu))}), series); const auto linearConstant = Select(state, TypeF32(state), nearHalf, ConstantF32(state, 0x40c90fdbu), ConstantF32(state, 0x40c90fd5u)); const auto result = TrigLinearNearZero(state, value, distance, linearConstant); @@ -1013,10 +1027,10 @@ std::uint32_t EmitFPSin(SpirvEmitterState& state, std::uint32_t arg0) { std::uint32_t EmitFPCos(SpirvEmitterState& state, std::uint32_t arg0) { const auto cycle = EmitTrigCycleF32(state, arg0, false); const auto absolute = EmitExt(state, TypeF32(state), GLSLstd450FAbs, {cycle}); - const auto distance = Exact(state, Binary(state, spv::OpFSub, TypeF32(state), ConstantF32(state, 0x3e800000u), absolute)); + const auto distance = ExactSub(state, ConstantF32(state, 0x3e800000u), absolute); const auto low = CosTurnSeries(state, absolute); const auto middle = SinTurnSeries(state, distance); - const auto high = Unary(state, spv::OpFNegate, TypeF32(state), CosTurnSeries(state, Exact(state, Binary(state, spv::OpFSub, TypeF32(state), ConstantF32(state, 0x3f000000u), absolute)))); + const auto high = Unary(state, spv::OpFNegate, TypeF32(state), CosTurnSeries(state, ExactSub(state, ConstantF32(state, 0x3f000000u), absolute))); const auto pastEighth = Binary(state, spv::OpFOrdGreaterThan, TypeBool(state), absolute, ConstantF32(state, 0x3e000000u)); const auto pastThreeEighths = Binary(state, spv::OpFOrdGreaterThan, TypeBool(state), absolute, ConstantF32(state, 0x3ec00000u)); const auto series = Select(state, TypeF32(state), pastThreeEighths, high, Select(state, TypeF32(state), pastEighth, middle, low)); diff --git a/core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp b/core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp index aaf7e2025..fb2d44f85 100644 --- a/core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp +++ b/core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp @@ -483,7 +483,21 @@ std::uint32_t FoldedOffsetCoord(SpirvValueEmitContext& ctx, const ImageEmitAcces auto& state = ctx.state; const auto components = setup.dimensionInfo.spatialComponents; const auto type = components == 1u ? TypeF32(state) : TypeF32Vector(state, components); - const auto sum = Binary(state, spv::OpFAdd, type, setup.coord, Unary(state, spv::OpConvertSToF, type, PackedOffset(ctx, access, setup.layout))); + const auto offset = Unary(state, spv::OpConvertSToF, type, PackedOffset(ctx, access, setup.layout)); + if (state.fusedExactArithmetic) { + auto one = ConstantF32(state, 0x3f800000u); + if (components != 1u) { + const auto ones = state.module.AllocateId(); + std::vector<std::uint32_t> words{spv::OpCompositeConstruct, type, ones}; + words.insert(words.end(), components, one); + state.module.AddFunction(words); + one = ones; + } + const auto fused = state.module.AllocateId(); + state.module.AddFunction(spv::OpExtInst, type, fused, GlslStd450(state), GLSLstd450Fma, one, setup.coord, offset); + return fused; + } + const auto sum = Binary(state, spv::OpFAdd, type, setup.coord, offset); state.module.AddAnnotation(spv::OpDecorate, sum, spv::DecorationNoContraction); return sum; } @@ -1130,8 +1144,16 @@ void EmitPackedHorizontalGatherOp(SpirvValueEmitContext& ctx, const ImageEmitAcc return value; }; const auto texelFloor = [&](std::uint32_t address, std::uint32_t length, bool centre) { - auto scaled = Binary(state, spv::OpFMul, TypeF32(state), AddressF32(ctx, access, address), Unary(state, spv::OpConvertSToF, TypeF32(state), length)); - state.module.AddAnnotation(spv::OpDecorate, scaled, spv::DecorationNoContraction); + const auto addressF32 = AddressF32(ctx, access, address); + const auto lengthF32 = Unary(state, spv::OpConvertSToF, TypeF32(state), length); + std::uint32_t scaled = 0; + if (state.fusedExactArithmetic) { + scaled = state.module.AllocateId(); + state.module.AddFunction(spv::OpExtInst, TypeF32(state), scaled, GlslStd450(state), GLSLstd450Fma, addressF32, lengthF32, ConstantF32(state, 0x80000000u)); + } else { + scaled = Binary(state, spv::OpFMul, TypeF32(state), addressF32, lengthF32); + state.module.AddAnnotation(spv::OpDecorate, scaled, spv::DecorationNoContraction); + } if (centre) { scaled = Binary(state, spv::OpFSub, TypeF32(state), scaled, ConstantF32(state, 0x3f000000u)); } ``` </details> AI-assisted: yes (Claude Code). I ran all of the above on my machine.
adriadam10 commented 2026-10-20 11:35:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-20T11:35:26Z.

Review: CHANGES_REQUESTED


Thanks for the work and for the macOS runs; the test coverage on Apple hardware is useful. This can't be reviewed or merged as one PR, though:

  • It conflicts with current main, and it bundles ~25 other open PRs (#4627, #4630, #6448, #7886, #7937, #7974, ...) plus its own fixes: 236 files, +6246. CONTRIBUTING asks for one topic per PR. Merging any of the bundled PRs first changes this diff, and each one needs its own review and CI.
  • It overlaps #7201 and #5021 (same macOS port, same files). Please don't carry their pieces here; rebase onto whichever lands.
  • Please split your own work into separate PRs on current main, one topic each (e.g. XNU socket fixes, shm_open on macOS, precise wait, RTLD_GLOBAL loading, AGC/Metal changes, web converter, docs/tools). Mention the dependency in Depends on instead of merging the other branch in.
  • Shader changes need their own PRs with evidence: the SPIR-V loop continue blocks, and the inline fma for exact f32 add/sub/mul (SpirvTarget flag) which must be shown bit-exact against hardware, including NaN/denormal rows. imellag also reports that the f32 sin/cos/log2 series still use NoContraction (SpirvAluEmitterMath.cpp:24).
  • SpirvModuleEmitter.cpp:259: EmitInputComponentU32(state, StageInputKind::FragCoord, 3u) makes a uint pointer into the float FragCoord builtin (VUID-VkShaderModuleCreateInfo-pCode-08737, reported by @Alexius0815). Use EmitBuiltinU32 as suggested there.

Welcome to push the split PRs; happy to review them.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5584439817 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#pullrequestreview-5584439817). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-20T11:35:26Z. **Review:** CHANGES_REQUESTED --- Thanks for the work and for the macOS runs; the test coverage on Apple hardware is useful. This can't be reviewed or merged as one PR, though: - It conflicts with current `main`, and it bundles ~25 other open PRs (#4627, #4630, #6448, #7886, #7937, #7974, ...) plus its own fixes: 236 files, +6246. CONTRIBUTING asks for one topic per PR. Merging any of the bundled PRs first changes this diff, and each one needs its own review and CI. - It overlaps #7201 and #5021 (same macOS port, same files). Please don't carry their pieces here; rebase onto whichever lands. - Please split your own work into separate PRs on current `main`, one topic each (e.g. XNU socket fixes, shm_open on macOS, precise wait, RTLD_GLOBAL loading, AGC/Metal changes, web converter, docs/tools). Mention the dependency in `Depends on` instead of merging the other branch in. - Shader changes need their own PRs with evidence: the SPIR-V loop continue blocks, and the inline `fma` for exact f32 add/sub/mul (`SpirvTarget` flag) which must be shown bit-exact against hardware, including NaN/denormal rows. imellag also reports that the f32 sin/cos/log2 series still use `NoContraction` (`SpirvAluEmitterMath.cpp:24`). - `SpirvModuleEmitter.cpp:259`: `EmitInputComponentU32(state, StageInputKind::FragCoord, 3u)` makes a uint pointer into the float `FragCoord` builtin (`VUID-VkShaderModuleCreateInfo-pCode-08737`, reported by @Alexius0815). Use `EmitBuiltinU32` as suggested there. Welcome to push the split PRs; happy to review them.
imellag commented 2026-10-20 11:40:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-10-20T11:40:17Z.


@adriadam10 thanks for the review. I can carry the inline fma as its own PR on current main: the SpirvTarget flag set for MoltenVK (a243f0c93) together with the sin/cos/log2 series and FoldedOffsetCoord/texelFloor follow-up from my last comment, plus a recompiler test.

I can't open it yet, though: my only open PR, #7634, is still waiting for review, and with none merged the open-PR limit is 1. Two ways forward, whichever you and @ycarogabriel-lgtm prefer:

  • @ycarogabriel-lgtm opens it when splitting this PR, and I add the macOS measurements there;
  • or I open it once #7634 is merged or closed.

On the bit-exact evidence: I only have Apple hardware, so I can't run the hardware oracle. If someone with an RDNA2 GPU (gfx103x) on Linux can run v_mul_f32, v_add_f32 and v_sub_f32 with ±0, ±denormal, ±inf and NaN rows (quiet and signalling, with payloads), I'll pin those rows in tests/execution/ and check them against the fused form on MoltenVK. So far the evidence is the existing exactness tests: 8 of them go from failing to passing on MoltenVK with the change, and none regress.

AI-assisted: yes (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6290018647 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7332#issuecomment-6290018647). Originally posted by [imellag](https://github.com/imellag) on 2026-10-20T11:40:17Z. --- @adriadam10 thanks for the review. I can carry the inline `fma` as its own PR on current `main`: the `SpirvTarget` flag set for MoltenVK (a243f0c93) together with the sin/cos/log2 series and `FoldedOffsetCoord`/`texelFloor` follow-up from my last comment, plus a recompiler test. I can't open it yet, though: my only open PR, #7634, is still waiting for review, and with none merged the open-PR limit is 1. Two ways forward, whichever you and @ycarogabriel-lgtm prefer: - @ycarogabriel-lgtm opens it when splitting this PR, and I add the macOS measurements there; - or I open it once #7634 is merged or closed. On the bit-exact evidence: I only have Apple hardware, so I can't run the [hardware oracle](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/HW_ORACLE.md). If someone with an RDNA2 GPU (gfx103x) on Linux can run `v_mul_f32`, `v_add_f32` and `v_sub_f32` with ±0, ±denormal, ±inf and NaN rows (quiet and signalling, with payloads), I'll pin those rows in `tests/execution/` and check them against the fused form on MoltenVK. So far the evidence is the existing exactness tests: 8 of them go from failing to passing on MoltenVK with the change, and none regress. AI-assisted: yes (Claude Code).

Pull request closed

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!7332
No description provided.