perf(agc): stage raw buffer elements a dispatch sweeps #6486

Merged
karanvora2599 merged 1 commit from upstream-pr/6486 into main 2026-10-19 02:29:08 +00:00
karanvora2599 commented 2026-10-15 17:08:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by karanvora2599 on 2026-10-15T17:08:10Z.


What

A compute dispatch that reads and writes most of a raw (stride 0) guest buffer now gets the device-local staging that @oneandonlydean's rule from 2688b7646 already gives strided buffers, up to 16 MiB. This extends their rule; it doesn't replace it.

Title. PPSA99005, the PS5 OpenGL Showcase (Game bring-up #6289). @MiguelAdolfsen's #6189 reports its slow scene, and their #6202 addresses the storage round trip described there. This PR addresses the other large cost in the same frame: the particle dispatch.

Background. Since 2688b7646, a written V# element that the shader also reads (bufferRead) is staged in device memory up to 16 MiB when the direct dispatch's threads × V# stride cover at least half of it (ShaderResources::addGuestBuffer). A raw buffer has stride 0, so it never passes the test and keeps the 2 MiB written window. GL and Vulkan-style storage buffers compiled by Mesa are raw buffers, so they stay bound in place in the host import, however hard the dispatch sweeps them.

The PS5 OpenGL Showcase (PPSA99005) is such a case. particle_cs runs 262,144 threads over an 8 MiB SSBO; each thread loads and stores its own 32-byte record. Bound in place, that dispatch takes about 53 ms of GPU per frame on an RTX 4060 Laptop. Staged, it takes about 0.1 ms plus 2.2 ms of bulk copies. With APS5_NO_HOST_IMPORT=1 it still takes about 60 ms, so the cost is the shader's own loads and stores to host memory, not the import.

How.

  • The recompiler already records, per buffer resource, the furthest byte any access reaches past its base (BufferResource::maxByteExtent: immediate offset plus access width). DescriptorBindingBuilder now copies it into a new DescriptorBinding::bufferExtent, one entry per guest buffer element, like bufferRead.
  • addGuestBuffer uses it as the record size when the V# stride is 0: swept means read && dispatchThreads != 0 && recordBytes != 0 && dispatchThreads × recordBytes × 2 ≥ size. Strided elements are unchanged.
  • The shader disk cache stores the new vector (format 37), as @oneandonlydean's 2fb7a77ac did for bufferRead (format 24). Users' shader caches are rebuilt once after the update. The binding plan is what the driver reads at bind time; the IR resource list it comes from is not kept with it.

Why results don't change. Staging is the existing path: copy in before the dispatch, bind the device-local buffer in the import's place, copy the whole element back after it. Only the decision to take it changes, for raw elements a dispatch reads, writes and covers.

Where it matters. Raw storage buffers a dispatch sweeps, between 2 and 16 MiB. A kernel that touches few records of a large raw pool stays in place, as the rule intends: 1,024 threads × 32 bytes against 4 MiB is not swept. A raw element whose accesses carry a large immediate offset (up to 4,095 bytes) overstates its record size; the worst case is a needless copy of at most 16 MiB in and out.

Tested

Windows 11, MinGW-w64 GCC 15.2.0, Release.

  • The measurements and the full suite ran at 10cb276d1: this change on main 92cdc7b62.
  • The branch is now rebased onto main 51cee9031 (bc15be99a). The conflict was main's new guestBufferBytes helper next to addGuestBuffer, and both are kept. Disk-cache format 37 is still free there. Rebuilt on that base:
    • agc_read_written_staging and agc_shader_disk_cache pass on all three devices;
    • a Showcase A/B against main 51cee9031 (warm-up of each, then main / PR / PR / main) repeats the result. GPU busy per present goes from 121.6 / 119.2 ms to 71.7 / 71.6 ms, frame p50 from 199 / 198 ms to 150 / 152 ms, and presents per 10 s from 51 / 51 to 67 / 66. These four traces are in the trace comment below.

PS5 OpenGL Showcase (PPSA99005, v1.0.2), RTX 4060 Laptop (Ada), driver 591.86, Windows 11. Measured in the default scene with APS5_TRACE_SECONDS=15:10 and APS5_SPIRV_OPT=none, alternating main / this PR / this PR / main, after a warm-up run of each. Summary lines (frame_ms, gpu_busy_ms_per_present) are below; the four traces are in the trace comment below, with the rebased runs.

Build presents in 10 s frame p50 frame p90 GPU busy per present
main 92cdc7b62 45 / 45 225.1 / 224.4 ms 234.6 / 229.1 ms 120.7 / 121.1 ms
this PR 57 / 57 177.3 / 175.8 ms 186.7 / 181.8 ms 70.4 / 69.1 ms

With APS5_PROFILE_GPU=1 APS5_TRACE_STAGING=1:

  • main: program 0x21f3d9000 (particle_cs) takes about 53 ms per dispatch. Only the 384 KiB and 40-byte elements are staged.
  • This PR: the 8 MiB element at 0x20c310000 is staged as well. The program takes about 0.1 ms per dispatch, and staging-in and staging-out together cost about 2.2 ms per present.

The rest of the frame is the storage write-backs #6202 addresses, and draws.

Summary lines (main ab1, PR ab1, PR ab2, main ab2) and [gputime] excerpts
{"commit":"92cdc7b6224c","dirty":false,"env":{"APS5_SPIRV_OPT":"none","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"15:10"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 591.86","os":"Windows 10.0.26300","resolution":"3840x2160","window":{"spec":"seconds 15:10","first_present":66,"ms":10176.446},"presents":45,"frame_ms":{"p50":225.113,"p90":234.606,"p99":247.990,"max":247.990},"gpu_busy_ms_per_present":120.651,"worker_busy_pct":{"queue worker 0x0":20.398},"top_phases_ms_per_frame":{"Driver.Packet":45.875,"Driver.Packet.device_lock":23.914,"Driver.Packet.draw":19.817,"Driver.Draw":19.799,"Driver.Draw.draw_enqueued":19.383,"Graphics.Wait":8.401,"Graphics.Wait.fence_wait":8.385,"Driver.Present":6.071},"trace_dropped":false,"trace":"aps5-trace-92cdc7b6224c-6344.json.gz"}
{"commit":"10cb276d1542","dirty":false,"env":{"APS5_SPIRV_OPT":"none","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"15:10"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 591.86","os":"Windows 10.0.26300","resolution":"3840x2160","window":{"spec":"seconds 15:10","first_present":85,"ms":10115.619},"presents":57,"frame_ms":{"p50":177.314,"p90":186.735,"p99":190.276,"max":190.276},"gpu_busy_ms_per_present":70.434,"worker_busy_pct":{"queue worker 0x0":25.654},"top_phases_ms_per_frame":{"Driver.Packet":45.282,"Driver.Packet.device_lock":23.798,"Driver.Packet.draw":20.336,"Driver.Draw":20.315,"Driver.Draw.draw_enqueued":19.898,"Graphics.Wait":8.791,"Graphics.Wait.fence_wait":8.782,"Driver.Present":5.974},"trace_dropped":false,"trace":"aps5-trace-10cb276d1542-23260.json.gz"}
{"commit":"10cb276d1542","dirty":false,"env":{"APS5_SPIRV_OPT":"none","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"15:10"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 591.86","os":"Windows 10.0.26300","resolution":"3840x2160","window":{"spec":"seconds 15:10","first_present":84,"ms":10043.139},"presents":57,"frame_ms":{"p50":175.822,"p90":181.762,"p99":184.328,"max":184.328},"gpu_busy_ms_per_present":69.108,"worker_busy_pct":{"queue worker 0x0":25.654},"top_phases_ms_per_frame":{"Driver.Packet":44.982,"Driver.Packet.device_lock":23.996,"Driver.Packet.draw":20.098,"Driver.Draw":20.079,"Driver.Draw.draw_enqueued":19.671,"Graphics.Wait":8.251,"Graphics.Wait.fence_wait":8.243,"Driver.Present":6.048},"trace_dropped":false,"trace":"aps5-trace-10cb276d1542-28704.json.gz"}
{"commit":"92cdc7b6224c","dirty":false,"env":{"APS5_SPIRV_OPT":"none","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"15:10"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 591.86","os":"Windows 10.0.26300","resolution":"3840x2160","window":{"spec":"seconds 15:10","first_present":66,"ms":10080.598},"presents":45,"frame_ms":{"p50":224.363,"p90":229.074,"p99":235.865,"max":235.865},"gpu_busy_ms_per_present":121.053,"worker_busy_pct":{"queue worker 0x0":19.430},"top_phases_ms_per_frame":{"Driver.Packet":43.307,"Driver.Packet.device_lock":23.296,"Driver.Packet.draw":19.137,"Driver.Draw":19.120,"Driver.Draw.draw_enqueued":18.724,"Graphics.Wait":7.631,"Graphics.Wait.fence_wait":7.620,"Driver.Present":6.047},"trace_dropped":false,"trace":"aps5-trace-92cdc7b6224c-19044.json.gz"}

APS5_PROFILE_GPU=1, main, then this PR (by-program part):

[gputime] 2208 ms of GPU time in 1055 batches over 10 s (batch 5297 ms first to last command; classes 3086 ms, all ranges 5291 ms, untimed 6 ms outside every range; 41 presents; 0 ranges dropped at the 512 cap); by program: 0x21f3d9000 x42 2207ms 0x21f3e5000 x42 1ms;
[gputime] 7 ms of GPU time in 1315 batches over 10 s (batch 3972 ms first to last command; classes 3961 ms, all ranges 3965 ms, untimed 7 ms outside every range; 51 presents; 0 ranges dropped at the 512 cap); by program: 0x21f3d9000 x52 5ms 0x21f3e5000 x52 1ms;

On main, APS5_NO_HOST_IMPORT=1 leaves the dispatch at about 60 ms, so the cost is the shader's access to host memory, not the import.

  • agc_read_written_staging (new ctest entry running readWrittenStagingTests, which only ran in the no-argument mode of agc_driver_recorder_tests, so CI never ran it). New raw cases:

    • a dispatch sweeping a read and written 4 MiB raw element stages it;
    • 1,024 threads touching 32 KiB of it keep it in place;
    • a raw element without an extent keeps it in place.

    It passes on the RTX 4060, the Intel UHD (run with VK_LOADER_DRIVERS_DISABLE=*nv-vk*, since this test picks the discrete GPU) and lavapipe.

  • Negative check: with the sweep test back to descriptor.Stride() alone, as on main, it fails with a dispatch sweeping a read and written 4 MiB raw element bound it in place.

  • agc_shader_disk_cache round-trips bufferExtent.

  • Every agc_ test (600), one at a time, at this PR:

    • RTX 4060: 599 pass or skip. agc_driver_store_over_untracked fails (the first result was not stored). It only stores, so this change doesn't reach it. #6412 reports the same failure on main, starting at af4e074a0; on my machine it passes with a build from before af4e074a0.
    • Intel UHD (NVIDIA hidden with VK_LOADER_DRIVERS_DISABLE=*nv-vk*, so the recorder tests run on it too): passes or skips except the following, none of which goes through buffer staging. I haven't compared these two against main on this device:
      • agc_driver_ds_swizzle, and the image-table tests (bindless_images, image_sint8, image_table, image_table_cache_bounds, image_table_reuse): these also fail on main e858dbd78 on this device;
      • agc_import_watch, at the Windows import probe's settle queue, and agc_sample_dumps, a segfault;
      • agc_driver_store_over_untracked.
    • lavapipe 25.2.8: passes or skips except the same agc_import_watch and store_over_untracked, plus segfaults in depth_fast_clear_submit, depth_storage_dispatch, sample_mask_depth_stencil, stencil_ref_export_unused, stencil_replay and stencil_replay_no_gpl. The stencil ones pass when run alone; the others are the known intermittent lavapipe crashes.
  • The no-argument run of agc_driver_recorder_tests stops at keyProofTests ((9) a scan under a pending write was kept), also in a build of main 760ffa683, before reaching readWrittenStagingTests. That's why the new entry runs the staging test on its own.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none. @fdfawef324's #6412 changes the same lines (it also adds a DescriptorBinding field, extends addGuestBuffer and takes disk-cache format 37), as #5875, #6032 and #6296 do for the format line. Whichever lands second rebases and takes the next format number.
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 4060 Laptop GPU (Ada), driver 591.86, Windows 11; Intel UHD Graphics (Raptor Lake), driver 101.6790, Windows 11; lavapipe (Mesa 25.2.8), Windows 11
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4877035809 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6486). Originally posted by [karanvora2599](https://github.com/karanvora2599) on 2026-10-15T17:08:10Z. --- ### What A compute dispatch that reads and writes most of a raw (stride 0) guest buffer now gets the device-local staging that @oneandonlydean's rule from 2688b7646 already gives strided buffers, up to 16 MiB. This extends their rule; it doesn't replace it. **Title.** PPSA99005, the PS5 OpenGL Showcase ([Game bring-up #6289](https://github.com/boykopovar/AnyPS5/discussions/6289)). @MiguelAdolfsen's #6189 reports its slow scene, and their #6202 addresses the storage round trip described there. This PR addresses the other large cost in the same frame: the particle dispatch. **Background.** Since 2688b7646, a written V# element that the shader also reads (`bufferRead`) is staged in device memory up to 16 MiB when the direct dispatch's threads × V# stride cover at least half of it (`ShaderResources::addGuestBuffer`). A raw buffer has stride 0, so it never passes the test and keeps the 2 MiB written window. GL and Vulkan-style storage buffers compiled by Mesa are raw buffers, so they stay bound in place in the host import, however hard the dispatch sweeps them. The PS5 OpenGL Showcase (PPSA99005) is such a case. `particle_cs` runs 262,144 threads over an 8 MiB SSBO; each thread loads and stores its own 32-byte record. Bound in place, that dispatch takes about 53 ms of GPU per frame on an RTX 4060 Laptop. Staged, it takes about 0.1 ms plus 2.2 ms of bulk copies. With `APS5_NO_HOST_IMPORT=1` it still takes about 60 ms, so the cost is the shader's own loads and stores to host memory, not the import. **How.** - The recompiler already records, per buffer resource, the furthest byte any access reaches past its base (`BufferResource::maxByteExtent`: immediate offset plus access width). `DescriptorBindingBuilder` now copies it into a new `DescriptorBinding::bufferExtent`, one entry per guest buffer element, like `bufferRead`. - `addGuestBuffer` uses it as the record size when the V# stride is 0: swept means `read && dispatchThreads != 0 && recordBytes != 0 && dispatchThreads × recordBytes × 2 ≥ size`. Strided elements are unchanged. - The shader disk cache stores the new vector (format 37), as @oneandonlydean's 2fb7a77ac did for `bufferRead` (format 24). Users' shader caches are rebuilt once after the update. The binding plan is what the driver reads at bind time; the IR resource list it comes from is not kept with it. **Why results don't change.** Staging is the existing path: copy in before the dispatch, bind the device-local buffer in the import's place, copy the whole element back after it. Only the decision to take it changes, for raw elements a dispatch reads, writes and covers. **Where it matters.** Raw storage buffers a dispatch sweeps, between 2 and 16 MiB. A kernel that touches few records of a large raw pool stays in place, as the rule intends: 1,024 threads × 32 bytes against 4 MiB is not swept. A raw element whose accesses carry a large immediate offset (up to 4,095 bytes) overstates its record size; the worst case is a needless copy of at most 16 MiB in and out. ### Tested Windows 11, MinGW-w64 GCC 15.2.0, Release. - **The measurements and the full suite** ran at 10cb276d1: this change on main 92cdc7b62. - **The branch** is now rebased onto main 51cee9031 (bc15be99a). The conflict was `main`'s new `guestBufferBytes` helper next to `addGuestBuffer`, and both are kept. Disk-cache format 37 is still free there. Rebuilt on that base: - `agc_read_written_staging` and `agc_shader_disk_cache` pass on all three devices; - a Showcase A/B against `main` 51cee9031 (warm-up of each, then main / PR / PR / main) repeats the result. GPU busy per present goes from 121.6 / 119.2 ms to 71.7 / 71.6 ms, frame p50 from 199 / 198 ms to 150 / 152 ms, and presents per 10 s from 51 / 51 to 67 / 66. These four traces are in the trace comment below. **PS5 OpenGL Showcase (PPSA99005, v1.0.2)**, RTX 4060 Laptop (Ada), driver 591.86, Windows 11. Measured in the default scene with `APS5_TRACE_SECONDS=15:10` and `APS5_SPIRV_OPT=none`, alternating main / this PR / this PR / main, after a warm-up run of each. Summary lines (`frame_ms`, `gpu_busy_ms_per_present`) are below; the four traces are in the trace comment below, with the rebased runs. | Build | presents in 10 s | frame p50 | frame p90 | GPU busy per present | |---|---|---|---|---| | main 92cdc7b62 | 45 / 45 | 225.1 / 224.4 ms | 234.6 / 229.1 ms | 120.7 / 121.1 ms | | this PR | 57 / 57 | 177.3 / 175.8 ms | 186.7 / 181.8 ms | 70.4 / 69.1 ms | With `APS5_PROFILE_GPU=1 APS5_TRACE_STAGING=1`: - **main:** program 0x21f3d9000 (`particle_cs`) takes about 53 ms per dispatch. Only the 384 KiB and 40-byte elements are staged. - **This PR:** the 8 MiB element at 0x20c310000 is staged as well. The program takes about 0.1 ms per dispatch, and staging-in and staging-out together cost about 2.2 ms per present. The rest of the frame is the storage write-backs #6202 addresses, and draws. <details><summary>Summary lines (main ab1, PR ab1, PR ab2, main ab2) and [gputime] excerpts</summary> ``` {"commit":"92cdc7b6224c","dirty":false,"env":{"APS5_SPIRV_OPT":"none","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"15:10"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 591.86","os":"Windows 10.0.26300","resolution":"3840x2160","window":{"spec":"seconds 15:10","first_present":66,"ms":10176.446},"presents":45,"frame_ms":{"p50":225.113,"p90":234.606,"p99":247.990,"max":247.990},"gpu_busy_ms_per_present":120.651,"worker_busy_pct":{"queue worker 0x0":20.398},"top_phases_ms_per_frame":{"Driver.Packet":45.875,"Driver.Packet.device_lock":23.914,"Driver.Packet.draw":19.817,"Driver.Draw":19.799,"Driver.Draw.draw_enqueued":19.383,"Graphics.Wait":8.401,"Graphics.Wait.fence_wait":8.385,"Driver.Present":6.071},"trace_dropped":false,"trace":"aps5-trace-92cdc7b6224c-6344.json.gz"} {"commit":"10cb276d1542","dirty":false,"env":{"APS5_SPIRV_OPT":"none","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"15:10"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 591.86","os":"Windows 10.0.26300","resolution":"3840x2160","window":{"spec":"seconds 15:10","first_present":85,"ms":10115.619},"presents":57,"frame_ms":{"p50":177.314,"p90":186.735,"p99":190.276,"max":190.276},"gpu_busy_ms_per_present":70.434,"worker_busy_pct":{"queue worker 0x0":25.654},"top_phases_ms_per_frame":{"Driver.Packet":45.282,"Driver.Packet.device_lock":23.798,"Driver.Packet.draw":20.336,"Driver.Draw":20.315,"Driver.Draw.draw_enqueued":19.898,"Graphics.Wait":8.791,"Graphics.Wait.fence_wait":8.782,"Driver.Present":5.974},"trace_dropped":false,"trace":"aps5-trace-10cb276d1542-23260.json.gz"} {"commit":"10cb276d1542","dirty":false,"env":{"APS5_SPIRV_OPT":"none","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"15:10"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 591.86","os":"Windows 10.0.26300","resolution":"3840x2160","window":{"spec":"seconds 15:10","first_present":84,"ms":10043.139},"presents":57,"frame_ms":{"p50":175.822,"p90":181.762,"p99":184.328,"max":184.328},"gpu_busy_ms_per_present":69.108,"worker_busy_pct":{"queue worker 0x0":25.654},"top_phases_ms_per_frame":{"Driver.Packet":44.982,"Driver.Packet.device_lock":23.996,"Driver.Packet.draw":20.098,"Driver.Draw":20.079,"Driver.Draw.draw_enqueued":19.671,"Graphics.Wait":8.251,"Graphics.Wait.fence_wait":8.243,"Driver.Present":6.048},"trace_dropped":false,"trace":"aps5-trace-10cb276d1542-28704.json.gz"} {"commit":"92cdc7b6224c","dirty":false,"env":{"APS5_SPIRV_OPT":"none","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"15:10"},"gpu":"NVIDIA GeForce RTX 4060 Laptop GPU","driver":"NVIDIA 591.86","os":"Windows 10.0.26300","resolution":"3840x2160","window":{"spec":"seconds 15:10","first_present":66,"ms":10080.598},"presents":45,"frame_ms":{"p50":224.363,"p90":229.074,"p99":235.865,"max":235.865},"gpu_busy_ms_per_present":121.053,"worker_busy_pct":{"queue worker 0x0":19.430},"top_phases_ms_per_frame":{"Driver.Packet":43.307,"Driver.Packet.device_lock":23.296,"Driver.Packet.draw":19.137,"Driver.Draw":19.120,"Driver.Draw.draw_enqueued":18.724,"Graphics.Wait":7.631,"Graphics.Wait.fence_wait":7.620,"Driver.Present":6.047},"trace_dropped":false,"trace":"aps5-trace-92cdc7b6224c-19044.json.gz"} ``` `APS5_PROFILE_GPU=1`, main, then this PR (by-program part): ``` [gputime] 2208 ms of GPU time in 1055 batches over 10 s (batch 5297 ms first to last command; classes 3086 ms, all ranges 5291 ms, untimed 6 ms outside every range; 41 presents; 0 ranges dropped at the 512 cap); by program: 0x21f3d9000 x42 2207ms 0x21f3e5000 x42 1ms; [gputime] 7 ms of GPU time in 1315 batches over 10 s (batch 3972 ms first to last command; classes 3961 ms, all ranges 3965 ms, untimed 7 ms outside every range; 51 presents; 0 ranges dropped at the 512 cap); by program: 0x21f3d9000 x52 5ms 0x21f3e5000 x52 1ms; ``` </details> On main, `APS5_NO_HOST_IMPORT=1` leaves the dispatch at about 60 ms, so the cost is the shader's access to host memory, not the import. - `agc_read_written_staging` (new ctest entry running `readWrittenStagingTests`, which only ran in the no-argument mode of `agc_driver_recorder_tests`, so CI never ran it). New raw cases: - a dispatch sweeping a read and written 4 MiB raw element stages it; - 1,024 threads touching 32 KiB of it keep it in place; - a raw element without an extent keeps it in place. It passes on the RTX 4060, the Intel UHD (run with `VK_LOADER_DRIVERS_DISABLE=*nv-vk*`, since this test picks the discrete GPU) and lavapipe. - Negative check: with the sweep test back to `descriptor.Stride()` alone, as on main, it fails with `a dispatch sweeping a read and written 4 MiB raw element bound it in place`. - `agc_shader_disk_cache` round-trips `bufferExtent`. - Every `agc_` test (600), one at a time, at this PR: - **RTX 4060:** 599 pass or skip. `agc_driver_store_over_untracked` fails (`the first result was not stored`). It only stores, so this change doesn't reach it. #6412 reports the same failure on main, starting at af4e074a0; on my machine it passes with a build from before af4e074a0. - **Intel UHD** (NVIDIA hidden with `VK_LOADER_DRIVERS_DISABLE=*nv-vk*`, so the recorder tests run on it too): passes or skips except the following, none of which goes through buffer staging. I haven't compared these two against main on this device: - `agc_driver_ds_swizzle`, and the image-table tests (`bindless_images`, `image_sint8`, `image_table`, `image_table_cache_bounds`, `image_table_reuse`): these also fail on main e858dbd78 on this device; - `agc_import_watch`, at the Windows import probe's settle queue, and `agc_sample_dumps`, a segfault; - `agc_driver_store_over_untracked`. - **lavapipe 25.2.8:** passes or skips except the same `agc_import_watch` and `store_over_untracked`, plus segfaults in `depth_fast_clear_submit`, `depth_storage_dispatch`, `sample_mask_depth_stencil`, `stencil_ref_export_unused`, `stencil_replay` and `stencil_replay_no_gpl`. The stencil ones pass when run alone; the others are the known intermittent lavapipe crashes. - The no-argument run of `agc_driver_recorder_tests` stops at `keyProofTests` (`(9) a scan under a pending write was kept`), also in a build of main 760ffa683, before reaching `readWrittenStagingTests`. That's why the new entry runs the staging test on its own. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none. @fdfawef324's #6412 changes the same lines (it also adds a `DescriptorBinding` field, extends `addGuestBuffer` and takes disk-cache format 37), as #5875, #6032 and #6296 do for the format line. Whichever lands second rebases and takes the next format number. - [x] Unblocks: none - [x] GPUs tested: NVIDIA GeForce RTX 4060 Laptop GPU (Ada), driver 591.86, Windows 11; Intel UHD Graphics (Raptor Lake), driver 101.6790, Windows 11; lavapipe (Mesa 25.2.8), Windows 11 - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-15 17:29:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T17:29:22Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 5656 core/shader/recompiler/ShaderDiskCache.cpp L88-90
PR 6412 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp L425
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L1835, L3965
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp L87
core/shader/recompiler/Recompiler.hpp L452
core/shader/recompiler/ShaderDiskCache.cpp L90, L432, L460
PR 6636 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L3964-3965
PR 6858 core/shader/recompiler/ShaderDiskCache.hpp L16
PR 6924 core/shader/recompiler/ShaderDiskCache.hpp L16
PR 7340 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L1835
PR 7618 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L3983
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp L2634, L2636-2637, L2652, L2657-2660
PR 7689 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp L425
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L1835, L3965
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp L437
core/shader/recompiler/Recompiler.hpp L452
core/shader/recompiler/ShaderDiskCache.cpp L90, L432, L460

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 1341 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 1368 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 1395 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 2434 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 3247 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 4650 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 4891 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5021 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 5371 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
PR 5426 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5431 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5499 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5500 core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 5609 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 5925 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 6044 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6177 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.hpp
PR 6185 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6186 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6188 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/shader/recompiler/Recompiler.hpp
PR 6192 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6194 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6202 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6223 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6235 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.hpp
PR 6280 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 6292 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6300 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6340 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6360 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6451 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6481 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6488 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 6498 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6501 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6503 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Recompiler.hpp
PR 6535 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6539 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6567 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6606 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6612 core/shader/recompiler/Recompiler.hpp
PR 6615 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6639 core/shader/recompiler/Recompiler.hpp
PR 6683 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 6701 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6718 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6743 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6747 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6759 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6762 core/shader/recompiler/Recompiler.hpp
PR 6763 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6788 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6808 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6820 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6868 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6879 core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6937 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6941 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 6946 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6947 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 6963 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6970 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6971 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6972 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6977 core/shader/recompiler/ShaderDiskCache.cpp
PR 7201 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Recompiler.hpp
PR 7223 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 7258 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 7332 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/shader/recompiler/Recompiler.hpp
PR 7390 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 7395 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 7505 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 7514 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7550 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 7604 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 7642 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 7650 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 7684 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6198202516 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6486#issuecomment-6198202516). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T17:29:22Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 5656](https://www.github.com/boykopovar/AnyPS5/pull/5656) | `core/shader/recompiler/ShaderDiskCache.cpp` [L88-90](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/shader/recompiler/ShaderDiskCache.cpp#L88-L90) | | | | [PR 6412](https://www.github.com/boykopovar/AnyPS5/pull/6412) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp` [L425](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp#L425)<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` [L1835](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L1835), [L3965](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L3965)<br>`core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp` [L87](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp#L87)<br>`core/shader/recompiler/Recompiler.hpp` [L452](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/shader/recompiler/Recompiler.hpp#L452)<br>`core/shader/recompiler/ShaderDiskCache.cpp` [L90](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/shader/recompiler/ShaderDiskCache.cpp#L90), [L432](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/shader/recompiler/ShaderDiskCache.cpp#L432), [L460](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/shader/recompiler/ShaderDiskCache.cpp#L460) | | | | [PR 6636](https://www.github.com/boykopovar/AnyPS5/pull/6636) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` [L3964-3965](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L3964-L3965) | | | | [PR 6858](https://www.github.com/boykopovar/AnyPS5/pull/6858) | `core/shader/recompiler/ShaderDiskCache.hpp` [L16](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/shader/recompiler/ShaderDiskCache.hpp#L16) | | | | [PR 6924](https://www.github.com/boykopovar/AnyPS5/pull/6924) | `core/shader/recompiler/ShaderDiskCache.hpp` [L16](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/shader/recompiler/ShaderDiskCache.hpp#L16) | | | | [PR 7340](https://www.github.com/boykopovar/AnyPS5/pull/7340) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` [L1835](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L1835) | | | | [PR 7618](https://www.github.com/boykopovar/AnyPS5/pull/7618) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` [L3983](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L3983)<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` [L2634](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/tests/Recorder.cpp#L2634), [L2636-2637](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/tests/Recorder.cpp#L2636-L2637), [L2652](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/tests/Recorder.cpp#L2652), [L2657-2660](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/tests/Recorder.cpp#L2657-L2660) | | | | [PR 7689](https://www.github.com/boykopovar/AnyPS5/pull/7689) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp` [L425](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp#L425)<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` [L1835](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L1835), [L3965](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L3965)<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp` [L437](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp#L437)<br>`core/shader/recompiler/Recompiler.hpp` [L452](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/shader/recompiler/Recompiler.hpp#L452)<br>`core/shader/recompiler/ShaderDiskCache.cpp` [L90](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/shader/recompiler/ShaderDiskCache.cpp#L90), [L432](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/shader/recompiler/ShaderDiskCache.cpp#L432), [L460](https://github.com/boykopovar/AnyPS5/blob/43797ca8a92713ecbf86206fd49924b24c5d3236/core/shader/recompiler/ShaderDiskCache.cpp#L460) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 1341](https://www.github.com/boykopovar/AnyPS5/pull/1341) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 1368](https://www.github.com/boykopovar/AnyPS5/pull/1368) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 1395](https://www.github.com/boykopovar/AnyPS5/pull/1395) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 2434](https://www.github.com/boykopovar/AnyPS5/pull/2434) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 3247](https://www.github.com/boykopovar/AnyPS5/pull/3247) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 4650](https://www.github.com/boykopovar/AnyPS5/pull/4650) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 4891](https://www.github.com/boykopovar/AnyPS5/pull/4891) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 5371](https://www.github.com/boykopovar/AnyPS5/pull/5371) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp` | | [PR 5426](https://www.github.com/boykopovar/AnyPS5/pull/5426) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5431](https://www.github.com/boykopovar/AnyPS5/pull/5431) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5499](https://www.github.com/boykopovar/AnyPS5/pull/5499) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5500](https://www.github.com/boykopovar/AnyPS5/pull/5500) | `core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 5609](https://www.github.com/boykopovar/AnyPS5/pull/5609) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.hpp` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6177](https://www.github.com/boykopovar/AnyPS5/pull/6177) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 6185](https://www.github.com/boykopovar/AnyPS5/pull/6185) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6186](https://www.github.com/boykopovar/AnyPS5/pull/6186) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 6192](https://www.github.com/boykopovar/AnyPS5/pull/6192) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6194](https://www.github.com/boykopovar/AnyPS5/pull/6194) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6202](https://www.github.com/boykopovar/AnyPS5/pull/6202) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6223](https://www.github.com/boykopovar/AnyPS5/pull/6223) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6235](https://www.github.com/boykopovar/AnyPS5/pull/6235) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 6280](https://www.github.com/boykopovar/AnyPS5/pull/6280) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.hpp` | | [PR 6292](https://www.github.com/boykopovar/AnyPS5/pull/6292) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6340](https://www.github.com/boykopovar/AnyPS5/pull/6340) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6360](https://www.github.com/boykopovar/AnyPS5/pull/6360) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6451](https://www.github.com/boykopovar/AnyPS5/pull/6451) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6481](https://www.github.com/boykopovar/AnyPS5/pull/6481) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6488](https://www.github.com/boykopovar/AnyPS5/pull/6488) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.hpp` | | [PR 6498](https://www.github.com/boykopovar/AnyPS5/pull/6498) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6501](https://www.github.com/boykopovar/AnyPS5/pull/6501) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6503](https://www.github.com/boykopovar/AnyPS5/pull/6503) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 6535](https://www.github.com/boykopovar/AnyPS5/pull/6535) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6539](https://www.github.com/boykopovar/AnyPS5/pull/6539) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6567](https://www.github.com/boykopovar/AnyPS5/pull/6567) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6606](https://www.github.com/boykopovar/AnyPS5/pull/6606) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6612](https://www.github.com/boykopovar/AnyPS5/pull/6612) | `core/shader/recompiler/Recompiler.hpp` | | [PR 6615](https://www.github.com/boykopovar/AnyPS5/pull/6615) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6639](https://www.github.com/boykopovar/AnyPS5/pull/6639) | `core/shader/recompiler/Recompiler.hpp` | | [PR 6683](https://www.github.com/boykopovar/AnyPS5/pull/6683) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.hpp` | | [PR 6701](https://www.github.com/boykopovar/AnyPS5/pull/6701) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6718](https://www.github.com/boykopovar/AnyPS5/pull/6718) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6743](https://www.github.com/boykopovar/AnyPS5/pull/6743) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6747](https://www.github.com/boykopovar/AnyPS5/pull/6747) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6759](https://www.github.com/boykopovar/AnyPS5/pull/6759) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6762](https://www.github.com/boykopovar/AnyPS5/pull/6762) | `core/shader/recompiler/Recompiler.hpp` | | [PR 6763](https://www.github.com/boykopovar/AnyPS5/pull/6763) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6788](https://www.github.com/boykopovar/AnyPS5/pull/6788) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6820](https://www.github.com/boykopovar/AnyPS5/pull/6820) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6868](https://www.github.com/boykopovar/AnyPS5/pull/6868) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6879](https://www.github.com/boykopovar/AnyPS5/pull/6879) | `core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6937](https://www.github.com/boykopovar/AnyPS5/pull/6937) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6941](https://www.github.com/boykopovar/AnyPS5/pull/6941) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.hpp` | | [PR 6946](https://www.github.com/boykopovar/AnyPS5/pull/6946) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.hpp` | | [PR 6963](https://www.github.com/boykopovar/AnyPS5/pull/6963) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6970](https://www.github.com/boykopovar/AnyPS5/pull/6970) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6971](https://www.github.com/boykopovar/AnyPS5/pull/6971) | `core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 6972](https://www.github.com/boykopovar/AnyPS5/pull/6972) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 7223](https://www.github.com/boykopovar/AnyPS5/pull/7223) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.hpp` | | [PR 7258](https://www.github.com/boykopovar/AnyPS5/pull/7258) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 7390](https://www.github.com/boykopovar/AnyPS5/pull/7390) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.hpp` | | [PR 7395](https://www.github.com/boykopovar/AnyPS5/pull/7395) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.hpp` | | [PR 7505](https://www.github.com/boykopovar/AnyPS5/pull/7505) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 7514](https://www.github.com/boykopovar/AnyPS5/pull/7514) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7550](https://www.github.com/boykopovar/AnyPS5/pull/7550) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.hpp` | | [PR 7604](https://www.github.com/boykopovar/AnyPS5/pull/7604) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp` | | [PR 7642](https://www.github.com/boykopovar/AnyPS5/pull/7642) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Recorder.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.hpp` | | [PR 7650](https://www.github.com/boykopovar/AnyPS5/pull/7650) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 7684](https://www.github.com/boykopovar/AnyPS5/pull/7684) | `core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` |
blawesom commented 2026-10-16 17:26:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-16T17:26:15Z.


Rebase handoff — rebased onto current main (authorship unchanged). One conflict, the static_assert size pins in ShaderDiskCache.cpp: this PR's bufferExtent field lands DescriptorBinding at 616 as expected, but RecompileResult measures 464 in the merged tree rather than the PR's 472 — main restructured it while this PR was in flight, so the +8 the PR saw no longer applies. The assert is pinned to the merged actual (464); the encoder/decoder changes for bufferExtent themselves merged cleanly.

Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, BUILD_TESTING=ON, AMD RX 9070 XT / RADV):

  • builds; tools/check_conventions.py --base origin/main passes
  • full suite: 1286/1287 — the only failure is the known main regression (agc_driver_tessellation segfault, #4727), not this PR

To pick it up:

git fetch https://github.com/blawesom/AnyPS5 rebase/6486
git checkout <your branch>
git merge --ff-only FETCH_HEAD

Head is 7920ad274.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6221000341 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6486#issuecomment-6221000341). Originally posted by [blawesom](https://github.com/blawesom) on 2026-10-16T17:26:15Z. --- **Rebase handoff** — rebased onto current `main` (authorship unchanged). One conflict, the `static_assert` size pins in `ShaderDiskCache.cpp`: this PR's `bufferExtent` field lands `DescriptorBinding` at **616** as expected, but `RecompileResult` measures **464** in the merged tree rather than the PR's 472 — `main` restructured it while this PR was in flight, so the +8 the PR saw no longer applies. The assert is pinned to the merged actual (464); the encoder/decoder changes for `bufferExtent` themselves merged cleanly. Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, `BUILD_TESTING=ON`, AMD RX 9070 XT / RADV): - builds; `tools/check_conventions.py --base origin/main` passes - **full suite: 1286/1287** — the only failure is the known `main` regression (`agc_driver_tessellation` segfault, #4727), not this PR **To pick it up:** ``` git fetch https://github.com/blawesom/AnyPS5 rebase/6486 git checkout <your branch> git merge --ff-only FETCH_HEAD ``` Head is `7920ad274`.
karanvora2599 commented 2026-10-18 00:57:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by karanvora2599 on 2026-10-18T00:57:57Z.


Rebased onto main 51cee9031 (bc15be99a). Thanks @blawesom for the rebase handoff. I redid it on my side; the conflict there was main's new guestBufferBytes helper next to addGuestBuffer, and both are kept. On this toolchain RecompileResult is still 472 on main too, so only the DescriptorBinding pin moves (592 → 616), and disk-cache format 37 is still free.

agc_read_written_staging and agc_shader_disk_cache pass on the RTX 4060, the Intel UHD and lavapipe. The Showcase A/B on the new base repeats the result:

Build presents in 10 s frame p50 GPU busy per present
main 51cee9031 51 / 51 199.3 / 198.0 ms 121.6 / 119.2 ms
this PR, bc15be99a 67 / 66 150.0 / 151.6 ms 71.7 / 71.6 ms

The traces for both the original table and this one are attached below.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6243971621 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6486#issuecomment-6243971621). Originally posted by [karanvora2599](https://github.com/karanvora2599) on 2026-10-18T00:57:57Z. --- Rebased onto `main` 51cee9031 (bc15be99a). Thanks @blawesom for the rebase handoff. I redid it on my side; the conflict there was `main`'s new `guestBufferBytes` helper next to `addGuestBuffer`, and both are kept. On this toolchain `RecompileResult` is still 472 on `main` too, so only the `DescriptorBinding` pin moves (592 → 616), and disk-cache format 37 is still free. `agc_read_written_staging` and `agc_shader_disk_cache` pass on the RTX 4060, the Intel UHD and lavapipe. The Showcase A/B on the new base repeats the result: | Build | presents in 10 s | frame p50 | GPU busy per present | |---|---|---|---| | `main` 51cee9031 | 51 / 51 | 199.3 / 198.0 ms | 121.6 / 119.2 ms | | this PR, bc15be99a | 67 / 66 | 150.0 / 151.6 ms | 71.7 / 71.6 ms | The traces for both the original table and this one are attached below.
karanvora2599 commented 2026-10-18 01:28:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by karanvora2599 on 2026-10-18T01:28:34Z.


Traces for the Showcase runs (PPSA99005, RTX 4060 Laptop, driver 591.86, APS5_TRACE_SECONDS=15:10, APS5_SPIRV_OPT=none), in run order.

The table in the description (10cb276d1, this change on main 92cdc7b62):

  1. main 92cdc7b62, ab1: main-ab1-aps5-trace-92cdc7b6224c-6344.json.gz
  2. this PR, ab1: fix-ab1-aps5-trace-10cb276d1542-23260.json.gz
  3. this PR, ab2: fix-ab2-aps5-trace-10cb276d1542-28704.json.gz
  4. main 92cdc7b62, ab2: main-ab2-aps5-trace-92cdc7b6224c-19044.json.gz

The rebased head bc15be99a against main 51cee9031 (my comment above):

  1. main 51cee9031, ab1: main-ab1-aps5-trace-51cee90311b4-38040.json.gz
  2. this PR, ab1: fix-ab1-aps5-trace-bc15be99a770-28328.json.gz
  3. this PR, ab2: fix-ab2-aps5-trace-bc15be99a770-12796.json.gz
  4. main 51cee9031, ab2: main-ab2-aps5-trace-51cee90311b4-21064.json.gz

Each file's summary line is in the description or in that comment, in the same order.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6244222742 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6486#issuecomment-6244222742). Originally posted by [karanvora2599](https://github.com/karanvora2599) on 2026-10-18T01:28:34Z. --- Traces for the Showcase runs (PPSA99005, RTX 4060 Laptop, driver 591.86, `APS5_TRACE_SECONDS=15:10`, `APS5_SPIRV_OPT=none`), in run order. The table in the description (10cb276d1, this change on main 92cdc7b62): 1. main 92cdc7b62, ab1: [main-ab1-aps5-trace-92cdc7b6224c-6344.json.gz](https://github.com/user-attachments/files/33614742/main-ab1-aps5-trace-92cdc7b6224c-6344.json.gz) 2. this PR, ab1: [fix-ab1-aps5-trace-10cb276d1542-23260.json.gz](https://github.com/user-attachments/files/33614747/fix-ab1-aps5-trace-10cb276d1542-23260.json.gz) 3. this PR, ab2: [fix-ab2-aps5-trace-10cb276d1542-28704.json.gz](https://github.com/user-attachments/files/33614748/fix-ab2-aps5-trace-10cb276d1542-28704.json.gz) 4. main 92cdc7b62, ab2: [main-ab2-aps5-trace-92cdc7b6224c-19044.json.gz](https://github.com/user-attachments/files/33614749/main-ab2-aps5-trace-92cdc7b6224c-19044.json.gz) The rebased head bc15be99a against main 51cee9031 (my comment above): 1. main 51cee9031, ab1: [main-ab1-aps5-trace-51cee90311b4-38040.json.gz](https://github.com/user-attachments/files/33614750/main-ab1-aps5-trace-51cee90311b4-38040.json.gz) 2. this PR, ab1: [fix-ab1-aps5-trace-bc15be99a770-28328.json.gz](https://github.com/user-attachments/files/33614751/fix-ab1-aps5-trace-bc15be99a770-28328.json.gz) 3. this PR, ab2: [fix-ab2-aps5-trace-bc15be99a770-12796.json.gz](https://github.com/user-attachments/files/33614752/fix-ab2-aps5-trace-bc15be99a770-12796.json.gz) 4. main 51cee9031, ab2: [main-ab2-aps5-trace-51cee90311b4-21064.json.gz](https://github.com/user-attachments/files/33614753/main-ab2-aps5-trace-51cee90311b4-21064.json.gz) Each file's summary line is in the description or in that comment, in the same order.
karanvora2599 commented 2026-10-18 08:16:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by karanvora2599 on 2026-10-18T08:16:56Z.


A data point for the case where #6202 lands first, since both change the PS5 OpenGL Showcase (PPSA99005). Same laptop and scene as the description: RTX 4060 Laptop, driver 591.86, APS5_TRACE_SECONDS=15:10, APS5_SPIRV_OPT=none, base main 51cee9031. I merged #6202 (60229fae6) locally without conflicts, on its own (8864cfdf3) and on top of this PR (5e8e38b35). The runs were 45 s each, interleaved, in this order; runs 7-10 were a second round, after a warm-up of #6202 on its own.

Run Build Frame p50 / p90 / p99 ms Presents in 10 s GPU busy per present ms Trace
1 main 194.7 / 199.9 / 202.2 52 120.6 run01-main-aps5-trace-51cee90311b4-5516.json.gz
2 this PR 148.0 / 152.1 / 160.6 68 71.5 run02-pr6486-aps5-trace-bc15be99a770-33040.json.gz
3 #6202 + this PR 46.0 / 48.7 / 58.8 215 33.8 run03-pr6202-pr6486-aps5-trace-5e8e38b35b8f-25420.json.gz
4 main 196.6 / 200.1 / 202.7 51 121.3 run04-main-aps5-trace-51cee90311b4-32156.json.gz
5 this PR 148.9 / 151.7 / 157.4 68 71.3 run05-pr6486-aps5-trace-bc15be99a770-26224.json.gz
6 #6202 + this PR 46.2 / 50.9 / 60.6 212 33.8 run06-pr6202-pr6486-aps5-trace-5e8e38b35b8f-18940.json.gz
7 #6202 96.4 / 100.7 / 103.4 104 83.9 run07-pr6202-aps5-trace-8864cfdf3cb1-22948.json.gz
8 #6202 + this PR 46.5 / 49.7 / 60.2 213 33.8 run08-pr6202-pr6486-aps5-trace-5e8e38b35b8f-14048.json.gz
9 #6202 97.8 / 102.5 / 108.7 103 84.9 run09-pr6202-aps5-trace-8864cfdf3cb1-22216.json.gz
10 #6202 + this PR 46.2 / 49.8 / 59.8 213 33.7 run10-pr6202-pr6486-aps5-trace-5e8e38b35b8f-22780.json.gz

With #6202 in, this PR still takes the frame from about 97 ms to 46 ms, and the GPU time per present from about 84 ms to 34 ms. The title's own counter agrees: about 5.0 fps on main, 6.5 with this PR, 9.7 with #6202 and 19.5 with both.

With both, APS5_PROFILE_GPU=1 puts 31-39 ms per present in the 18 draws. particle_cs (0x21f3d9000) is down to about 0.1 ms per dispatch, and the staging copies take about 2 ms per present. agc_read_written_staging and agc_driver_array_layer_target pass on the merge.

Thanks @MiguelAdolfsen for #6202.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6247540479 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6486#issuecomment-6247540479). Originally posted by [karanvora2599](https://github.com/karanvora2599) on 2026-10-18T08:16:56Z. --- A data point for the case where #6202 lands first, since both change the PS5 OpenGL Showcase (PPSA99005). Same laptop and scene as the description: RTX 4060 Laptop, driver 591.86, `APS5_TRACE_SECONDS=15:10`, `APS5_SPIRV_OPT=none`, base `main` 51cee9031. I merged #6202 (60229fae6) locally without conflicts, on its own (8864cfdf3) and on top of this PR (5e8e38b35). The runs were 45 s each, interleaved, in this order; runs 7-10 were a second round, after a warm-up of #6202 on its own. | Run | Build | Frame p50 / p90 / p99 ms | Presents in 10 s | GPU busy per present ms | Trace | |---|---|---|---|---|---| | 1 | `main` | 194.7 / 199.9 / 202.2 | 52 | 120.6 | [run01-main-aps5-trace-51cee90311b4-5516.json.gz](https://github.com/user-attachments/files/33624445/run01-main-aps5-trace-51cee90311b4-5516.json.gz) | | 2 | this PR | 148.0 / 152.1 / 160.6 | 68 | 71.5 | [run02-pr6486-aps5-trace-bc15be99a770-33040.json.gz](https://github.com/user-attachments/files/33624446/run02-pr6486-aps5-trace-bc15be99a770-33040.json.gz) | | 3 | #6202 + this PR | 46.0 / 48.7 / 58.8 | 215 | 33.8 | [run03-pr6202-pr6486-aps5-trace-5e8e38b35b8f-25420.json.gz](https://github.com/user-attachments/files/33624447/run03-pr6202-pr6486-aps5-trace-5e8e38b35b8f-25420.json.gz) | | 4 | `main` | 196.6 / 200.1 / 202.7 | 51 | 121.3 | [run04-main-aps5-trace-51cee90311b4-32156.json.gz](https://github.com/user-attachments/files/33624448/run04-main-aps5-trace-51cee90311b4-32156.json.gz) | | 5 | this PR | 148.9 / 151.7 / 157.4 | 68 | 71.3 | [run05-pr6486-aps5-trace-bc15be99a770-26224.json.gz](https://github.com/user-attachments/files/33624449/run05-pr6486-aps5-trace-bc15be99a770-26224.json.gz) | | 6 | #6202 + this PR | 46.2 / 50.9 / 60.6 | 212 | 33.8 | [run06-pr6202-pr6486-aps5-trace-5e8e38b35b8f-18940.json.gz](https://github.com/user-attachments/files/33624455/run06-pr6202-pr6486-aps5-trace-5e8e38b35b8f-18940.json.gz) | | 7 | #6202 | 96.4 / 100.7 / 103.4 | 104 | 83.9 | [run07-pr6202-aps5-trace-8864cfdf3cb1-22948.json.gz](https://github.com/user-attachments/files/33624456/run07-pr6202-aps5-trace-8864cfdf3cb1-22948.json.gz) | | 8 | #6202 + this PR | 46.5 / 49.7 / 60.2 | 213 | 33.8 | [run08-pr6202-pr6486-aps5-trace-5e8e38b35b8f-14048.json.gz](https://github.com/user-attachments/files/33624457/run08-pr6202-pr6486-aps5-trace-5e8e38b35b8f-14048.json.gz) | | 9 | #6202 | 97.8 / 102.5 / 108.7 | 103 | 84.9 | [run09-pr6202-aps5-trace-8864cfdf3cb1-22216.json.gz](https://github.com/user-attachments/files/33624458/run09-pr6202-aps5-trace-8864cfdf3cb1-22216.json.gz) | | 10 | #6202 + this PR | 46.2 / 49.8 / 59.8 | 213 | 33.7 | [run10-pr6202-pr6486-aps5-trace-5e8e38b35b8f-22780.json.gz](https://github.com/user-attachments/files/33624459/run10-pr6202-pr6486-aps5-trace-5e8e38b35b8f-22780.json.gz) | With #6202 in, this PR still takes the frame from about 97 ms to 46 ms, and the GPU time per present from about 84 ms to 34 ms. The title's own counter agrees: about 5.0 fps on `main`, 6.5 with this PR, 9.7 with #6202 and 19.5 with both. With both, `APS5_PROFILE_GPU=1` puts 31-39 ms per present in the 18 draws. `particle_cs` (0x21f3d9000) is down to about 0.1 ms per dispatch, and the staging copies take about 2 ms per present. `agc_read_written_staging` and `agc_driver_array_layer_target` pass on the merge. Thanks @MiguelAdolfsen for #6202.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6486
No description provided.