Commit Graph
2316 Commits
Author SHA1 Message Date
Adrià bf969dbdbe Merge pull request #11692 from JJenkx/fix/agc-partly-watched-depth-planes
fix(agc): track CPU writes in partly watched depth planes
2026-10-28 15:54:50 +01:00
Adrià 446bd8776c Merge pull request #11465 from valenciana-nc/fix/draw-index-count-overflow
fix(agc): reject quad-list and strip draws whose expanded index count overflows uint32
2026-10-28 15:20:14 +01:00
Adrià 26c20975ac Merge pull request #11369 from QRMOE/fix/agc-msaa-depth-buffer-write
fix(agc): release a resident multisample depth before a GPU buffer may write over it
2026-10-28 14:49:09 +01:00
Adrià bd15a91f99 Merge pull request #11696 from Astronaut10/perf/agc-shape-memo
perf(agc): repeat a draw shape's resident targets and pipeline instead of looking them up again
2026-10-28 14:49:03 +01:00
Dean a8dc96323c Merge pull request #12244 from Tehshortbus/chore/agc-storage-writeback-log
chore(agc): log the storage writeback submit and done lines only with APS5_DEBUG_LOG
2026-10-29 00:28:08 +13:00
Dean 16e1b95117 Merge pull request #11973 from janzezno/fix/overlay-uniform-palette-index
fix(agc): pick the overlay's palette entry with constant indices again
2026-10-28 22:35:43 +13:00
Dean 5ae16ad52b Merge pull request #11915 from Bram910/fix/pipeline-cache-recovery
fix(agc): recover pipeline cache persistence from transient failures
2026-10-28 22:30:07 +13:00
Adrià a444a18d93 Merge pull request #11507 from hugodearaujo/fix/agc-short-cube-sampling
fix(agc): sample cube descriptors with fewer than six slices as six faces
2026-10-28 10:14:50 +01:00
Cesar MoraandClaude Opus 5.5 91d601ecd0 fix(agc): guard a repeated storage surface over its whole range, as its lookup does
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 08:33:40 +01:00
Cesar MoraandClaude Opus 5.5 2b349ff156 perf(agc): repeat a draw shape's resident targets and pipeline instead of looking them up again
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 08:33:40 +01:00
Dean b99bbebacd Merge pull request #11839 from oneandonlydean/wolverine/agc-driver-micro-perf
perf(agc): reuse context register storage and keep the shadow live-unit count
2026-10-28 20:11:36 +13:00
Dean a734b350f1 Merge pull request #8091 from JJenkx/fix/agc-import-allocation-error-budget
fix(agc): pin the import ceiling only on memory exhaustion
2026-10-28 20:11:23 +13:00
Dean 00e85fea39 Merge pull request #10348 from oneandonlydean/perf-D2-v47
fix(agc): clamp an exported pixel depth to the viewport depth range
2026-10-28 18:25:05 +13:00
Dean ccfb96757f Merge pull request #11307 from dantdmdarealguy/perf/agc-depth-plane-copies-recent-presents
perf(agc): keep recently sampled depth plane copies up to twice the budget
2026-10-28 18:17:14 +13:00
TehshortbusandClaude Opus 5.5 f1af288133 chore(agc): log the storage writeback submit and done lines only with APS5_DEBUG_LOG
writeBackLayers printed "StorageTexture writeback submit" and "StorageTexture
writeback done" unconditionally around the blocking submit of every storage
image writeback. In five GTA V (PPSA04264) runs they were 54 to 978 lines per
run, 5 to 55 % of the log. They now use APS5_LOG_CHARS_OUT_DEBUG, like the
other per-operation lines of the AGC driver, and are compiled out unless
APS5_DEBUG_LOG is defined.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 21:35:22 -07:00
Adrià 82d5f01f28 Merge pull request #11361 from johandavidcm/perf/agc-pass-break-reasons
feat(agc): count why draws begin render passes
2026-10-28 05:25:04 +01:00
Adrià 2df319e55c Merge pull request #11704 from JJenkx/fix/agc-srgb-msaa-dcc-clear
fix(agc): import exact sRGB multisampled DCC clears
2026-10-28 05:10:37 +01:00
Adrià 68200c47ea Merge pull request #11705 from jotitadev/fix/agc-deferred-resolver-after-last-device
fix(agc): check the deferred destruction resolver only against live devices
2026-10-28 05:02:15 +01:00
Adrià 2a81f0969f Merge pull request #11691 from hugodearaujo/fix/agc-msaa-format36-sampled
fix(agc): sample a multisampled 11_11_10 float texture in its sampled format
2026-10-28 04:57:02 +01:00
Adrià a00e826a27 Merge pull request #11690 from JJenkx/fix/agc-depth-plane-fresh-collect
fix(agc): collect fresh CPU writes before depth plane stores
2026-10-28 04:49:43 +01: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 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 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 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 0ab5cfc279 Merge pull request #11423 from Tehshortbus/chore/agc-texture-creation-log
chore(agc): log texture creation only with APS5_DEBUG_LOG, except the sRGB copy
2026-10-28 12:58:05 +13:00
Adrià f5fefb982c Merge pull request #11305 from joedeangelis533-bot/review/tessellation-depth-upstream-20261025
feat(agc): remap unsupported tessellation viewport depth ranges
2026-10-27 22:27:35 +01:00
Adrià 2a46260a5a Merge pull request #11303 from iamthehimansh/split/macos-pooled-tail
fix(agc): clear a reused pooled buffer's unused tail on macOS
2026-10-27 21:29:52 +01:00
Dean Galvin d4a296d863 Merge main into perf-D2-v47: depth export tail moves to request version 49
Main took request serialization version 48 for the fragment barycentric
built-ins flag (#9193). The depth export clamp bounds are now written at
version 49 and read only for versions from 49, so a version 48 request as main
writes it still decodes, with default bounds. Tests: version 49 is the
emitted prefix, 50 the first unsupported one, a depth exporting request
without its bounds decodes at 48, 47 and 46 (the last two without main's
barycentric byte), and a version 48 two-sample dithered request decodes as
written.
2026-10-28 08:24:34 +13:00
Dean 594214f733 Merge pull request #11357 from oneandonlydean/sa/host-import-frame-eviction
fix(agc): do not evict host imports used in the current or previous frame
2026-10-28 06:23:09 +13:00
valenciana-nc 951cfe7cf1 fix(agc): reject quad-list and strip draws whose expanded index count overflows uint32 2026-10-27 11:15:30 -06:00
janzezno 2d5d30c099 fix(agc): pick the overlay's palette entry with constant indices again 2026-10-27 15:10:21 +01:00
Adrià 9ae2f7d22a Merge pull request #10414 from orezraey/fix/agc-partial-fast-clear-eliminate
fix(agc): eliminate a fast clear over part of a CMASK color target
2026-10-27 13:19:27 +01:00
Bram910 302288f9fc fix(agc): recover pipeline cache persistence from transient failures 2026-10-27 13:11:16 +01:00
Adrià d410ce253f Merge pull request #11207 from EagleBearerYS/feat/imedialog-pad-keyboard
feat(libSceImeDialog): type with the controller on an on-screen keyboard
2026-10-27 12:00:58 +01:00
JJenkx 1646ca2842 fix(agc): collect watched pages within partial depth units 2026-10-27 06:22:28 -04:00
JJenkx 20b938bfac fix(agc): collect initial watched units before recording depth generations 2026-10-27 06:22:28 -04:00
JJenkx 5a7a64f7d6 fix(agc): collect watched units when a depth plane scan fails 2026-10-27 06:22:28 -04:00
JJenkx 7486617958 fix(agc): collect fresh CPU writes before depth plane stores 2026-10-27 06:22:10 -04:00
Dean 3fea2a937b Merge pull request #11685 from oneandonlydean/port/direct-depth-layer-copy-v2
feat(agc): copy depth planes to and from color storage images directly where maintenance8 allows
2026-10-27 23:03:00 +13:00
Dean Galvin 1bf274a817 Merge main into perf-D2-v47: depth export tail moves to request version 48
Main took request serialization version 47 for the two-sample dithered
alpha-to-coverage value. The depth export clamp bounds are now written at
version 48 and read only for versions from 48, so a version 47 request as main
writes it still decodes, with default bounds. Tests: version 48 is the
emitted prefix, 49 the first unsupported one, and a version 47 two-sample
dithered request (with and without depth export) decodes as written.
2026-10-27 22:37:31 +13:00
JJenkxandClaude Opus 5.5 1c7f19e716 fix(agc): pin the import ceiling only on memory exhaustion
A failed vkAllocateMemory still makes the host import budget follow the
driver's VK_EXT_memory_budget report, but only VK_ERROR_OUT_OF_HOST_MEMORY
and VK_ERROR_OUT_OF_DEVICE_MEMORY pin the permanent ceiling. RADV reports a
refused user-memory import as VK_ERROR_UNKNOWN or
VK_ERROR_INVALID_EXTERNAL_HANDLE, and pinning on those collapsed the budget
to the few MiB live at the time.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 05:18:29 -04:00
BiladeiroSupremo eff427b899 perf(agc): keep a shadow's live unit count as units change instead of recounting every unit 2026-10-27 22:01:20 +13:00
Dean a636927e5f Merge pull request #8161 from Celegans12/feat/tools-ab-split
feat(tools): split the periodic reports of an APS5_AB run by phase
2026-10-27 21:34:47 +13:00
Adrià 49f600f12c Merge pull request #11142 from imellag/perf/agc-moved-words-upload
perf(agc): copy moved draw words into the draw upload ring
2026-10-27 09:19:12 +01:00
Dean 36e6c092c0 Merge pull request #9011 from JJenkx/perf/mapped-readable-run-lease-b5d763
perf(agc): lease mapped readable runs for import events
2026-10-27 21:05:23 +13:00
Adrià 83370fe136 Merge pull request #11065 from morten-holm/fix/agc-mesh-limit-details
fix(agc): name the mesh limit a pipeline exceeds and its values
2026-10-27 08:54:07 +01:00
Adrià 76dec1794b Merge pull request #8998 from MarcZX10/codex/f32-image-store-rtz-8282
fix(agc): round 16-bit float image stores toward zero
2026-10-27 07:59:23 +01:00
hugodearaujo 5a5e54a455 Merge main into fix/agc-short-cube-sampling 2026-10-27 03:46:24 -03:00
orezraeyandClaude Opus 5.5 6aeb8d6c3e Merge main into fix/agc-partial-fast-clear-eliminate
Keep #9694's coverage check for targets without CMASK or DCC keys and skip it only for a fast-clear eliminate over a CMASK target without DCC keys.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 02:37:09 -03:00
Dean 9260711d01 Merge pull request #9694 from Tamalero/fix/agc-metadata-pass-coverage-without-metadata
fix(agc): require full coverage only for metadata pass targets with CMASK or DCC keys
2026-10-27 18:20:38 +13:00