Commit Graph
20967 Commits
Author SHA1 Message Date
Adrià 61924d4637 Merge pull request #11643 from al3w0f205/test/ces-wide-null-profile-coverage
test(libSceCesCs): cover null source and profile checks in utf16 and utf32 sbc conversions
2026-10-28 03:35:28 +01:00
Adrià b5873b4ce4 Merge pull request #11594 from milescoviello/test/read-tsc
test(libkernel): cover sceKernelReadTsc's rate against sceKernelGetTscFrequency
2026-10-28 03:35:23 +01:00
Adrià 3da9cba895 Merge pull request #11642 from al3w0f205/test/ces-unicode-zero-length-coverage
test(libSceCesCs): cover null source buffer in utf16 and utf32le conversions
2026-10-28 03:34:19 +01:00
Adrià 3850cc86f5 Merge pull request #11640 from al3w0f205/test/cdlg-g2p-dialog-reopen-finished-coverage
test(libSceCdlgG2P): cover reopen and null parameter behavior in finished dialog state
2026-10-28 03:27:54 +01:00
Adrià 3a4206eb64 Merge pull request #11635 from AlexFigas/feat/npcppwebapi-sessionmanager-parameter-lifecycles
feat(libSceNpCppWebApi): track the SessionManager V1 parameter lifecycles as the module does
2026-10-28 03:27:48 +01:00
Danigamer05 e5835d6866 feat(libc): add C23 count-zeros exports 2026-10-28 03:09:35 +01:00
Nicolas GonzalezandClaude Opus 5.5 57e7cdab70 test(recompiler): cover user-data calls inside a loop
A call inside a loop whose copy precedes the loop is linked when its link
register is another pair, and left unlinked when s_swappc_b64 writes its return
address over the pointer it calls through.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 23:02:55 -03:00
Nicolas GonzalezandClaude Opus 5.5 6037a12ee7 fix(recompiler): link user-data calls whose target copy precedes forward branches
FindUserDataCalls required the s_mov copy of the user-data callee pointer to
sit in the call's basic block, so a compute shader that copies s[0:1] at entry
and calls after an execz guard was left with an unresolvable s_swappc_b64.
Fall back to reachingWriter, as FindTableCalls already does.

