Commit Graph
8546 Commits
Author SHA1 Message Date
MarcZX10 c1fa1e58d3 docs(dev): describe the nightly sanitizer workflow
Document in BUILD.md, next to -DANYPS5_ENABLE_ASAN, what the Sanitizers workflow builds and runs, where the known failures are listed and what the job summary reports, and how to repeat a run locally: end ASAN_OPTIONS with ':' because tests append their own options, and set UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1 so undefined behavior fails the test.
2026-10-27 06:35:01 +00:00
milescovielloandClaude Opus 5.5 448275eff5 docs(libSceAudioOut): list sceAudioOut2ContextSetAttributes as a silent stub
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 06:34:57 +00:00
Dean Galvin 623f4a4ce9 merge: main into salvage/jsc-9438 2026-10-27 19:32:15 +13:00
Dean Galvin 357c9483b2 merge: main into salvage/freetypeol-9453 2026-10-27 19:32:15 +13:00
milescovielloandClaude Opus 5.5 603a540fa7 docs(libSceAudioOut): scope the port state reads to the inspected instructions
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 06:29:16 +00:00
milescovielloandClaude Opus 5.5 63c5b74806 docs(libSceNpGameIntent): note the info size and intent data offset six titles use
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 06:28:09 +00:00
Emanuele 03f7c1134f fix(shader): keep the position read of barycentric built-ins on MoltenVK
The I/J reads take the BaryCoordSmooth input, but gl_FragCoord was declared
only for the offset kinds, so its w was read as the constant 0 and the
fragment function never read [[position]]; Apple GPUs then return the
weights unnormalized. Declare it with the built-in, and select on
gl_FragCoord.w > 0, which a compiler cannot fold as it can
min(b, b + |w|).
2026-10-27 07:25:48 +01:00
Emanueleandyripper a95ced504c feat(recompiler): read I/J from barycentric built-ins on MoltenVK
MoltenVK exposes VK_KHR_fragment_shader_barycentric but its MSL step
rejects PerVertexKHR, so the extension is disabled there and a pixel
shader whose I/J VGPRs outlive their v_interp_p1/p2 pairs takes the
generated barycentric stages, which accept only triangle lists without
primitive restart on a device without geometry shaders.

A new target flag, fragmentBarycentricBuiltins, enables the extension
for its built-ins only. The host interpolation check then keeps the
leftover I/J reads (all perspective or all linear, at the fragment's
default position) and reads them from BaryCoordKHR or
BaryCoordNoPerspKHR, while the interpolated attributes stay hardware
varyings. Raw vertex parameters and I/J at an offset or a sample
position still take the generated stages. Apple GPUs return
unnormalized perspective weights unless the fragment function reads
[[position]], so each perspective read keeps a neutral use of
gl_FragCoord.w, loaded as a float. Devices with the full extension are
unaffected; the request serialization moves to version 45.

