feat: macOS on Apple Silicon host support (Rosetta 2 and MoltenVK) #7332
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7332"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by 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)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)mainPorted from #7201 (marion909's port; each commit is co-authored by @marion909, as @blawesom suggested reconciling the two)
forincrement and drops the header phi updates, which hung the GPUAPS5_DUMP_DRAW_SHADERdumps every stage of the draws that use one shaderexception_runtimenow runs on macOSANYPS5_VULKAN_LIBRARYNot ported from #7201, with the reason: AF_UNIX seqpacket pairs emulated over datagram sockets (XNU reports
ECONNRESETandEDESTADDRREQwhere FreeBSD's seqpacket gives EOF andEPIPE, so they stay refused as the debt file says);sendtowith an address on a connected UDP socket turned intosend(FreeBSD returnsEISCONN, whichguest_udpchecks); 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)
RTLD_GLOBALon the macOS host, because relinked modules bind imports by flat lookup and dyld leavesRTLD_LOCALimages 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 owndlsymscope is unchanged andguest_dynamic_loadernow checks itprecise_waitnow passes 10 of 10 on the M1 (it was 3 of 6, and 0 of 10 on the M4 Pro)tools/macos/setup-game.shunwraps withtools/unwrap_self.py, which accepts both SELF magics, instead of a duplicate that refused0xEEF51454dumpsconnectthat getsECONNRESETis retried on a new socket put on the same descriptor, as @jotitadev worked out and measured (guest_refused_connect90/90 on his M2 Max against 0/30 without it); co-authoredshutdowncalls and ashutdownafter the peer closed answer as FreeBSD does, from @jotitadev's diagnosis and test; co-authoredguest_socket_read_write: the closed-peer write loop rides out XNU's asynchronous reset, from @jotitadev's root cause and test-only fix; co-authoredfmaon MoltenVK instead of SPIRV-Cross'soptnonehelper 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 aSpirvTargetflag, as he proposedUpstream tests that only ran on Linux, now run on macOS
shm_open/shm_unlinkof named objects work on macOS as files in$TMPDIR/anyps5-shm(XNU's POSIX shm takes names of at most 31 characters and refusesfchmod,O_TRUNCand a secondftruncate);guest_named_shm_open,_lifecycle,_permissionsand_concurrencyrun there. Guestmmapof files and shm objects now uses the Linux path on macOS, andEBADFfor empty-vector writes on read-only descriptors matches the consolemprotectreportedENOENTinstead ofEACCES)sceLibcBacktraceGetBufferSize/sceLibcBacktraceSelfwork on macOS (guest_backtrace);exception_c_cleanupandguest_getlogin_no_sessionrun toocpu_topology,guest_image_anonymous,guest_module_infoand 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)
connectthat 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 repeatedshutdown, or one after the peer closed, answers as FreeBSD does (his diagnosis and test, co-authored);SO_ACCEPTCONNthroughproc_pidfdinfo;shutdown(SHUT_RD)after the peer'sSHUT_WRand on unconnected datagram sockets; urgent TCP data reported topollthroughselect; datagram byte counts fromSO_NREADin kevent, fstat and ioctl, because XNU'sFIONREADadds the sender address; IPv4-mapped answers dropped from IPv6 lookupsmprotect;munlockallunlocks each recorded range; macOS AGC page checks cache the logical protection after write-watch handling, following the page generation and access serialacosfthrough double;mktimebefore 1900;fflushleaves reading streams alone; host terminations forwarded to the guest's terminate; statics that guest threads still use at exit kept alivegetdirentriesrefuses plain files withEINVAL, as upstream now requires--exclude-libs), so a program linking Mbed TLS keeps its own allocatorjn/yn, as Apple's libc++ has no C++17 special math functionspipe2, which the Xcode 27 SDK weak-links and macOS 26 lacks; the title launcher enables the nano allocator for Rosetta small allocations, withMallocNanoZone=0available for comparisondocs/user/MACOS.mdandtools/macosscripts to set up and launch a titleTASK_VM_INFO; sRGB storage images keep their UNORM format because Metal encodes stores to sRGB textures; the AGC driver memory that #6160 maps at0xfe0000000is unavailable on this macOS host, so the driver starts without it and says so (AGC debt file)Known limits (in the debt files)
VK_KHR_shader_clock, so those GPU tests fail by design.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_tininessandf32_denormal_flush: Metal floating-point limitsshaderCullDistancetessellation: the instanced patch in column 0 does not take its colour from the relative patch indexpixel_interlock: MoltenVK does not compileraster_order_groupon an argument-buffer fieldrect_list_indirect: differs from the direct drawimage_plane_bias_on_single_level_volume: the device has no min/max sampler reductionpixel_sample_iteration: an attachment-less 4x draw runs the fragment shader per sample on MoltenVK although the Metal function asks for no sample inputagc_driver_pooled_buffer_rangefrom #7886 exposes a MoltenVK robust-buffer read that returns stale pooled bytes; the test was previously skipped on macOSagc_driver_native_multisample_depthpath passes but reportsVUID-VkImageViewCreateInfo-imageViewFormatSwizzle-04465under Vulkan validation, because MoltenVK reportsimageViewFormatSwizzleunavailablecross_workgroup_flagremains timing-sensitive: its waiting workgroup reads coherently, while the other workgroup's GLC store becomes a plain Metal storeTitle 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
Releasebuild withBUILD_TESTING=ONpassed atb5fddb65c, with upstreammainmerged through44e3389c8.8ee809880, the non-GPU suite (ctest -E "^agc|video_?out|flip|display" -j4) passed 842/843.patched_librariestimed 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 documentedpixel_sample_iterationgap;depth_bounds_stateandgraphicsexposed merge errors that were fixed, andsgpr_pattern_fill_keyspassed alone. The three fixed cases passed in a subsequent five-test run.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 headb5fddb65cbuilt 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.FragCoordload 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/mainequals the committed tree.Checklist
main; no other open PR implements the same functions — it includes upstreammainthrough44e3389c8; it deliberately contains the open macOS PRs listed under Depends on and overlaps #7201, which ports macOS tooNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt filedocs/dev/debt/, without investigation attachmentsshaderFloat64test 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 inmain), and #7201 and #5021 (overlapping ports and consolidations, per the overlap comment)🤖 Generated with Claude Code
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.
main)core/libs/prx/libc/CMakeLists.txtL735-738, L751-757sceKernelGetModuleInfosceKernelGetModuleListsceKernelGetdentssceKernelGetdirentriesstrtoimax_nid_postfixstrtoumax_nid_postfixcore/libs/prx/libSceVideoOut/include/MainThread.hppcore/libs/prx/libc/include/specifics/macos/ExecutablePath.hppcore/libs/prx/libkernel/Pthread/src/GuestTlsMacOs.cppcore/libs/prx/libkernel/Pthread/src/MainThreadMacOs.cppcore/relinker/relinker/tests/macos/breakout.cppcore/relinker/relinker/tests/macos/c_cleanup.ccore/relinker/relinker/tests/macos/c_cleanup_main.cppcore/relinker/relinker/tests/macos/exception.cppcore/relinker/relinker/tests/macos/greet.cppcore/relinker/relinker/tests/macos/guesttools.pycore/relinker/relinker/tests/macos/intel_main.cppcore/relinker/relinker/tests/macos/intel_module.cppcore/relinker/relinker/tests/macos/module_main.cppcore/relinker/relinker/tests/macos/mprotect_fixture.pycore/relinker/relinker/tests/macos/mprotect_pages_fixture.pycore/relinker/relinker/tests/macos/run_macos_fixtures.pycore/relinker/relinker/tests/macos/threads.cppcore/relinker/relinker/tests/macos/tls_modules_main.cppcore/relinker/relinker/tests/macos/tls_owner.cppcore/relinker/relinker/tests/macos/tls_user.cppcore/relinker/relinker/tests/macos/unwind_info_fixture.pycore/relinker/relinker/tests/macos/videoout.cppcore/relinker/relinker/tests/macos/videoout_open.cpptools/package_macos_app.pytools/tests/test_package_macos_app.pycore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppL1197-1210core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppL9core/libs/tests/GuestMemory.cppL2940-2955core/libs/prx/libkernel/CMakeLists.txtL221-222core/libs/prx/libkernel/Module/src/DynamicLoader.cppL196core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppL4842, L4960core/shader/recompiler/ControlFlow/src/RequestSerializer.cppL828, L867core/shader/recompiler/tests/RequestSerializerTests.cppL217, L221-222, L257, L261-262, L283, L407-413, L422, L427-428, L443, L445docs/dev/debt/shader.mdL171core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppL9core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppL4842, L4960, L5210, L5214, L5221, L5224-5225core/shader/recompiler/ControlFlow/src/RequestSerializer.cppL828, L858, L867, L911core/shader/recompiler/tests/RequestSerializerTests.cppL217, L222, L257, L262, L283, L287, L408, L412, L422, L428, L443, L445, L495-496core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppL4842, L4960core/shader/recompiler/ControlFlow/src/RequestSerializer.cppL828, L867core/shader/recompiler/tests/RequestSerializerTests.cppL217, L221-222, L257, L261-262, L283, L407-413, L422, L427-428, L443, L445docs/dev/debt/shader.mdL171core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cppL113core/libs/prx/libSceAgcDriver/tests/Graphics.cppL8394, L8502, L10289docs/dev/debt/libSceAgcDriver.mdL126core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppL4842, L4960, L5207, L5210, L5214, L5221, L5225core/shader/recompiler/ControlFlow/src/RequestSerializer.cppL828, L858, L867, L911core/shader/recompiler/tests/RequestSerializerTests.cppL217, L222, L257, L262, L283, L287, L408, L412, L422, L428, L443, L445, L496docs/dev/debt/shader.mdL171docs/dev/debt/libSceAgcDriver.mdL200, L207-208docs/dev/debt/libSceAgcDriver.mdL200, L207-208docs/dev/debt/libSceAgcDriver.mdL200, L207-208docs/dev/debt/libSceAgcDriver.mdL200, L207-208docs/dev/debt/libkernel.mdL117docs/dev/debt/libkernel.mdL117docs/dev/debt/libkernel.mdL117-118docs/dev/debt/relinker.mdL31core/relinker/codegen/include/codegen/x86/AdxLowering.hppcore/relinker/codegen/src/x86/AdxLowering.cppcore/relinker/codegen/tests/AdxLoweringTests.cppdocs/dev/debt/libkernel.mdL147core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvLoopContinue.hppcore/shader/recompiler/SpirvBackend/src/SpirvLoopContinue.cppcore/libs/prx/libkernel/File/src/SharedMemory.cppL39, L151docs/dev/debt/libSceAgcDriver.mdL208core/libs/tests/Formatting.cppL11core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppL4842, L4960core/shader/recompiler/ControlFlow/src/RequestSerializer.cppL828, L858, L867, L911core/shader/recompiler/tests/RequestSerializerTests.cppL217, L257, L283, L408, L422, L443, L445docs/dev/debt/relinker.mdL29core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cppL113, L116core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cppL37, L66, L87, L111, L127, L244, L276docs/dev/debt/libSceAgcDriver.mdL126docs/dev/debt/shader.mdL96core/libs/prx/libc/src/AppArchive.cppL78-79core/libs/tests/GuestUdp.cppL147, L195, L215-216core/relinker/codegen/tests/AdxLoweringTests.cppdocs/dev/debt/relinker.mdL31core/relinker/codegen/include/codegen/x86/AdxLowering.hppcore/relinker/codegen/src/x86/AdxLowering.cppcore/relinker/codegen/tests/AdxLoweringTests.cppcore/libs/prx/libkernel/Pthread/src/Thread.cppL664-665core/libs/prx/libkernel/Socket/src/Udp.cppL1677-1684core/libs/prx/libSceVideoOut/src/VideoOutDriver.cppL13core/libs/prx/libkernel/DirectMemory/DirectMemory.cppL32, L236, L341, L368, L379, L389, L550, L643, L708, L721, L773, L781-782, L784, L786, L794, L810, L894, L929, L1099, L1140docs/dev/debt/libkernel.mdL117core/relinker/relinker/tests/test_macos_gs_traps.pyL40, L50core/libs/tests/GuestUdp.cppL195, L215-216docs/dev/debt/libkernel.mdL178core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cppL116-117docs/dev/debt/libSceAgcDriver.mdL126core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppL4842, L4960, L5051-5052, L5061-5062, L5111-5113, L5121, L5129-5131, L5133, L5142-5144, L5150-5152, L5158-5160, L5210, L5214, L5221core/shader/recompiler/CacheKey.hppL290core/shader/recompiler/ControlFlow/src/RequestSerializer.cppL828, L858, L867, L911core/shader/recompiler/Recompiler.cppL573core/shader/recompiler/Recompiler.hppL292core/shader/recompiler/tests/RequestSerializerTests.cppL217, L222, L257, L262, L283, L287, L408, L412, L422, L428, L443, L445, L492core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cppL116-117docs/dev/debt/libSceAgcDriver.mdL126core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppL195core/libs/prx/libkernel/DirectMemory/DirectMemory.cppL1152core/libs/prx/libkernel/DirectMemory/Jit.cppL142-144docs/dev/debt/libkernel.mdL116-117core/libs/tests/GuestMemory.cppL2881core/relinker/relinker/tests/test_macos_gs_traps.pyL40docs/dev/debt/shader.mdL171core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppL496-497core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cppL66, L69-70, L275-276docs/dev/debt/libSceAgcDriver.mdL126docs/dev/debt/shader.mdL96docs/dev/BUILD.mdL33core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppL1169core/shader/recompiler/CacheKey.hppL290core/shader/recompiler/Recompiler.hppL292core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppL279docs/dev/debt/shader.mdL171core/libs/prx/libc/CMakeLists.txtL829core/libs/prx/libc/src/Backtrace.cppL10core/libs/prx/libc/src/StandardStreams.cppL88core/libs/prx/libc/src/StandardStreams.cppL88docs/dev/debt/shader.mdL171core/libs/prx/libc/src/Interfaces.cppL7-12, L290-291docs/dev/debt/libc.mdL99core/libs/prx/libSceAgcDriver/CMakeLists.txtL372core/libs/CMakeLists.txtL88core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cppL61-66, L69-70, L274-276docs/dev/debt/shader.mdL96docs/dev/debt/libkernel.mdL178Some 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.
CMakeLists.txtcore/libs/prx/libSceVideoOut/src/VideoOutDriver.cppdocs/dev/BUILD.mdcore/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libc/include/GuestAllocations.hppcore/libs/prx/libc/src/GuestAllocations.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppCMakeLists.txtcore/libs/prx/libc/src/GuestAllocations.cppcore/libs/prx/libc/src/GuestArena.cppdocs/dev/BUILD.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libkernel/Pthread/src/Thread.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cppcore/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cppcore/shader/recompiler/Translation/src/FloatInstructions.cppcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/BdaResources.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libc/src/GuestArena.cppcore/libs/prx/libkernel/DirectMemory/DirectMemory.cppcore/libs/tests/GuestMemory.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libkernel/System/src/Exception.cppcore/libs/tests/GuestRaiseException.cppdocs/dev/debt/libkernel.mdcore/libs/prx/libkernel/CMakeLists.txtcore/libs/prx/libkernel/Module/src/Module.cppCMakeLists.txtcore/libs/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cppcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Execution/src/ThreadPriority.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/tests/BdaDevice.cppcore/libs/prx/libSceAgcDriver/tests/BdaResources.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/tests/SharedWrites.cppcore/libs/prx/libSceAgcDriver/tests/execution/OversizedDescriptorSets.cppcore/libs/prx/libSceAgcDriver/tests/execution/SampledCacheBudget.cppcore/libs/prx/libSceAudioIn/CMakeLists.txtcore/libs/prx/libSceAudioOut/CMakeLists.txtcore/libs/prx/libSceLibcInternal/CMakeLists.txtcore/libs/prx/libSceLibcInternal/PathStatistics.cppcore/libs/prx/libScePosixForWebKit/Resolver.cppcore/libs/prx/libSceSysmodule/Export.cppcore/libs/prx/libSceVideoOut/include/MainThread.hppcore/libs/prx/libSceVideoOut/src/VideoOutDriver.cppcore/libs/prx/libSceVideoOut/tests/Flip.cppcore/libs/prx/libc/CMakeLists.txtcore/libs/prx/libc/include/FileStream.hppcore/libs/prx/libc/include/GuestAllocations.hppcore/libs/prx/libc/include/general/ExportMacros.hppcore/libs/prx/libc/include/specifics/macos/ExecutablePath.hppcore/libs/prx/libc/src/ApplicationProcessParameters.cppcore/libs/prx/libc/src/CxxAbiSupport.cppcore/libs/prx/libc/src/General.cppcore/libs/prx/libc/src/GuestAllocations.cppcore/libs/prx/libc/src/GuestArena.cppcore/libs/prx/libc/src/Rename.cppcore/libs/prx/libc/src/RuntimeSupport.cppcore/libs/prx/libc/src/StandardStreams.cppcore/libs/prx/libc/src/Strings.cppcore/libs/prx/libc/src/Time.cppcore/libs/prx/libc/src/specifics/gcc/StackGuard.cppcore/libs/prx/libc/src/specifics/x86_64/RegisterContext.cppcore/libs/prx/libkernel/CMakeLists.txtcore/libs/prx/libkernel/DirectMemory/DirectMemory.cppcore/libs/prx/libkernel/DirectMemory/Export.cppcore/libs/prx/libkernel/DirectMemory/Jit.cppcore/libs/prx/libkernel/File/src/NativeStat.cppcore/libs/prx/libkernel/File/src/Open.cppcore/libs/prx/libkernel/File/src/SharedMemory.cppcore/libs/prx/libkernel/File/src/Stdio.cppcore/libs/prx/libkernel/Module/src/DynamicLoader.cppcore/libs/prx/libkernel/Module/src/Module.cppcore/libs/prx/libkernel/Module/src/ModuleInfo.cppcore/libs/prx/libkernel/Pthread/include/Pthread.hppcore/libs/prx/libkernel/Pthread/src/GuestTlsMacOs.cppcore/libs/prx/libkernel/Pthread/src/MainThreadMacOs.cppcore/libs/prx/libkernel/Pthread/src/Thread.cppcore/libs/prx/libkernel/Socket/src/Udp.cppcore/libs/prx/libkernel/System/src/Exception.cppcore/libs/prx/libkernel/System/src/Process.cppcore/libs/prx/libkernel/System/src/Rtld.cppcore/libs/prx/libkernel/Time/Time.cppcore/libs/prx/libkernel/Time/TimedWait.cppcore/libs/tests/Formatting.cppcore/libs/tests/GuestMemory.cppcore/libs/tests/GuestPathCase.cppcore/libs/tests/GuestPthreadStack.cppcore/libs/tests/GuestSocketPair.cppcore/libs/tests/Wave32WideSubgroup.cppcore/relinker/CMakeLists.txtcore/relinker/relinker/tests/macos/breakout.cppcore/relinker/relinker/tests/macos/c_cleanup.ccore/relinker/relinker/tests/macos/c_cleanup_main.cppcore/relinker/relinker/tests/macos/exception.cppcore/relinker/relinker/tests/macos/greet.cppcore/relinker/relinker/tests/macos/guesttools.pycore/relinker/relinker/tests/macos/intel_main.cppcore/relinker/relinker/tests/macos/intel_module.cppcore/relinker/relinker/tests/macos/module_main.cppcore/relinker/relinker/tests/macos/mprotect_fixture.pycore/relinker/relinker/tests/macos/mprotect_pages_fixture.pycore/relinker/relinker/tests/macos/run_macos_fixtures.pycore/relinker/relinker/tests/macos/threads.cppcore/relinker/relinker/tests/macos/tls_modules_main.cppcore/relinker/relinker/tests/macos/tls_owner.cppcore/relinker/relinker/tests/macos/tls_user.cppcore/relinker/relinker/tests/macos/unwind_info_fixture.pycore/relinker/relinker/tests/macos/videoout.cppcore/relinker/relinker/tests/macos/videoout_open.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvMemory/SpirvSubgroup.hppcore/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvSubgroup.cppcore/shader/recompiler/Translation/src/FloatInstructions.cppdocs/dev/BUILD.mddocs/dev/debt/libc.mddocs/dev/debt/libkernel.mddocs/dev/debt/relinker.mddocs/dev/debt/shader.mddocs/user/USAGE.mdtools/package_macos_app.pytools/tests/test_package_macos_app.pydocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cppdocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/tests/BdaResources.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtdocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppdocs/dev/ENVIRONMENT.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/execution/DepthStorage.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/ControlFlow/src/RequestSerializer.cppcore/shader/recompiler/Optimization/src/ShaderInfoCollector.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppdocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/libs/prx/libSceNet/Export.cppcore/libs/tests/GuestSceNet.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/Recompiler.hppdocs/dev/debt/libSceAgcDriver.mddocs/user/USAGE.mddocs/dev/debt/shader.mdcore/libs/prx/libSceAudioOut/CMakeLists.txtdocs/dev/debt/shader.md.github/workflows/build.ymlCMakeLists.txtcore/libs/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAmpr/CMakeLists.txtcore/libs/prx/libSceAudioIn/CMakeLists.txtcore/libs/prx/libSceAudioOut/CMakeLists.txtcore/libs/prx/libSceLibcInternal/CMakeLists.txtcore/libs/prx/libSceSsl/CMakeLists.txtcore/libs/prx/libSceVideoOut/tests/Flip.cppcore/libs/prx/libc/CMakeLists.txtcore/libs/prx/libkernel/CMakeLists.txtcore/libs/tests/ApplicationHeap.cppcore/libs/tests/ExceptionRuntime.cppcore/libs/tests/Formatting.cppcore/libs/tests/GuestAmmPlacement.cppcore/libs/tests/GuestAmpr.cppcore/libs/tests/GuestDirectoryEntries.cppcore/libs/tests/GuestDynamicLoader.cppcore/libs/tests/GuestFiopen.cppcore/libs/tests/GuestFlexibleMemoryModule.cppcore/libs/tests/GuestGenericCategory.cppcore/libs/tests/GuestKernelFcntl.cppcore/libs/tests/GuestKernelStackProtect.cppcore/libs/tests/GuestMath.cppcore/libs/tests/GuestMemory.cppcore/libs/tests/GuestNamedShmLifecycle.cppcore/libs/tests/GuestPathCase.cppcore/libs/tests/GuestPthreadStack.cppcore/libs/tests/GuestRaiseException.cppcore/libs/tests/GuestSceNet.cppcore/libs/tests/GuestShmOpen.cppcore/libs/tests/GuestSocketPair.cppcore/libs/tests/GuestSocketReadWrite.cppcore/libs/tests/GuestUdp.cppcore/libs/tests/LogMacros.cppcore/libs/tests/PreciseWait.cppcore/libs/tests/SaveDataMemoryGrowth.cppcore/libs/tests/Wave32WideSubgroup.cppcore/relinker/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libkernel/Module/src/Module.cppdocs/dev/debt/libkernel.mdcore/libs/prx/libc/src/Math.cppcore/libs/tests/GuestMath.cppdocs/user/USAGE.mdcore/libs/prx/libSceAgcDriver/Execution/src/ShaderDeviceProfile.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Resources.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/ControlFlow/src/RequestSerializer.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/tests/RequestSerializerTests.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cppcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/shader/recompiler/Recompiler.hppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/BdaResources.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/tests/execution/ImageTableReuse.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libc/src/General.cppcore/libs/prx/libkernel/CMakeLists.txtdocs/dev/debt/libc.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/libs/prx/libSceAgcDriver/tests/execution/FrontFaceAllBits.cppcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/ControlFlow/src/RequestSerializer.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppcore/shader/recompiler/tests/RequestSerializerTests.cppdocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/tests/WriteTracking.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvMemory/SpirvSubgroup.hppcore/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvSubgroup.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libc/src/GuestAllocations.cppcore/libs/tests/GuestMemory.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/BdaResources.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mdcore/libs/prx/libc/src/GuestArena.cppcore/libs/prx/libkernel/CMakeLists.txtcore/libs/prx/libkernel/DirectMemory/PosixMemory.cppcore/libs/tests/GuestMemory.cppdocs/dev/debt/libc.mddocs/dev/debt/libkernel.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cppdocs/dev/debt/shader.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libkernel/Module/src/Module.cppcore/libs/tests/GuestDynamicLoader.cppdocs/dev/debt/libkernel.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/relinker/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/tests/BdaResources.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/ENVIRONMENT.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/SpirvBackend/src/SpirvAlu/SpirvAluEmitterMath.cppcore/libs/prx/libSceVideoOut/src/VideoOutDriver.cppcore/libs/prx/libkernel/CMakeLists.txtcore/libs/prx/libkernel/Time/Time.cppcore/libs/prx/libkernel/Time/TimedWait.cppdocs/dev/ENVIRONMENT.mddocs/dev/debt/libkernel.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/libs/prx/libSceAgcDriver/tests/execution/MultisampleRetirement.cppcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/ControlFlow/src/RequestSerializer.cppcore/shader/recompiler/Optimization/src/ShaderInfoCollector.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppcore/shader/recompiler/tests/RequestSerializerTests.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libkernel/Pthread/include/Pthread.hppdocs/dev/debt/libkernel.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppdocs/user/USAGE.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libc/CMakeLists.txtcore/libs/prx/libc/include/exceptions/Unwind.hppcore/libs/prx/libc/src/exception/Unwind.cppdocs/dev/debt/libc.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/tests/WriteTracking.cppdocs/dev/debt/libSceAgcDriver.mdCMakeLists.txtcore/libs/prx/libSceVideoOut/src/VideoOutDriver.cppcore/libs/prx/libc/include/general/ExportMacros.hppcore/libs/prx/libc/src/ApplicationProcessParameters.cppcore/libs/prx/libc/src/General.cppcore/libs/prx/libc/src/GuestAllocations.cppcore/libs/prx/libc/src/GuestArena.cppcore/libs/prx/libc/src/Math.cppcore/libs/prx/libc/src/Strings.cppcore/libs/prx/libkernel/DirectMemory/DirectMemory.cppcore/libs/prx/libkernel/File/src/NativeStat.cppcore/libs/prx/libkernel/File/src/Stdio.cppcore/libs/prx/libkernel/Module/src/DynamicLoader.cppcore/libs/prx/libkernel/Module/src/ModuleInfo.cppcore/libs/prx/libkernel/Pthread/src/Thread.cppcore/libs/prx/libkernel/System/src/Exception.cppcore/libs/prx/libkernel/System/src/Process.cppcore/libs/prx/libkernel/System/src/Rtld.cppcore/libs/prx/libkernel/Time/Time.cppcore/relinker/CMakeLists.txtcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppdocs/dev/BUILD.mdcore/libs/prx/libkernel/CMakeLists.txtcore/libs/prx/libkernel/Pthread/include/Pthread.hppcore/libs/prx/libkernel/Pthread/src/Thread.cppdocs/dev/debt/libkernel.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cppcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libc/src/GuestArena.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libkernel/CMakeLists.txtcore/libs/prx/libkernel/File/src/Open.cppcore/libs/prx/libkernel/File/src/Stdio.cppdocs/dev/debt/libkernel.mdCMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cppcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppdocs/dev/ENVIRONMENT.mddocs/dev/debt/libSceAgcDriver.mddocs/user/USAGE.mdCMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cppcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Resources.cppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ProgramMetadata.hppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppdocs/dev/ENVIRONMENT.mddocs/dev/debt/libSceAgcDriver.mddocs/user/USAGE.mdcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/tests/BdaResources.cppcore/libs/prx/libc/include/GuestAllocations.hppdocs/dev/ENVIRONMENT.mdcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceVideoOut/tests/Flip.cppcore/libs/prx/libkernel/CMakeLists.txtcore/libs/prx/libkernel/File/src/Stdio.cppcore/libs/prx/libkernel/Module/src/Module.cppcore/libs/prx/libkernel/Socket/src/Udp.cppcore/libs/tests/GuestDynamicLoader.cppcore/libs/tests/GuestKernelFcntl.cppcore/relinker/CMakeLists.txtcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libkernel.mddocs/dev/debt/relinker.mddocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/tests/execution/MultisampleRetirement.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppdocs/dev/debt/libkernel.mdcore/libs/prx/libc/CMakeLists.txtcore/libs/prx/libc/src/FileAndHeap.cppcore/libs/tests/GuestFiopen.cppdocs/dev/debt/libc.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mdcore/libs/prx/libkernel/DirectMemory/DirectMemory.cppcore/libs/prx/libkernel/DirectMemory/Export.cppcore/libs/tests/GuestMemory.cppdocs/dev/debt/libkernel.mdcore/libs/prx/libkernel/DirectMemory/DirectMemory.cppcore/libs/prx/libkernel/Pthread/include/Pthread.hppcore/libs/prx/libkernel/Pthread/src/Thread.cppcore/libs/tests/GuestPthreadStack.cppdocs/dev/debt/libkernel.mdcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mdCMakeLists.txtcore/libs/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Diagnostics.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Diagnostics.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cppcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Execution/src/ThreadPriority.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cppcore/libs/prx/libSceAgcDriver/tests/BdaResources.cppcore/libs/prx/libSceAgcDriver/tests/HostImportSparseDmaBuf.cppcore/libs/prx/libSceAgcDriver/tests/SharedWrites.cppcore/libs/prx/libSceAgcDriver/tests/WriteTracking.cppcore/libs/prx/libSceAgcDriver/tests/execution/SparseDmaBufImport.cppcore/libs/prx/libSceAudioIn/CMakeLists.txtcore/libs/prx/libSceLibcInternal/PathStatistics.cppcore/libs/prx/libSceNet/Export.cppcore/libs/prx/libScePosixForWebKit/Resolver.cppcore/libs/prx/libSceVideoOut/src/DisplayWindow.cppcore/libs/prx/libSceVideoOut/src/VideoOutDriver.cppcore/libs/prx/libc/CMakeLists.txtcore/libs/prx/libc/include/FileStream.hppcore/libs/prx/libc/include/exceptions/Unwind.hppcore/libs/prx/libc/include/general/ExportMacros.hppcore/libs/prx/libc/include/specifics/linux/ElfTypes.hppcore/libs/prx/libc/src/ApplicationProcessParameters.cppcore/libs/prx/libc/src/CxxAbiSupport.cppcore/libs/prx/libc/src/FileAndHeap.cppcore/libs/prx/libc/src/General.cppcore/libs/prx/libc/src/GuestAllocations.cppcore/libs/prx/libc/src/GuestArena.cppcore/libs/prx/libc/src/Math.cppcore/libs/prx/libc/src/Rename.cppcore/libs/prx/libc/src/RuntimeSupport.cppcore/libs/prx/libc/src/StandardStreams.cppcore/libs/prx/libc/src/Strings.cppcore/libs/prx/libc/src/Time.cppcore/libs/prx/libc/src/exception/Unwind.cppcore/libs/prx/libc/src/specifics/gcc/StackGuard.cppcore/libs/prx/libc/src/specifics/macos/GuestImages.cppcore/libs/prx/libkernel/CMakeLists.txtcore/libs/prx/libkernel/DirectMemory/DirectMemory.cppcore/libs/prx/libkernel/DirectMemory/Export.cppcore/libs/prx/libkernel/DirectMemory/Jit.cppcore/libs/prx/libkernel/File/src/DirectoryDescriptor.cppcore/libs/prx/libkernel/File/src/NativeStat.cppcore/libs/prx/libkernel/File/src/Open.cppcore/libs/prx/libkernel/File/src/SharedMemory.cppcore/libs/prx/libkernel/File/src/Stdio.cppcore/libs/prx/libkernel/Module/src/DynamicLoader.cppcore/libs/prx/libkernel/Module/src/Module.cppcore/libs/prx/libkernel/Module/src/ModuleInfo.cppcore/libs/prx/libkernel/Pthread/src/Thread.cppcore/libs/prx/libkernel/Socket/src/SocketOptions.cppcore/libs/prx/libkernel/Socket/src/Udp.cppcore/libs/prx/libkernel/System/src/Exception.cppcore/libs/prx/libkernel/System/src/Process.cppcore/libs/prx/libkernel/System/src/Rtld.cppcore/libs/prx/libkernel/Time/Time.cppcore/libs/prx/libkernel/Time/TimedWait.cppcore/libs/tests/ApplicationHeap.cppcore/libs/tests/ExceptionRuntime.cppcore/libs/tests/Formatting.cppcore/libs/tests/GuestFiopen.cppcore/libs/tests/GuestGenericCategory.cppcore/libs/tests/GuestKernelStackProtect.cppcore/libs/tests/GuestPathCase.cppcore/libs/tests/GuestPthreadStack.cppcore/libs/tests/GuestRaiseException.cppcore/libs/tests/LogMacros.cppcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ProgramMetadata.hppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvLoopContinue.hppcore/shader/recompiler/SpirvBackend/src/RectListShaders.cppcore/shader/recompiler/SpirvBackend/src/SpirvLoopContinue.cppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/tests/BdaResources.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cppcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/tests/WriteTracking.cppcore/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cppdocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cppdocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppdocs/dev/ENVIRONMENT.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceVideoOut/src/VideoOutDriver.cppcore/libs/prx/libkernel/CMakeLists.txtcore/libs/prx/libkernel/Time/Time.cppcore/libs/prx/libkernel/Time/TimedWait.cppdocs/dev/ENVIRONMENT.mddocs/dev/debt/libkernel.mdcore/libs/tests/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libc/src/GuestArena.cppcore/libs/tests/GuestMemory.cppdocs/dev/debt/libc.mdcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppdocs/dev/ENVIRONMENT.mddocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/tests/WriteTracking.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libkernel.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/tests/WriteTracking.cppdocs/dev/ENVIRONMENT.mddocs/dev/debt/libSceAgcDriver.mdCMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Lifecycle.cppcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Resources.cppcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/Recorder.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ProgramMetadata.hppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cppcore/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cppdocs/dev/ENVIRONMENT.mddocs/dev/debt/libSceAgcDriver.mddocs/user/USAGE.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppdocs/dev/debt/shader.mdcore/libs/prx/libc/CMakeLists.txtdocs/dev/debt/libc.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/tests/execution/SampledCacheBudget.cppdocs/dev/debt/libSceAgcDriver.mddocs/user/USAGE.mdcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppdocs/dev/ENVIRONMENT.mddocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Graphics/include/State.hppcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libkernel.mddocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppcore/libs/prx/libSceAgcDriver/tests/WriteTracking.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/ShaderMemory.cppcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CacheKey.hppcore/shader/recompiler/ControlFlow/src/RequestSerializer.cppcore/shader/recompiler/Recompiler.cppcore/shader/recompiler/Recompiler.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hppcore/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hppcore/shader/recompiler/SpirvBackend/src/SpirvEmitter.cppcore/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvSubgroup.cppcore/shader/recompiler/tests/RequestSerializerTests.cppdocs/dev/ENVIRONMENT.mddocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/relinker.mdcore/libs/prx/libSceAgcDriver/Graphics/src/State.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtdocs/dev/ENVIRONMENT.mdCMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtdocs/dev/ENVIRONMENT.mdcore/libs/prx/libSceNet/Export.cppcore/libs/tests/GuestSceNet.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Diagnostics.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Diagnostics.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cppdocs/dev/ENVIRONMENT.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/shader.mdcore/libs/prx/libSceAgcDriver/tests/Recorder.cppImported 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/macosguest 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 currentmain. I have a verified rebase of #7201's head onblawesom:rebase/7201if 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.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.
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
690c044a6merged into currentmain(a62c724c3, no conflicts), full build with-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON, x86-64 picked by the build: no errors.ctest -j4, no Vulkan loader on the pathprecise_waitctest -j1 --timeout 30 -R '^agc'withoutagc_display_buffer_dcc,agc_driver_flipandagc_driver_lds_atomics64,DYLD_LIBRARY_PATHandVK_DRIVER_FILESon the SDK's MoltenVKprecise_waitfails here every time, not only under load. Run alone it fails 10 times out of 10 (4 out of 5 throughctest):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,nanosleepof 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_untilgives 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:
0x8000or0x80000000, 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_f16is0x2e660000, expected0x2e668000)f32_constant_factor_tininess: a product below 2^-126 that rounds to it gives0x00000000, expected0x00800000vertex_clip_cull_distances,vertex_clip_cull_draw,vertex_clip_cull_draw_no_key(abort) andvertex_user_data_tail:vertex clip or cull distance needs shaderClipDistance or shaderCullDistance, which the device lackstessellation: 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_groupon a field of the argument bufferrect_list_indirect: byte 64 of the indirect draw is 64, the direct draw wrote 255image_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_2failed 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 didagc_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.
Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-10-18T15:39:32Z.
Two titles on the build from my previous comment (
690c044a6merged intoa62c724c3, Apple M4 Pro, macOS 27.0.1, MoltenVK 1.4.2), launched withtools/macos/run.sh.Planet of Lana (PPSA19450, 01.010.000), Unity IL2CPP with FMOD in
Media/Plugins.Setup.
tools/macos/setup-game.shstops at the first file withnot a SELF container:unself.pyaccepts only the0x1D3D154Fmagic, and this dump'seboot.binand every.prxstart with0xEEF51454.tools/unwrap_self.pyaccepts 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'ssce_module/libc.prxbelow.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=1oneboot(set directly, since/bin/shdropsDYLD_*whenrun.shstarts):libfmod.prx.guest.prxexports_5o-pWj4G91E#guest(dyld_info -exports), andlibfmodstudio.prx.guest.prxloads@loader_path/libfmod.prx.guest.prx. ButMacOsImage.cppbinds every import withBIND_SPECIAL_DYLIB_FLAT_LOOKUP, anddlopen_nid_postfixopens a module withRTLD_LOCALunless 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 reachesdlerror, the title opens no FMOD bank and waits. Both parts are onmainas 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=1is the local change above):APS5_NO_WRITE_WATCH=1APS5_NO_DRAW_KEY=1APS5_NO_DRAW_RESOURCE_CACHE=1 APS5_NO_RESOURCE_CACHE=1 APS5_NO_CACHED_PRECOLLECT=1MVK_CONFIG_SYNCHRONOUS_QUEUE_SUBMITS=1So 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.shandprofile_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 ofAPS5_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.
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.shworks as is for this dump, whose files use the0x1D3D154FSELF magic.global-metadata.datopens. It is the IL2CPP → titlefree→ titleabortchain that #6842 fixes. #6842 merges into this branch without conflicts, and its tests and the title check pass on macOS (details on #6842).level0andlevel1on the samelibfmodstudio.prx.guest.prxload 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.RTLD_GLOBALcheck, 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.pyover 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.Not checked: what causes the background corruption.
AI-assisted: yes (Claude Code). I ran all of the above on my machine.
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
690c044a6merged into currentmain(d3d8d79c5) with no conflicts. FullReleasebuild withBUILD_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 wereprecise_wait,guest_socket_read_writeandguest_refused_connect. Run alone 10 times each:precise_waitguest_socket_read_writeguest_refused_connectguest_refused_connectis a host difference, not load. With aRequirethat prints its line, the failure is in the first "connects once the backlog drains" case:connectreturns -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 beforeaccept: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.cpponly handles the Windows side of this (RST on a full backlog, then SYN retransmission). On macOS the guest getsECONNRESETwhere the console would wait. A loopback retry onECONNRESETwhile 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.
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
mainagain:dlopennow always usesRTLD_GLOBAL, because relinked modules bind imports by flat lookup and dyld leavesRTLD_LOCALimages out of it. The guest's own scope is unchanged:dlsymwith the default handle still skips a module the guest opened withoutRTLD_GLOBAL, andguest_dynamic_loadernow checks that on every host. What is left of the difference is in the libkernel debt file.precise_wait(@imellag): yournanosleep/mach_wait_untilnumbers 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.shand the0xEEF51454SELF magic: the script now usestools/unwrap_self.py, and the duplicateunself.pyis 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 secondconnectafter 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.TASK_VM_INFO;0xfe0000000cannot be mapped under Rosetta, which reserves0xfc0000000–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.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.
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
df24fc821merged intomain(376c04029),Release, no Vulkan loader on the path.precise_wait: yes, the M4 Pro agrees. 10/10 run directly and 10/10 throughctest(on690c044a6it 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
nanosleepoversleeps 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 guestpollwith 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_loaderlines pass without the filter. The fixture is a.dylibandFromGuestModulerejects anything not ending in.prx, so the default-scope lookup is null either way. With a.prxcopy, as the test already does forhostLoaded, it fails without theDefaultScopeSymbolcheck and passes with it:0xfc0000000is 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.
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_waitbeyond 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_waitnow 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.prxcopy, as you proposed, so they fail without theDefaultScopeSymbolcheck.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
ECONNRESETanalysis ofguest_refused_connectis 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
df24fc821and690c044a6, the heads you tested, are no longer on it; the same changes are there under new hashes. Froma231179acon,maincomes in by merge, so the hashes you cite from now on stay valid.mainup tod71853cf2is 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 for57bccfbfcare in the description.Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-19T01:51:40Z.
Review: COMMENTED
Rechecked
57bccfbfcon the M2 Max (32 GB, macOS 27.2), x86-64 build under Rosetta 2. I built the head as it is, onmain773243436, because it no longer merges cleanly with currentmain(b5be95ff0).ReleasewithBUILD_TESTING=ONbuilt 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 on690c044a6.precise_waitpassed in the suite, then 9/10 and 20/20 run alone. On690c044a6it passed 6/10 alone.guest_socket_read_writepassed in the suite, and 9/10 run alone.savedata_memory_growth_read_failurefailed once in the suite. It then passed 10/10 alone and 5/5 with the othersavedatatests at-j8.guest_refused_connectstill 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.
connecton that socket always fails withEISCONN: 46 of 46 resets, on arm64 and under Rosetta. On that socket,getpeernamethen fails withEINVALandsendfails withEPIPE. So the retry needs a new socket.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_KEEPALIVEandFD_CLOEXECstayed the same.SO_SNDBUFread 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_postfixandsceNetConnect. It only runs on macOS, for a blocking stream socket to a loopback address that getsECONNRESET, 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_connectalone57bccfbfcconnect_nid_postfixonlyWith 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)
Not handled or not checked:
connectgets the new socket unbound. Rebinding would need the guest's address, since the reset socket is not a reliable source for it.keventregistrations on the old file are lost withdup2.SO_ERROR.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.
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 theshutdown_nid_postfixhunk of57bccfbfcapplied on top.Without the hunk,
guest_socket_pair_testsaborts atshutdown(pair[1], SHUT_RD)after the peer'sSHUT_WR: XNU'ssoshutdownlock_finalreturnsENOTCONNfor a direction that is already shut down (also when the peer's shutdown shut it), and forSHUT_RDWRitgoto dones before shutting the write side. FreeBSD'ssoshutdown/uipc_shutdownonly returnENOTCONNwhen the socket is not connected. With the hunk the test passes, andSHUT_RDWRafter the peer'sSHUT_WRnow makes a latersendfail withEPIPEas on FreeBSD.Three cases where the hunk still differs from FreeBSD (guest calls through
shutdown_nid_postfixin the same build):shutdown(SHUT_RD)ENOTCONNEINVAL:getpeernamefails withEINVALandNativeError()reads its errnoshutdown(SHUT_WR)twiceENOTCONN(how == 1is excluded)shutdown(SHUT_RDWR)twiceEINVAL(XNUgetpeernamereturnsEINVALafter the socket's ownSHUT_RDWR)Saving the errno before
getpeernamefixes the first case. Droppinghow == 1and ignoringENOTCONNfrom theSHUT_WRretry fixes the second; the third would need a connectedness check other thangetpeername. A test for theSHUT_RDWRpath that fails without the hunk on macOS and passes with it (I did not run it on Linux):Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-19T03:44:03Z.
Review: COMMENTED
Rechecked
bce2f857con the M2 Max (32 GB, macOS 27.2), x86-64 build under Rosetta 2, head as it is (main324e0e48emerged in).ReleasewithBUILD_TESTING=ONbuilt 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 on57bccfbfc. The one failure isguest_socket_read_write(line 154, errno 35), 9/10 run alone, the same as on57bccfbfc.guest_refused_connectwithab7999762. The host still resets: the C program from my last review gotECONNRESETin 6 of 20 connects today (arm64).guest_refused_connectrun alonebce2f857cbce2f857cwithab7999762reverted57bccfbfc(last review)The socket, net, kqueue, tcp, udp, poll and select tests (45) all pass on the head. The three
shutdowncases 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.
Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-19T05:42:58Z.
Review: COMMENTED
Rechecked
70055abe0on the M2 Max (32 GB, macOS 27.2), x86-64 build under Rosetta 2, head as it is (main676d42396merged in).ReleasewithBUILD_TESTING=ON,/usr/bin/python3(3.9), built with no errors. No GPU tests.-E "^agc",-j4): 782/783. The one failure wasguest_kernel_app_archive_plain(abort), once; it passed 40/40 run alone and 40/40 in a-j8loop with the other app archive and fopen tests, so I can't reproduce it. The 21 newvideo_outflip/HDR tests skip themselves (no Vulkan device), as expected here.5e4bbf169(shutdown): the three sequences from my earlier review now match FreeBSD. With only theUdp.cpphunk reverted,guest_socket_pairaborts; with it, 20/20.e1d28046e(#7706, branch into a trapped GS instruction): with only theMacOsImage.cpphunk reverted,macos_gs_trapsfails onbranch-into-gs(the relinker converts it); with it, 20/20.guest_refused_connect20/20 alone.guest_socket_read_writeis still the one loose test (18/20 alone,EAGAINas before), unchanged by this push.Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-19T06:17:03Z.
Review: COMMENTED
Root cause of the intermittent
guest_socket_read_writefailure 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 main676d42396.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:line 154, errno 54: the first failing write returns ECONNRESET, not EPIPE.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:
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:
Results with the fix:
ctest --repeat until-fail:100, and 0/320 with 8 copies running in parallel.-E ^agc,-j6/-j8), 10 runs: 783/783 in 9 of them. The other run had one unrelated failure:hardware_oracle_comparehit 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.
Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-10-19T07:51:18Z.
Planet of Lana (PPSA19450, 01.010.000) on
70055abe0as it is: Apple M4 Pro (24 GB), macOS 27.0.1, MoltenVK 1.4.2 from Vulkan SDK 1.4.363.0, x86-64Releaseunder Rosetta 2. Set up withtools/macos/setup-game.sh, numbers fromrun-profile.shandprofile_summary.pyover 10 s windows, menu frames checked withAPS5_DUMP_FRAMES(every 30th present).The menu corruption from my earlier comment is gone. FMOD Studio now loads without my
RTLD_GLOBALchange, 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 with54b4af7f0reverted, with the default-scopedlsymfilter 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 (690c044a6merged intoa62c724c3) and this head.e9fe235a3costs 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 thedevicephase ofstoreBufferFill, while the[fill]line counts only 4 fills stored on the GPU. So nearly every fill takes the macOSmetadataOnCpupath: about 750 KiB of HTILE written throughGuestMemory::Writein 1 KiB chunks, about 750 calls per fill. Two local builds ofBufferFill.cpp(diffs below):70055abe0metadataOnCpuwriting 1 MiB chunks, as the CPU fallback below it doesmetadataOnCpuoff, fills recorded on the GPU as on the other hostsGameplay, played by hand from the same start with basic movement, compared over windows with the same load (about 920 to 950 draws per frame):
70055abe0With 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 waite9fe235a3removes, 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
e9fe235a3was 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
Switch used for the fills on the GPU (local experiment, not a proposal)
Not checked: other titles,
tools/trace_digest.pysummaries, 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.
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 on54845a456as it is: Apple M4 Pro (24 GB), macOS 27.0.1, MoltenVK 1.4.2 from Vulkan SDK 1.4.363.0, x86-64Releaseunder Rosetta 2, Planet of Lana (PPSA19450) menu,run-profile.shandprofile_summary.pyover 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:That is SPIRV-Cross's translation of
NoContraction, whichEmitFPAdd32,EmitFPSub32andEmitFPMul32put on every guest f32 add, subtract and multiply. The largest fragment shaders call the helpers about 340 to 610 times, andoptnonekeeps each call a real function call.spvFMul's+0addend is also what turns a -0 product into +0 (SPIRV-Cross #2704).Emitting the same
fmainline. The patch below emitsFma(a, b, -0.0),Fma(1.0, a, b)andFma(-1.0, b, a)without the decoration, behind two switches for comparing on one build. Each rounds once, as the helpers do, with-0as the multiply's addend. Shaders keepSignedZeroInfNanPreserve, which MoltenVK's default on-demand mode takes as a reason to compile without fast math, and no exactness test below regressed.ANYPS5_NO_SHADER_CACHE=154845a456Gameplay, played by hand from the same start with basic movement, compared over windows with the same load:
54845a456, about 1,050 to 1,100 draws per frame54845a456, about 650 to 900 draws per frameGPU 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
70055abe0with the fills on the GPU). The fps gain depends on how GPU-bound a title is: on70055abe0as 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' -j4on 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_roundingandagc_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_keyandvertex_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
SpirvTargetflag set for MoltenVK, the waydepthRangeRemapis set, than environment switches, so other drivers keepNoContraction, and add a recompiler test for it. A run of other titles and of the GPU suite on other Macs, with and withoutAPS5_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 withANYPS5_NO_SHADER_CACHE=1.Patch I tested (on top of 54845a456)
Not checked: other titles; Metal pipeline compile times; the GPU suite with the Vulkan validation layer;
tools/trace_digest.pysummaries; KosmicKrisp; Linux and Windows, where the switches are off.AI-assisted: yes (Claude Code). I ran all of the above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by MayankManas on 2026-10-20T07:01:01Z.
Heads-up: #8249 takes the two
shaderFloat64skips from this PR (F64AddMulDenormalModes.cpp,F64RoundingDenormalModes.cpp) on their own, because both tests fail onmainon Windows with an Intel UHD Graphics 770, which has noshaderFloat64. 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.
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, inSpirvModuleEmitter.cpp:259.EmitInputComponentU32(state, StageInputKind::FragCoord, 3u)creates an unsigned-integer Input pointer into floatgl_FragCoord. Validation reportsVUID-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:
agc_driver_pixel_barycentric_emulationfixture: pixel checks pass in both runs; validation errors decrease from 1 to 0.ANYPS5_REQUIRE_VULKAN=1andANYPS5_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
8cd5954d2and5f98a5637. 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
Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-10-20T10:38:14Z.
@ycarogabriel-lgtm, a follow-up to
a243f0c93(theFmaform underfusedExactArithmetic): two emitters still decorate f32 operationsNoContraction, 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 remainingspvFMul,spvFSubandspvFAddcalls come from:SpirvAluEmitterMath.cpp(Log2SeriesNearOne,EmitFPLog2,SinTurnSeries,CosTurnSeries,EmitFPSin,EmitFPCos): 846OpFMuland 442OpFSubin 132 shaders;FoldedOffsetCoordinSpirvImageEmitter.cpp(the coordinate plus a folded texel offset): 240 vectorOpFAddin 6 shaders.texelFloorin the same file has one moreOpFMul.Change. The same rule as
EmitFPMul32andEmitFPSub32: underfusedExactArithmetic,a * bbecomesfma(a, b, -0.0),a - bbecomesfma(-1.0, b, a), and the offset coordinate becomesfma(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, theFmasteps 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
Releaseunder 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 at7cf8c610cplus #6617, #7340 and two local committer changes, withAPS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1(the CPU side of the frame, not touched by this change):spvFMul/spvFSub/spvFAddcalls in the 570 shadersctest -R '^(agc|shader)'on MoltenVK gives the same failures with and without it: the 12 from my earlier comments, plusagc_driver_address_passesandagc_driver_address_passes_targets_split, which abort at exit because of #6617's reaper and pass withAPS5_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_oneandagc_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.cppand the f64 emitter still useNoContraction; Lana's shaders do not reach them, so I left them out.The change (against
7cf8c610c)AI-assisted: yes (Claude Code). I ran all of the above on my machine.
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:
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.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 inDepends oninstead of merging the other branch in.fmafor exact f32 add/sub/mul (SpirvTargetflag) which must be shown bit-exact against hardware, including NaN/denormal rows. imellag also reports that the f32 sin/cos/log2 series still useNoContraction(SpirvAluEmitterMath.cpp:24).SpirvModuleEmitter.cpp:259:EmitInputComponentU32(state, StageInputKind::FragCoord, 3u)makes a uint pointer into the floatFragCoordbuiltin (VUID-VkShaderModuleCreateInfo-pCode-08737, reported by @Alexius0815). UseEmitBuiltinU32as suggested there.Welcome to push the split PRs; happy to review them.
Imported from boykopovar/AnyPS5. Originally posted by imellag on 2026-10-20T11:40:17Z.
@adriadam10 thanks for the review. I can carry the inline
fmaas its own PR on currentmain: theSpirvTargetflag set for MoltenVK (a243f0c93) together with the sin/cos/log2 series andFoldedOffsetCoord/texelFloorfollow-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:
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_f32andv_sub_f32with ±0, ±denormal, ±inf and NaN rows (quiet and signalling, with payloads), I'll pin those rows intests/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