AnyPS5/core/libs
Adrià Franch 4d90c0bc8e fix(shader): convert formatted buffer stores to the element format
buffer_store_format_* and tbuffer_store_format_* wrote the register
bits as they were: an 8_UNORM store of 1.0f wrote 0x00 (the low byte of
0x3f800000), packed formats such as 2_10_10_10 overwrote the whole word
with each component, and the components the instruction does not
provide were left untouched. Each component is now encoded as the
hardware does: unorm/snorm (and uscaled/sscaled, which store the same
way) round x*M exactly to nearest even after clamping, with NaN as 0;
uint/sint saturate; f16 and the 11/10-bit floats truncate toward zero
and saturate. The whole element is written, with the missing components
as 0, and packed formats are composed into one word.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-03 11:37:12 +02:00
..
nid fix: correct sscanf %x signedness and avoid a substr copy 2026-09-26 14:11:50 -06:00
prx fix(shader): convert formatted buffer stores to the element format 2026-10-03 11:37:12 +02:00
tests Merge pull request #370 from DotDebian/fix/pthread-attr-get 2026-10-03 11:02:46 +03:00
CMakeLists.txt Merge pull request #273 from RomainROCH/codex/fix-save-memory-growth 2026-10-02 22:32:56 +03:00
HitLog.hpp style(prx): apply CONVENTIONS.md to misc PRX additions 2026-09-29 04:24:39 +03:00
SceShaders.hpp feat(libs): libSce types impl + shaders refactor 2026-09-08 10:20:57 +03:00
SceTypes.hpp Merge pull request #300 from Pouare514/feat/libScePlayGoDialog 2026-10-02 23:08:55 +03:00