Commit Graph
20967 Commits
Author SHA1 Message Date
Queuze a2cd79cd2b chore: sync contribution #9525 with main 2026-10-23 20:02:17 -03:00
Queuze b2aafa368e chore: sync contribution #9542 with main 2026-10-23 20:02:17 -03:00
Queuze 2a7c73eb2f chore: sync contribution #9930 with main 2026-10-23 20:02:16 -03:00
Queuze 323d269fa1 chore: sync contribution #9931 with main 2026-10-23 20:02:15 -03:00
Queuze d43043b6e5 chore: sync contribution #10020 with main 2026-10-23 20:02:15 -03:00
Himansh Raj e76f06ef9a Merge remote-tracking branch 'origin/main' into split/macos-build 2026-10-24 04:31:21 +05:30
Himansh Raj 002c361aaf Merge remote-tracking branch 'origin/main' into split/macos-build
# Conflicts:
#	core/libs/tests/Formatting.cpp
2026-10-24 04:30:49 +05:30
hypermistandClaude Opus 5.5 55b53c969e test(libSceHttpCache): cover an Expires earlier than Date
Firmware 13.60 subtracts Expires minus Date and Date minus Last-Modified
on unsigned ticks without comparing them, so either order wraps to a
lifetime that never runs out. Keep that behaviour, state it in the debt
doc, and cover both cases next to their in-order counterparts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 12:00:41 +13:00
Adrià a23f8fc9fb Merge pull request #9057 from milescoviello/fix/sample-order-depth-copy-aspects
fix(agc): give a depth stencil copy's layout barrier both aspects
2026-10-24 01:00:09 +02:00
Adrià d48007d462 Merge pull request #8883 from EagleBearerYS/perf/shader-plan-retention
perf(shader): keep only what a resource plan's branch conditions can evaluate
2026-10-24 01:00:04 +02:00
Adrià 3635d65fbe Merge pull request #9014 from hypermoist/feat/libc-system-category
feat(libc): add std::system_category and keep error_code values at offset 4
2026-10-24 00:59:59 +02:00
Dean ca7bf033c5 Merge pull request #9005 from JJenkx/fix/libkernel-sema-null-esrch
fix(libkernel): return ESRCH for a null semaphore handle
2026-10-24 11:58:20 +13:00
Dean 2fcc60cf37 Merge pull request #5426 from Prophet069/codex/review-scratch-offsets-20261013
fix(shader): decode GFX10 scratch offsets as one dword
2026-10-24 11:57:41 +13:00
Dean 4dad3f50c3 Merge pull request #8864 from valenciana-nc/fix/bessel-float-zero-exceptions
fix(libc): avoid spurious float Bessel exceptions at zero
2026-10-24 11:57:10 +13:00
Dean c675a415f2 Merge pull request #9103 from HQasper/claude/project-thread-w0s18y-chown
feat(libkernel_sys): implement chown, lchown, fchownat and linkat
2026-10-24 11:56:40 +13:00
Dean 097a9514a0 Merge pull request #8865 from hypermoist/fix/libc-strtof-sign-hex-range
fix(libc): keep the sign of a failed strtof and match libc.prx strtof ERANGE
2026-10-24 11:56:01 +13:00
Dean 85f2f2d478 Merge pull request #8544 from Retr0G28/fix/fcntl-getfl-pipe-rdwr
fix(libkernel): report O_RDWR from F_GETFL on both ends of a pipe
2026-10-24 11:55:31 +13:00
Dean 40e5962114 Merge pull request #10227 from veosett/codex/select-tests-windows-batches
fix(tools): measure Windows test batches after quoting
2026-10-24 11:54:31 +13:00
Dean 4936511ad5 Merge pull request #9226 from AMRYB/fix/audit-windows-module-extension-case
fix(tools): normalize Windows module suffix case before matching
2026-10-24 11:53:15 +13:00
JAB-devandClaude Sonnet 5.5 8da1a2dc0b fix(libSceNgs2): return the PS5 pan codes and accept NaN pan inputs
sceNgs2PanGetVolumeMatrix now returns the PS5 error codes in the PS5 check order instead of throwing, and lets NaN angles and distances through as the PS5 module does. sceNgs2PanInit gives the 7-speaker degree defaults for 0 speakers without angles, stores NaN speaker angles and leaves unused slots untouched. Inputs on which the PS5 library never returns still throw.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-24 00:51:07 +02:00
Dean 999e612599 Merge pull request #4627 from mugurc/fix/libc-macos-host
fix(libc): build the host-facing libc code on macOS
2026-10-24 11:50:45 +13:00
Dean f622f0253c Merge pull request #9063 from hypermoist/feat/npcommon-runtime
feat(libSceNpCommon): implement 95 more of the module's exports
2026-10-24 11:50:08 +13:00
Adrià f3456a4152 Merge pull request #8928 from milescoviello/perf/abi-committed-fast-path
perf(agc): resolve a committed shader ABI without the preparation lock
2026-10-24 00:38:01 +02:00
orezraeyandClaude Opus 5.5 cfe3c78b8c fix(agc): eliminate a fast clear over part of a CMASK color target
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 19:37:34 -03:00
JJenkxandClaude Opus 5.5 d07ceb9494 docs(agc): describe the run-start join rule in the host import debt entry
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 18:35:36 -04:00
JJenkxandClaude Opus 5.5 c7df61bb74 test(agc): join a buffer bound from the start of adjacent pieces into the last
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 18:35:36 -04:00
JJenkxandClaude Opus 5.5 1123713933 perf(agc): join the imports of a buffer bound from the start of adjacent ranges
joinedRun joined a run of adjacent registered ranges that has one no
larger than the import window only for a binding exactly over the run.
Echoes of the End (PPSA25636) binds a 24 MiB buffer from the start of
three such ranges that ends inside the last one, so every use of it was
copied on the CPU: 16,680 copies in one 480 s run.

