Go to file
fdfawef324 15955c089e fix(agc): start the sample location registers at their clear-state value
A draw with PA_SC_AA_CONFIG.MSAA_NUM_SAMPLES > 0 whose context never
wrote PA_SC_AA_SAMPLE_LOCS_PIXEL_* (context 0x2fe-0x30d) was rejected
with "missing register in context bank at DWORD 0x2fe", because the
registers were absent from the initial context (PPSA07411 stops on it
after two frames). The MSAA_ENABLE single-sample path read them the
same way.

The sixteen registers now start at 0, both initially and after
CLEAR_STATE. That is the value in libSceAgc's own register defaults
(sceAgcGetRegisterDefaults2, every public table that holds context
registers, the tables the initial context already follows for
PA_SU_VTX_CNTL and PA_SC_CONSERVATIVE_RASTERIZATION_CNTL), in amdgpu's
GFX10 clear-state table (clearstate_gfx10.h, gfx10_SECT_CONTEXT_def_8,
loaded by gfx_v10_0_cp_gfx_start before CLEAR_STATE) and the GC 10.3
register reset value (gc_10_3_0_default.h). RADV, radeonsi and PAL
always write the locations themselves and do not settle the unwritten
value.

0 puts every sample at the pixel center. That is not the standard
pattern for any sample count, so such a draw decodes as custom
locations at the center, as a single-sample scan into a multisampled
target already does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 14:06:05 -04:00
.github ci(build): key the Mesa shader cache by the runner's CPU flags 2026-10-13 17:57:49 +02:00
3rdparty refactor(web): load zip.js from pinned cdn version 2026-10-13 14:02:46 +03:00
cmake feat(agc): report performance timer scopes to Tracy with APS5_ENABLE_TRACY 2026-10-12 12:55:40 -07:00
core fix(agc): start the sample location registers at their clear-state value 2026-10-13 14:06:05 -04:00
demo/web chore(readme): add games demo collage to readme 2026-10-13 20:16:47 +03:00
docs Merge pull request #4491 from xXPBSXx/fix/playgo-bound-no-chunk-table 2026-10-14 06:42:39 +13:00
tools Merge pull request #4579 from MiniRML/fix/release-configured-windows-runtime 2026-10-13 17:48:48 +02:00
.gitignore chore(gitignore): ignore build_tools/ secondary CMake tree 2026-09-25 16:27:49 -07:00
.gitmodules refactor(web): load zip.js from pinned cdn version 2026-10-13 14:02:46 +03:00
CMakeLists.txt Merge pull request #3907 from GalaxyGamingFR/fix/progress-read-encoding 2026-10-13 15:27:02 +02:00
CONTRIBUTING.md docs(contributing): ask GPU changes to name the GPUs their tests ran on 2026-10-13 07:45:50 +02:00
LICENSE initial commit 2026-08-03 20:02:52 +03:00
README.md chore(readme): add games demo collage to readme 2026-10-13 20:16:47 +03:00

README.md

About

Tool for automatic executables porting to Linux and Windows.

Web converter - files stay on your device.

anyps5_collage1

Discord

Includes a relinker that converts executable to the target system's native format and implementations of system prx libraries suitable for dynamic linking. No emulation or separate runtime process.

Usage, Build instructions, Architecture, Technical debt of the project, code style conventions, contributing

Status

libraries shaders

progress map

Progress history

* System libraries: percentage of the functions known to the project so far (declared in core/libs/prx), not of every PS5 system function. The total grows as more functions are declared.

Unsupported or unexpected states strictly throw std::runtime_error. what() is printed to stderr and the process terminates.

The shader recompiler successfully produces SPIR-V (validated via Spirv-Tools when built with ANYPS5_ENABLE_SPIRV_TOOLS).

Compatibility

Per-game progress (stage reached, open blockers, libraries and GPU coverage) is tracked on the blocker map, a community project built from public GitHub data (source). Test reports go in the Game bring-up discussions, one thread per title.

Input mapping

SDL-mapped game controllers are supported, including analog sticks and triggers. Keyboard and mouse controls can be configured with an anyps5-input.ini file. See input mapping for the supported devices and configuration format.

Disclaimer

This project is intended for interoperability, research, preservation, and compatibility purposes. It does not include, distribute, or require copyrighted software, firmware, cryptographic keys, or proprietary libraries. Users are responsible for ensuring that any binaries used with this project are obtained and used in accordance with applicable laws and their respective license terms.

License

This project is licensed under the GNU General Public License version 2 only.