Co-authored-by: yripper <[email protected]>
2026-10-27 07:25:48 +01:00
milescovielloandClaude Opus 5.5 8f2f7b8971 docs(libSceAudioOut): note which port state fields five titles read
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 06:25:19 +00:00
milescovielloandClaude Opus 5.5 d97cdbbb7f docs(libkernel): note the sceKernelVirtualQuery fields seven titles read
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 06:22:00 +00:00
xXPBSXxandClaude Sonnet 5.5 b265a0d8c1 fix(libc): compute asinh with FreeBSD msun's algorithm
asinh_nid_postfix called the host libm's asinh. It now follows the branches and
thresholds of FreeBSD msun's s_asinh.c (release/11.4.0): below 2^-28 it returns x,
up to |x| = 2 it uses log1p, up to 2^28 log(2|x| + 1/(sqrt(x*x+1)+|x|)) and above
that log(|x|) + ln2. Up to |x| = 2 the results are bit-identical to msun; above 2
they depend on the host log this file still uses.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-27 07:10:31 +01:00
iAbdulrrahman 9f77f256a9 feat(libc): implement 64-bit atomic fetch helpers 2026-10-27 09:05:24 +03:00
orezraeyandClaude Opus 5.5 8820aa309f Merge main into docs/libkernel-module-process-info-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 02:49:54 -03:00
Dean a453b29ebe Merge pull request #11434 from LeandroLP23/test/shader-cache-smb-posix-rename
test(shader): skip open-entry cache replacements where SMB has no POSIX rename
2026-10-27 18:38:46 +13:00
orezraeyandClaude Opus 5.5 6aeb8d6c3e Merge main into fix/agc-partial-fast-clear-eliminate
Keep #9694's coverage check for targets without CMASK or DCC keys and skip it only for a fast-clear eliminate over a CMASK target without DCC keys.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 02:37:09 -03:00
Dean a8bc4474c4 Merge pull request #11090 from roboterspinne/fix/relinker-windows-gs-trap-entry-roots
fix(relinker): refuse GS traps that overwrite a code entry point in Windows output
2026-10-27 18:32:02 +13:00
Dean 07a9a43cfe Merge pull request #11059 from MarcZX10/marc/fix-libc-fp-contract
fix(libc): build libc without floating-point contraction
2026-10-27 18:30:44 +13:00
Dean 6988f67406 Merge pull request #10996 from SandstromPL/fix/progress-exported-nid-no-patch
fix(tools): count functions exported with APS5_EXPORT under a _nid_no_patch name
2026-10-27 18:29:57 +13:00
Dean 8398527558 Merge pull request #10426 from rooklz/feat/cescs-jisx0213
feat(libSceCesCs): add the EUC-JIS-2004 and Shift_JIS-2004 profiles
2026-10-27 18:23:28 +13:00
Dean a1f75ecf9b Merge pull request #9874 from akkadbakkad89/feat/prx-declare-np-exports
feat(prx): declare exports for 3 inventory-covered NP libraries
2026-10-27 18:22:12 +13:00
Dean 1a13c2969f Merge pull request #9833 from MarcZX10/codex/libc-strtod-decimal-subnormal-erange
fix(libc): set ERANGE for decimal strtod subnormals
2026-10-27 18:21:37 +13:00
Dean 940c298d51 Merge pull request #9698 from mazen320/feat/libc-num-put-vtable-size
fix(libc): size the num_put facet vtable to 112 bytes
2026-10-27 18:20:54 +13:00
Dean 8aa1f9ef7f Merge pull request #9344 from MarcZX10/codex/macos-backtrace-support
feat(libc): restore macOS guest backtraces
2026-10-27 18:20:03 +13:00
Dean 27310a12eb Merge pull request #9282 from MarcZX10/codex/npmanager-waitasync-unimplemented
feat(libSceNpManager): add explicit sceNpWaitAsync stub
2026-10-27 18:19:42 +13:00
Dean 5023cd5a25 Merge pull request #9263 from imellag/fix/libkernel-macos-guest-unwind-info
fix(libkernel): report unwind information for guest and host addresses on macOS
2026-10-27 18:19:28 +13:00
Adrià d093ea9ced Merge pull request #10767 from Ragbie/fix/recvmsg-after-shut-rd
fix(libkernel): drop the data a socket held before shutdown(SHUT_RD) in every receive path
2026-10-27 06:14:18 +01:00
Yunus Shaikh 8f007d234a feat(libkernel_sys): implement sigreturn
sigreturn applies FreeBSD 11's amd64 sys_sigreturn checks:
- EFAULT for a null context;
- EINVAL for unknown mc_flags, and for rflags bits outside
  PSL_USERCHANGE that differ from the current flags;