A binding that starts at the first crossed range now joins the ranges it
crosses. One that starts inside the first range still stays apart, and
a range registered after the run is outside the ranges a binding into
the run crosses, so growth beside a joined import does not re-import it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 18:35:36 -04:00
Himansh Raj d01910e340 fix(agc): keep the host-pointer import's write window
On macOS the host-pointer import is copied into a Metal buffer when it
is imported, and the HostWrite window around it is what marks those
pages written so the driver re-syncs them. Without it the depth plane a
draw writes back into guest memory is never re-synced, and
agc_driver_depth_plane_buffer_memory reads stale data. Only the dma-buf
import keeps the watch armed, which is all agc_write_tracking needs.

Tested on an Apple M2 Pro (x86_64 under Rosetta 2, MoltenVK 1.4.2):
agc_write_tracking and agc_driver_depth_plane_buffer_memory both pass.
2026-10-24 04:04:15 +05:30
Adrià 9d4fb4fb70 Merge pull request #8908 from meh7an/fix/agc-write-back-ready-barrier-hole-copies
fix(agc): keep the write-back ready barrier while hole copies are pending
2026-10-24 00:29:06 +02:00
hypermistandClaude Opus 5.5 6189a8393f test(libSceHttpCache): stop asserting that unimplemented paths throw
Drop the checks that the shared-store, quota, tag and null-URL paths
throw; they pinned unimplemented behaviour. The sharing-disabled and
shared-user cases and the store, hit, revalidation and error coverage
stay.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 11:28:26 +13:00
fma-rc d1ac8d9117 fix(tools): bound symbol names to DT_STRSZ and reject relocation tables that are not whole entries 2026-10-24 00:25:26 +02:00
Adrià a0fb7c26a7 Merge pull request #8968 from Chuk49/fix/agc-capture-skip-float-probe
fix(agc): leave the float-controls probe's pipelines out of compute captures
2026-10-24 00:20:00 +02:00
Adrià 4aae82c0ae Merge pull request #8895 from teepean/perf/space-scan-skip
perf(agc): skip an address space's pending CPU write scan when none are pending
2026-10-24 00:19:54 +02:00
Mehran 54d7c780a5 perf(shader): reuse a memoized result by patching its copied words 2026-10-24 01:17:14 +03:00
orezraeyandClaude Opus 5.5 76e43cade8 Merge fix/libscecescs-mbcs-strings-measured-ps5 into fix/libscecescs-jis-encode-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 19:13:28 -03:00
orezraeyandClaude Opus 5.5 b51910b81f Merge fix/libscecescs-eucjp-measured-ps5 into fix/libscecescs-mbcs-strings-measured-ps5
Brings in main with #9210. The MBCS string forms keep convertString
and now encode UTF-16 with encodeUtf16, so GB 18030 supplementary
characters become surrogate pairs and UCS-2 answers UNASSIGNED_CODE.
The GB 18030 string test checks the short-buffer error in its own
buffer, since a failed conversion now terminates the output.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 19:12:40 -03:00
JAB-devandClaude Sonnet 5.5 330e1699f3 Merge branch 'main' of https://github.com/boykopovar/AnyPS5 into fix/ngs2-mastering-gain-ps5
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-24 00:10:38 +02:00
JAB-devandClaude Sonnet 5.5 3f18aed2a5 fix(libSceNgs2): clamp the mastering gain to +-32 as the PS5 module does
The PS5 libSceNgs2.native (firmware 3.20 and 4.03) accepts every value of the mastering gain param 0x30000004 with return code 0, clamps each level to [-32, 32] (so +-inf gives +-32) and keeps NaN, which then gives NaN samples. Ours threw on NaN and inf and did not clamp. A NaN sample in a PCM_I16L render buffer now throws, since the PS5 conversion was only measured into float buffers.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-24 00:10:35 +02:00
orezraeyandClaude Opus 5.5 67ef849d7c Merge fix/libscecescs-scalar-measured-ps5 into fix/libscecescs-mbcs-strings-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 19:08:57 -03:00
orezraeyandClaude Opus 5.5 76945dd4ab Merge main into fix/libscecescs-eucjp-measured-ps5
The strict JIS X 0208 EUC-JP profiles from main keep their decodeMbcs
path in sceCesEucJpToUcs2 and sceCesEucJpToUtf8; the measured scalar
decoder applies to the CP51932 profile it was measured with.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 19:06:55 -03:00
orezraeyandClaude Opus 5.5 a349c9dcd2 Merge main into fix/libscecescs-scalar-measured-ps5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 19:03:24 -03:00
Adrià e7f46f5c89 Merge pull request #8489 from wachi35676/fix/shader-amd-lds-fence-scope
fix(shader): widen LDS atomic fences to device scope on AMD's proprietary driver
2026-10-24 00:02:07 +02:00
Adrià 495b7c10ab Merge pull request #8792 from SuarezPM/ai/image-atomics-keyed-tables
feat(shader): support 32-bit image atomics through keyed image tables
2026-10-24 00:00:03 +02:00
JJenkxandClaude Opus 5.5 9904c737ca fix(agc): reserve the storage images held in the sampled texture budget
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 17:59:54 -04:00
JJenkxandClaude Opus 5.5 3f2e9865b1 docs(agc): condense the texture cache budget debt entry
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 17:59:54 -04:00
JJenkxandClaude Opus 5.5 4c4a2332d5 perf(agc): let the storage image cache take up to half of the heap budget
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 17:59:54 -04:00
hamb3r cb29f63d43 perf(agc): address review on exception catches, docs, and test entry 2026-10-24 00:59:49 +03:00
Kian 8c3de0cbd9 fix(web): reset batch selection when changing apps 2026-10-24 07:58:56 +10:00
slopggobblercobbler81 2f1cfdfa1a fix(libkernel): enforce SESS_LEADER EPERM and negative pid ESRCH ordering in setpgid/setpgrp 2026-10-23 23:52:23 +02:00
slopggobblercobbler81 782637fce4 feat(libkernel): implement setpgid and setpgrp 2026-10-23 23:52:21 +02:00