The UserDataCallAfterBranch execution test dispatches such a shader with two
callees and checks every lane's result.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 22:43:10 -03:00
dotaku22 464bd6aa2c test(agc): cover committed copy and comparison recovery on Windows 2026-10-28 02:22:28 +01:00
dotaku22 ed2dec46d9 fix(agc): tolerate mapping changes during committed snapshots 2026-10-28 02:18:45 +01:00
MarcZX10 59fef11858 test(shader): key a tessellated instanced draw with zero control points
The instance patch count has to be zero instead of crashing, and a regular
configuration still divides the index count by the control points.
2026-10-28 01:05:38 +00:00
MarcZX10 ce51c9cbbc fix(shader): do not divide by zero control points when keying tessellated draws
TessellationInstancePatches divided the draw's index count by the
tessellation configuration's inputControlPoints. A request replayed from a
serialized capture is not validated for that field, so a configuration with
zero control points and an instanced draw raised SIGFPE while the cache key
was built, before ShaderInputInfoBuilder could reject the configuration with
its intended error. The function now reports no instance patches for zero
control points and leaves the rejection to the builder.
2026-10-28 01:05:38 +00:00
Dean Galvin c116f4f2f0 Merge branch 'main' into perf-D2-v47
# Conflicts:
#	docs/dev/debt/libSceAgcDriver.md
2026-10-28 13:52:37 +13:00
Dean cccdaa2734 Merge pull request #11826 from oneandonlydean/carry/3699-f16-fma
fix(shader): take the fused result when an f16 fma's sum is exact
2026-10-28 13:52:08 +13:00
Dean e6d04bf3c6 Merge pull request #11564 from JJenkx/fix/shader-folded-bitcast-nan-reuse
fix(shader): reuse folded bitcasts and NaN tests within blocks
2026-10-28 13:51:50 +13:00
Dean c96d9fff00 Merge pull request #11440 from hamb3r/fix/agc-shader-memory-descriptor-epoch
fix(agc,shader): unify descriptor pendingWrite policy and enforce invalidation epochs
2026-10-28 13:51:32 +13:00
Dean 82e2d0ed14 Merge pull request #11335 from xXPBSXx/fix/filestream-flags-race
fix(libc): read the stream status flags atomically when keeping a directory read error
2026-10-28 13:51:15 +13:00
Dean bf4860b6ce Merge pull request #11098 from edubox/fix/agc-single-level-depth-view
fix(agc): select the first level of a single-level depth view
2026-10-28 13:50:57 +13:00
Dean 415e87a180 Merge pull request #10999 from plexerPK/fix/redzone-opcode-rsp-uses
fix(relinker): preserve opcode-encoded stack register uses
2026-10-28 13:50:41 +13:00
Dean 780b33aea3 Merge pull request #10809 from frankea/fix/direct-memory-12gib
fix(libkernel): report 12 GiB of direct memory, as a PS5 does
2026-10-28 13:49:57 +13:00
Dean c3f49ea299 Merge pull request #10654 from akkadbakkad89/feat/agc-acb-workload
feat(libSceAgc): emit ACB workload packets for complete, active and stream-inactive
2026-10-28 13:49:41 +13:00
Dean 09919b040d Merge pull request #10537 from nedra23/fix/relinker-syscall-number-rex-prefixes
fix(relinker): honor prefixes in the syscall number byte walk
2026-10-28 13:49:13 +13:00
Dean 4c6fcfcb5c Merge pull request #9763 from rooklz/fix/libc-freopen-closed-stream
fix(libc): reopen a closed stream in freopen instead of aborting
2026-10-28 13:48:50 +13:00
Dean b3b449cfe4 Merge pull request #8916 from Henryisdjfunkyho/fix/cancellable-timed-sleeps
fix(libkernel): wake timed sleeps for thread cancellation
2026-10-28 13:48:32 +13:00
Dean 1068cd6b76 Merge pull request #7780 from savvaniss/fix/savedata-ps4-modules
fix(savedata): build libSceSaveData and libSceSaveDataDialog from the native sources
2026-10-28 13:48:05 +13:00
Dean cf58ec5d29 Merge pull request #11841 from santhoshkumar-dev/codex/spawn-attribute-flags
fix(libSceLibcInternal): preserve combined POSIX spawn flags
2026-10-28 13:47:50 +13:00
Dean 2f083580ca Merge pull request #11519 from B-Howell/codex/submit-ajm-resampler-bounds
fix(ajm): bound resampler positions before integer conversion
2026-10-28 13:47:30 +13:00
Dean b643e2a6b8 Merge pull request #11363 from JJenkx/feat/agc-selected-image-readback-20261026
feat(agc): capture selected live storage images without writeback
2026-10-28 13:46:57 +13:00
Dean 58dfa6689f Merge pull request #10337 from Filip722/submit/scalar-20261023
perf(shader): use 32-bit scalar buffer bounds
2026-10-28 13:46:36 +13:00
Dean 899b2d361f Merge pull request #10336 from Filip722/submit/log2-20261023
perf(shader): skip log2 correction outside the near-one range
2026-10-28 13:46:20 +13:00
Dean 951d170bc1 Merge pull request #9890 from savvaniss/perf/gcn-buffer-format-lookup
perf(recompiler): translate GCN buffer formats without a private table
2026-10-28 13:46:04 +13:00
Adrià de004fed72 Merge pull request #11348 from Serph91P/fix/shared-uint-sampler-pr
fix(shader): select point samplers for direct Uint images
2026-10-28 01:32:37 +01:00
xXPBSXxandClaude Sonnet 5.5 893250cf72 Merge main (951399570d) into libm/asinh-msun
The only conflict was in GuestMath.cpp, where main's sinh tests and this
branch's asinh tests were inserted at the same place. Keep both: the asinh
checks follow the sinh ones.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-28 01:31:59 +01:00
slopgobblercobbler 49d943b7d0 test(libSceSaveData.native): cover cancel and prepare for transferring unimplemented stubs 2026-10-28 01:31:04 +01:00
QRMOEandClaude Opus 5.5 609f4f1205 test(agc): drop the written native depth buffer-write refusal case
The case asserted that a valid but unimplemented guest publication of a
written native depth throws. Tests keep to implemented behaviour, so it
is removed; the unwritten depth-plane and HTILE cases remain.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 01:08:00 +01:00
Dean 951399570d Merge pull request #10942 from mashingaan/fix/import-audit-bare-filenames
fix(tools): reject bare module filename aliases
2026-10-28 13:04:32 +13:00
Dean e778405b5b Merge pull request #11592 from alvaroelpob/fix/libkernel-condattr-getclock-einval
fix(libkernel): fail pthread_condattr_getclock with EINVAL for a null attribute
2026-10-28 13:04:04 +13:00
Dean 057de19313 Merge pull request #11556 from xXPBSXx/libm/sinh-msun
fix(libc): compute sinh with FreeBSD msun's algorithm
2026-10-28 13:03:47 +13:00
Dean a1f5ae4e8b Merge pull request #11244 from SeaSunPT/fix/audioout2-mastering-not-initialized
fix(libSceAudioOut): refuse sceAudioOut2Mastering calls before sceAudioOut2Initialize
2026-10-28 13:02:46 +13:00
Dean 091967e234 Merge pull request #11055 from JJenkx/fix/audioout2-device-queue-poll
fix(audioout2): poll device queues without the callback mutex
2026-10-28 13:02:30 +13:00
Dean a6816811f3 Merge pull request #10975 from xXPBSXx/fix/gettimeofday-itimer-efault
fix(libkernel): fail gettimeofday, getitimer, setitimer and the sceKernel time getters with EFAULT on an unusable pointer
2026-10-28 13:02:14 +13:00
Dean 09329a8bda Merge pull request #10598 from MarcZX10/marc/freetype-stroker-path
feat(libSceFreeType): implement the FreeType stroker path-building calls
2026-10-28 13:01:43 +13:00
Dean 9f605c98d2 Merge pull request #10283 from JJenkx/windows/libc-cbrt-msun
fix(libc): compute cbrt with FreeBSD msun's algorithm, as titles' libc.prx does
2026-10-28 13:01:01 +13:00
Omar Elmahy 90e6bf03ce test(libSceProprietaryVoiceChatHelper): cover post-terminate usage state and exception messages 2026-10-28 00:00:36 +00:00
Dean 46b9aa3768 Merge pull request #9648 from JJenkx/windows/libc-rand-console
fix(libc): follow the console's rand, srand and rand_r
2026-10-28 13:00:35 +13:00
Dean ba8845d2e7 Merge pull request #9442 from Gruzzberry/feat/lchflags
feat(libkernel_sys): implement lchflags
2026-10-28 13:00:19 +13:00
Dean 9014065731 Merge pull request #9231 from Gonic0/fix/macos-sce-net-freebsd-errors
fix(libSceNet): match FreeBSD's inet_pton and socket errors on macOS
2026-10-28 12:59:52 +13:00
Dean b05b685642 Merge pull request #8888 from milescoviello/perf/host-buffer-classes
perf(agc): pool large host buffers by size class
2026-10-28 12:59:36 +13:00
Dean 6c48f35a95 Merge pull request #8098 from LuisAguilarDev/fix/audioout2-silent-ports
fix(audioout2): keep each port's grain when ports share a buffer
2026-10-28 12:59:20 +13:00
Dean 200f40814d Merge pull request #11868 from rooklz/fix/check-compile-save-temps-modes-v2
fix(tools): reject unmodeled save-temps modes in syntax checks
2026-10-28 12:59:01 +13:00