AnyPS5/core/libs/prx/libSceAgcDriver
Raihan Abdul Majid bafca2ffda perf(agc): fill-clear small-float denormal patterns on devices whose clears keep them
FillClearColor refused half and B10G11R11 patterns with a denormal code,
since an implementation may flush them in a clear, so such fills over a
resident image took the CPU path: PPSA01325 fast-clears its 3840x2160
R16G16_SFLOAT target 0x515390000 with a denormal half every frame, a
33 MiB guest write and re-upload (about 85 ms).

ClearKeepsDenormals probes the device once per format: a 1x1 image
cleared with denormal codes (half 0x0001, 0x83ff, 0x0200, 0x8001;
11/10-bit 0x001) and read back. When the bits survive, FillClear takes
the refused pattern again with SmallFloat decoding denormals exactly.
NaNs, float32 denormals and the SNORM minimum stay refused.

agc_driver_recorder_tests clears an R16G16_SFLOAT resident image with a
normal, a denormal and a NaN pattern: the denormal is cleared exactly
when the probe says the device keeps it, and the NaN is refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UTjpbMX7BUFMZZaxJE98zV
2026-10-10 10:10:51 +02:00
..
Eq feat(agc): implement sceAgcDriverGetEqContextId 2026-10-07 21:53:21 +02:00
Execution Merge pull request #1917 from TheAggie/feat/agc-radv-gfx10-packets 2026-10-10 10:09:36 +02:00
Graphics perf(agc): fill-clear small-float denormal patterns on devices whose clears keep them 2026-10-10 10:10:51 +02:00
Resource feat(libSceAgcDriver): implement sceAgcDriverGetResourceRegistrationMaxNameLength 2026-10-06 22:21:30 +02:00
State fix(agc): correct the default tessellation factor ring address 2026-10-09 11:45:53 +08:00
Submit feat(libSceAgcDriver): implement sceAgcDriverSubmitMultiAcbs 2026-10-07 22:04:58 +02:00
tests perf(agc): fill-clear small-float denormal patterns on devices whose clears keep them 2026-10-10 10:10:51 +02:00
tools feat(agc): let agc_shader_replay write a request's code words for other disassemblers 2026-10-03 21:45:10 +13:00
CMakeLists.txt test(agc): register the host import unmap test in ctest 2026-10-10 09:35:43 +02:00
PostCompile.cmake feat(shader): translate NGG geometry programs to mesh shaders 2026-09-30 23:57:47 +13:00
Unimplemented.cpp Merge pull request #963 from JAB-dev/feat/agc-registration-max-name-length 2026-10-07 15:21:05 +13:00
embed_spirv.cmake build(agc): wire agc texture support into cmake 2026-09-23 07:40:22 +03:00