- set_fpcontext's FPU format and ownership cases.
It then restores the context through the path setcontext uses, which
now lives in RestoreContext. A non-user %cs and an extended FPU state
still throw.
2026-10-27 06:14:13 +01:00
Yunus Shaikh 51849e7e41 feat(libkernel_sys): implement sched_setscheduler for the calling thread
FreeBSD 11's sys_sched_setscheduler checks: a null parameter is EFAULT,
another process is ESRCH and an unknown policy is EINVAL. Pid 0 sets the
calling thread through scePthreadSetschedparam. Values that call
rejects, and the guest's own pid, whose first thread is not tracked,
still throw.
2026-10-27 06:14:13 +01:00
Adrià e3a2b3846d Merge pull request #10741 from camezaro-intc/feat/libkernel-sys-cpuset
feat(libkernel_sys): implement cpuset, cpuset_getid and cpuset_setid
2026-10-27 06:13:49 +01:00
milescovielloandClaude Opus 5.5 369011996c docs(libSceAvPlayer): note that six titles pass all four allocator callbacks
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 05:12:31 +00:00
Adrià 4297464b12 Merge pull request #9402 from janzezno/perf/incremental-import-refresh
perf(agc): re-check only the host imports a registry change can reach
2026-10-27 06:10:48 +01:00
Adrià 35feb94580 Merge pull request #10801 from EagleBearerYS/feat/systemservice-running-app-identity
feat(libSceSystemService): answer the rest of the running title's identity
2026-10-27 06:07:36 +01:00
akkadbakkad89andDevin 5e1b8849d2 fix(libScePsml): answer console-measured MFSR enable flags and Context1300 size check
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-27 10:32:53 +05:30
Adrià ddd72f488b Merge pull request #10628 from maximilianfv/fix/libscenet-macos-datagram-fionread
fix(libSceNet): count only datagram bytes in sceNetIoctl FIONREAD on macOS
2026-10-27 05:38:46 +01:00
xXPBSXxandClaude Sonnet 5.5 ad95db1032 docs(agc): note the 0x1aa01 DB_ALPHA_TO_MASK stop of PPSA12361
PPSA12361 reaches DB_ALPHA_TO_MASK 0x1aa01 on main 74acfad65b on an RTX 4080 SUPER and an RX 6400. It is the accepted 0xaa01 with bit 16 also set, and radeonsi never programs that combination. Its semantics are not measured, so the path keeps throwing; the entry records it.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-27 05:24:30 +01:00
Felipebmaitan e44cc5d463 chore: merge current main for AIO review fixes 2026-10-27 01:23:42 -03:00
milescovielloandClaude Opus 5.5 bcb3df7352 docs(agc): note how seven titles call sceAgcDebugRaiseException
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 04:22:34 +00:00
milescovielloandClaude Opus 5.5 8c8a695e64 docs(libSceHttp): note how two titles call sceHttpParseResponseHeader
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 04:21:59 +00:00
Yunus Shaikh b4d2f7a7f9 docs(debt): record the open IME keyboard questions 2026-10-27 05:20:10 +01:00
orezraeyandClaude Opus 5.5 8f16195370 Merge main into docs/libkernel-sync-timeouts-eventflag-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 01:08:10 -03:00
milescovielloandClaude Opus 5.5 db9877a539 docs(libSceSaveData.native): add sceSaveDataCommit to the silent stub entry and its call sites
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 04:00:51 +00:00
Adrià b986c11a34 Merge pull request #10543 from maximilianfv/fix/libkernel-macos-append-positioned-writes
fix(libkernel): append positioned writes on an O_APPEND descriptor on macOS
2026-10-27 04:52:27 +01:00
Adrià 742f41d381 Merge pull request #10131 from orezraey/fix/librtc-rfc3339-precise-measured-ps5
fix(libSceRtc): range-check the precise RFC 3339 formatters as measured on a PS5
2026-10-27 04:52:15 +01:00
Adrià cd9e3f0982 Merge pull request #10519 from shurhundo/fix/check-compile-response-files
fix(check-compile): expand response files before syntax checks
2026-10-27 04:52:09 +01:00
Adrià 4c486ca322 Merge pull request #10515 from JJenkx/fix/agc-two-sample-dithered-a2c
fix(agc): emulate two-sample DB_ALPHA_TO_MASK 0xe701 dithered alpha-to-coverage
2026-10-27 04:52:02 +01:00
Adrià 60bb466419 Merge pull request #10505 from maximilianfv/fix/libkernel-macos-itimer-terminate
fix(libkernel): reach the guest terminate handler from an ITIMER_REAL expiry on macOS
2026-10-27 04:51:54 +01:00
Adrià f80ce6cec1 Merge pull request #11169 from xXPBSXx/docs/debt-agc-cbmemsetexclusive-title
docs(debt): note the call sites of sceAgcCbMemsetExclusive in six titles
2026-10-27 04:51:45 +01:00
Adrià 71a20013cd Merge pull request #11164 from orezraey/docs/libc-hardware-concurrency-measured-ps5
docs(libc): record std::thread::hardware_concurrency as measured on a PS5
2026-10-27 04:51:40 +01:00
Adrià 9a32d83b65 Merge pull request #11155 from xXPBSXx/docs/debt-net-ntoamultiplerecords-title
docs(debt): note how titles call sceNetResolverStartNtoaMultipleRecords
2026-10-27 04:51:35 +01:00
Adrià a71c28c352 Merge pull request #11123 from orezraey/docs/libscesystemservice-bgm-measured-ps5
docs(libSceSystemService): record sceSystemServiceIsBgmPlaying as measured on a PS5
2026-10-27 04:51:29 +01:00