feat(agc): GPU descriptor heap on VK_EXT_descriptor_heap (APS5_GPU_HEAP) #9508
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9508"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Raghav314 on 2026-10-21T23:49:40Z.
What
An opt-in GPU descriptor heap,
APS5_GPU_HEAP=1, built onVK_EXT_descriptor_heap. Draws and dispatches stop rebuilding and binding descriptor sets on the CPU. It builds on the draw pipeline (#6946, merged) and replaces #6947, which is closed.APS5_GPU_HEAP_EXCLUDEis the only way to send a stage per-draw with the heap on, as a debug aid.APS5_HEAP_SLOT_CAP). Its length reaches shaders as a specialization constant, the way vkd3d-proton sizes its heap arrays at pipeline creation.APS5_NO_TIMELINEwithAPS5_GPU_HEAPfails at device creation).VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_ADDRESS_EXT. The size keeps the PS5's bounds rule (out-of-range loads read zero), which D3D12 root descriptors don't have. Buffers past four, or past the room left in the push data, go to a per-draw overflow block read by address. A buffer the stage only reads with scalar loads at constant offsets, within 64 KiB, is mapped as a uniform buffer, as vkd3d-proton maps root CBVs, when the device hasuniformBufferStandardLayoutand a uniform offset alignment of at most 256. Buffer addresses come from where the buffers are made, as vkd3d-proton keeps a resource's VA, so no draw asks the driver for one. The driver writes no buffer descriptors per draw, and the resource heap holds only image slots. Heap stages of address-based draws read guest memory in place, as the BDA table and the hardware do.pEmbeddedSampler), as vkd3d-proton maps static samplers, deduplicated across pipelines. Past the device'smaxDescriptorHeapEmbeddedSamplersit reads a sampler heap slot at a fixed offset.gpuResolvedImages): its image metadata names the binding element, and the driver writes the resolved heap slots into its shader data. Covered: sampled and storage images and samplers; image, storage image and sampler tables, image atomics through tables included; color target merges; dynamic-resolution image table variants.vkCmdPushDataEXT, like vkd3d-proton's meta shaders, so they don't put the command buffer back in classic descriptor mode.HeapStageWords), filled straight from the draw's words. Templates are kept withinAPS5_HEAP_TEMPLATE_MIBand found through a per-thread front table.vkWriteResourceDescriptorsEXTagain (keyed by view, layout and kind, with a generation check), as vkd3d-proton copies CPU descriptors.APS5_HEAP_NO_CACHE=all|heap|<name>,...bypasses the remaining heap and shared draw caches by name.agc_shader_replaykeeps a captured request's heap profile, and--gpu-heap/--no-gpu-heapoverride it.VK_EXT_descriptor_heapis an older revision than the released one (specVersionbelowVK_EXT_DESCRIPTOR_HEAP_SPEC_VERSION; a pre-release revision crashed every heap test on an earlier 595.99.02 build, and 595.99.02 now runs the heap), or whenVK_LAYER_KHRONOS_validationolder than 1.4.363 is enabled (older layers check heap push data against the pre-heap rules).VK_EXT_descriptor_heap.APS5_GPU_HEAPunset:APS5_NO_OWN_IMAGE_REFRESHturns this off.VK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXTonly when the graphics pipeline library is in use. The flag is invalid without that feature (VUID-VkPipelineLayoutCreateInfo-graphicsPipelineLibrary-06753), and only pipelines linked from libraries read it.APS5_VERIFY_GPU_HEAP=1checks heap slots against the bound textures, images and views and the GPU-read constants, rebuilds 1 in N GPU-mode stages on the per-draw path and compares them, compares pushed ranges and relocated ring hits, and throws at the draw when anything differs.APS5_GPU_HEAP_EXCLUDEsends stage classes (compute,pixel, ...,tables,storage,sampled) to the per-draw path while the heap stays on, for bisecting.APS5_PIPELINE_STATS=2adds a[gpu-heap]line every 10 s with heap and plain draws and dispatches, data pool MiB written, and slots held, evicted and waited for.PPSA36082 (Hades II)
Title and scene: PPSA36082 (Hades II) 01.006.000, the hub (Crossroads), player standing still, 1920x1080,
APS5_TRACE_SECONDS=60:10. Captured as the Performance report form describes: same machine, scene and settings, in one session on 2026-10-31,mainfirst; caches warm (each build ran once into the hub and the title was restarted before its captures; no shader cache file was written during any capture); no otherAPS5_TRACE_*orAPS5_PROFILE_*switch; log not redirected (each capture ran in its own terminal window). All withAPS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1. Every build had its submodules at their pins ("dirty":false).Current
mainstill stops Hades II while the hub loads (native multisample depth metadata fill transition is not implemented, thenexternal GPU writes over native multisample depth are not implementedwith #6300 alone). #9533 (EagleBearerYS) fixes both, so both builds have #9533 (dcf420ec7f) merged locally, without conflicts:main0835ec8bdc+ #9533: local merge 9837bacfcd;95e1f33742+ #9533: local merge 37724aa768.main0835ec8bdc+ #9533,APS5_DRAW_PIPELINE=195e1f33742+ #9533,APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1main0835ec8bdc+ #9533 (no draw pipeline)The first two rows are the comparison (same draw pipeline, captured back to back): with the heap the frame p50 is 8% lower and presents 8% higher. The GPU is busy about 2.3 ms of a 10 ms frame in all of them: Hades II is bound by the queue worker recording draws, which is what the heap shortens. The third row is
mainwith its default settings, for reference.Changes since the Hades II capture
The captures ran on
95e1f33742. The head adds, besides merges ofmain:7035a25dfb);4c2a741970, runtime ABI 17);b385f6bd79), buffer addresses carried from where buffers are made (0c27c510e5), push data copied in runs with binary-searched address overrides (1bedba2713,0433c01751), a stage's user block reused when its inputs did not change (b92b489ce0), a per-thread template front table (af655a4ccb), relocated heap draws patching their ring words (f208a0245e);c9a4ea4d87tobf28d721f0,7a3eecfaa7);5204b8a4d4);bcd73c1fb7), and shader request dumps are written for heap draw stages (fd6cf2c100).Hades II has not been recaptured on the head.
Summary lines
main0835ec8bdc+ #9533,APS5_DRAW_PIPELINE=1this PR
95e1f33742+ #9533,APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1main0835ec8bdc+ #9533 (no draw pipeline)Traces:
main0835ec8bdc+ #9533,APS5_DRAW_PIPELINE=1: aps5-trace-9837bacfcdac-823993.json.gz95e1f33742+ #9533,APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1: aps5-trace-37724aa7680e-824541.json.gzmain0835ec8bdc+ #9533 (no draw pipeline): aps5-trace-9837bacfcdac-821781.json.gzDigests (
python3 tools/trace_digest.py <trace>)`main`
0835ec8bdc+ #9533, `APS5_DRAW_PIPELINE=1`seconds 60:10 from present 5794: 952 presents, frame p50 10.4 / p90 11.2 / p99 12.3 / max 13.4 ms, GPU busy 2.3 ms per present
NVIDIA GeForce RTX 4090, NVIDIA 615.78.08, Linux 7.3.0-3-cachyos, 1920x1080, commit 9837bacfcdac, dropped: no
Slowest frames (largest slices inside each, inclusive)
Threads (ms per frame)
Largest slices (ms per frame, inclusive, all threads): Graphics.Draw 2.9, batch 2.3, Driver.Packet 2.2, Graphics.Draw.draw_and_resource_release 2.1, Driver.Packet.draw 1.5, Driver.Draw 1.5, Driver.DrawFinish 1.5, Driver.DrawFinish.draw_enqueued 1.0, Driver.Draw.prepare 0.6, Driver.Draw.draw_handed_off 0.6
Longest waits
Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)
this PR
95e1f33742+ #9533, `APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1`seconds 60:10 from present 6131: 1032 presents, frame p50 9.6 / p90 10.7 / p99 11.9 / max 13.2 ms, GPU busy 2.3 ms per present
NVIDIA GeForce RTX 4090, NVIDIA 615.78.08, Linux 7.3.0-3-cachyos, 1920x1080, commit 37724aa7680e, dropped: no
Slowest frames (largest slices inside each, inclusive)
Threads (ms per frame)
Largest slices (ms per frame, inclusive, all threads): batch 2.3, Driver.Packet 1.8, Driver.Packet.draw 1.3, Driver.Draw 1.2, Graphics.Draw 1.1, Driver.DrawFinish 1.1, Graphics.Draw.draw_and_resource_release 0.9, Driver.Draw.prepare 0.7, Driver.DrawFinish.draw_enqueued 0.6, Recorder.Sync 0.5
Longest waits
Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)
`main`
0835ec8bdc+ #9533 (no draw pipeline)seconds 60:10 from present 5563: 902 presents, frame p50 11.0 / p90 11.8 / p99 12.9 / max 15.2 ms, GPU busy 2.4 ms per present
NVIDIA GeForce RTX 4090, NVIDIA 615.78.08, Linux 7.3.0-3-cachyos, 1920x1080, commit 9837bacfcdac, dropped: no
Slowest frames (largest slices inside each, inclusive)
Threads (ms per frame)
Largest slices (ms per frame, inclusive, all threads): Graphics.Draw 2.8, Driver.Packet 2.8, Driver.Packet.draw 2.7, Driver.Draw 2.6, batch 2.4, Graphics.Draw.draw_and_resource_release 2.0, Driver.Draw.shader_compile_and_link 0.5, Driver.Draw.draw_enqueued 0.5, VideoOut.Flip 0.4, VideoOut.Flip.present 0.4
Longest waits
Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)
Previous capture (superseded):
main1189ec3003+ #9533 against this PRd8c243bb46+ #9533, 2026-10-30main1189ec3003+ #9533d8c243bb46+ #9533,APS5_DRAW_PIPELINE=1d8c243bb46+ #9533,APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1Traces: https://github.com/Raghav314/AnyPS5/releases/tag/perf-traces-9508-hades-hub
Earlier comparison (superseded):
maina6dcea927+ #6300 against this PR 23b2a3fc2d + #6300That comparison is kept for the record. Its
maintrace (de49f41349a9) reporteddropped: yes: the trace dropped events, so its digest undercounts slices for that capture, while its summary line's frame times are complete. The two PR traces reporteddropped: no. None of the three captures above dropped events.Title and scene: PPSA36082 (Hades II), the hub (Crossroads), player standing still,
APS5_TRACE_SECONDS=120:10. Caches warm: each setting was run once into the hub and the title restarted before its capture. No otherAPS5_TRACE_*orAPS5_PROFILE_*switch, log not redirected (the title ran in a terminal). All three withAPS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1and nothing else changed.Current
mainstops Hades II while the hub loads (native multisample depth metadata fill transition is not implemented), so every build here has #6300 merged locally. Themainbuild isa6dcea927+ #6300 (local merge commit de49f41349); this PR's is 23b2a3fc2d + #6300 (local merge commit 568369d27a), the PR as of the descriptor heap rebind fix onmaina6dcea927. Since then the PR's commits changed only by test-only commits and rebases onto newermain; the numbers were not captured again on the current head.maina6dcea927+ #6300APS5_DRAW_PIPELINE=1APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1The heap is +14% over the draw pipeline alone and +44% over
main.Summary lines
maina6dcea927+ #6300this PR + #6300,
APS5_DRAW_PIPELINE=1this PR + #6300,
APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1Traces:
maina6dcea927+ #6300:aps5-trace-de49f41349a9-624652.json.gzaps5-trace-de49f41349a9-624652.json.gzthis PR + #6300,
APS5_DRAW_PIPELINE=1:aps5-trace-568369d27a2e-626697.json.gzaps5-trace-568369d27a2e-626697.json.gzthis PR + #6300,
APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1:aps5-trace-568369d27a2e-625697.json.gzaps5-trace-568369d27a2e-625697.json.gzDigests (
python3 tools/trace_digest.py <trace>)`main`
a6dcea927+ #6300seconds 120:10 from present 8859: 706 presents, frame p50 14.0 / p90 15.7 / p99 18.7 / max 25.1 ms, GPU busy 2.2 ms per present
NVIDIA GeForce RTX 4090, NVIDIA 615.78.08, Linux 7.2.10-1-cachyos, 1920x1080, commit de49f41349a9, dropped: yes
Slowest frames (largest slices inside each, inclusive)
Threads (ms per frame)
Largest slices (ms per frame, inclusive, all threads): Driver.Packet 3.6, Driver.Packet.draw 3.5, Driver.Draw 3.4, Graphics.Draw 2.5, batch 2.2, Graphics.Draw.draw_and_resource_release 1.6, Driver.Draw.shader_compile_and_link 1.4, Recorder.Sync 0.3, VideoOut.Flip 0.3, VideoOut.Flip.present 0.3
Longest waits
Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)
this PR + #6300, `APS5_DRAW_PIPELINE=1`
seconds 120:10 from present 10851: 886 presents, frame p50 11.2 / p90 12.1 / p99 13.7 / max 41.2 ms, GPU busy 2.3 ms per present
NVIDIA GeForce RTX 4090, NVIDIA 615.78.08, Linux 7.2.10-1-cachyos, 1920x1080, commit 568369d27a2e, dropped: no
Slowest frames (largest slices inside each, inclusive)
Threads (ms per frame)
Largest slices (ms per frame, inclusive, all threads): Graphics.Draw 2.6, Driver.Packet 2.4, batch 2.3, Driver.Packet.draw 1.9, Driver.Draw 1.8, Graphics.Draw.draw_and_resource_release 1.8, Driver.DrawFinish 1.7, Driver.DrawFinish.draw_enqueued 1.0, Driver.Draw.prepare 0.9, Driver.Draw.draw_handed_off 0.5
Longest waits
Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)
this PR + #6300, `APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1`
seconds 120:10 from present 12138: 1014 presents, frame p50 9.7 / p90 10.7 / p99 12.1 / max 17.6 ms, GPU busy 2.1 ms per present
NVIDIA GeForce RTX 4090, NVIDIA 615.78.08, Linux 7.2.10-1-cachyos, 1920x1080, commit 568369d27a2e, dropped: no
Slowest frames (largest slices inside each, inclusive)
Threads (ms per frame)
Largest slices (ms per frame, inclusive, all threads): batch 2.1, Driver.Packet 2.0, Driver.Packet.draw 1.6, Driver.Draw 1.5, Driver.DrawFinish 1.4, Graphics.Draw 1.2, Graphics.Draw.draw_and_resource_release 1.0, Driver.DrawFinish.draw_enqueued 0.8, Driver.Draw.prepare 0.7, Driver.Draw.draw_handed_off 0.6
Longest waits
Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)
Where this can take more frame rate
The heap moves descriptor work off the CPU, but CPU-bound titles are still bound by the threads recording draws. Follow-ups that build on the heap:
Contributions
d600dfa9b1,9188f74501), matching cached draws' stages in one heap mode (96f38b89a7), the Ghost of Tsushima bisect, and the MGS4 heap runs and debug-build crash reports.1817bbed4b,270d43a865,758d23c805), the byte cap of the heap walk memo (b7ac0d6179), and the Windows builds of the heap tests.31d84cfedc), the ElementFlags sizes in the heap budget helpers (15c9133cba), the relocated-hit test under entry verification (10d2e59d25), the ring stage draw key with moved-buffer templates off (f07da0c3e8), uniform constant buffer validation underuniformBufferStandardLayout(3f20fdd36f), the disk cache format move (d943ee902e), and the merges ofmaininto the branch (dfcd2351c4,18247ffb6e).165df4827a).1a7d1b770b).Tested
Linux 7.3.3-1-cachyos (CachyOS), x86-64, GCC, Ryzen 7 7800X3D / RTX 4090, NVIDIA 620.70.06. The AGC, shader and recompiler tests, each mode with
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 APS5_NO_PIPELINE_BINARIES=1and the validation layer:c1c98c10bd(head): 1422 tests per mode pass in default and heap mode, 0VUID-.b635a721be(the same branch code before the last two merges ofmain): 1417 tests per mode pass in default, heap, and heap withAPS5_VERIFY_GPU_HEAP=1, 0VUID-. With the heap and the draw pipeline (APS5_DRAW_PIPELINE=1 APS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1) all pass exceptagc_driver_queued_constant_ram_dumpandagc_driver_draw_recapture_on_change_inline, which are not written for the draw finisher and fail the same way on earlier heads.*_gpu_heaptests run the draw pipeline PR's switched tests and the sampling, table, atomics, compute, mesh relocation, thread-dimension dispatch, eviction and dynamic-resolution variant tests withAPS5_GPU_HEAP=1 APS5_VERIFY_GPU_HEAP=1. New tests were checked against the code before their fix.dd7120c648merged ontomainon an RTX 3080 Ti (NVIDIA 615.78.08): 3,121 passed, 49 skipped; the one failure,agc_driver_idle_store_yields, also fails onmain.Known limits
APS5_HEAP_SLOT_CAPfar below the default, stages that each fit can still exhaust the heap between their compile and their bind, because the nearly-full margin scales with the cap.VK_EXT_descriptor_heap, timeline semaphores, and heaps that hold the shared image slot pool and 2048 samplers. Other devices run the existing path.eb606888ccand95e1f33742fixed the two heap paths that made such stores write zeros (multisampled targets, and uint stores through image tables), each with a_gpu_heaptest. milescoviello confirmed the white-out is gone, and the full heap runs in-game to his 1,200 s timeout.7035a25dfb). It has not reproduced here underglibc.malloc.check=3, ASan or ThreadSanitizer; his rerun on the current head is pending.Testing other titles
Please post:
APS5_TRACE_SECONDS=70:10, captured as the Performance report form describes: warm caches, no other trace or profile switch, log not redirected) withAPS5_DRAW_PIPELINE=1and withAPS5_GPU_HEAP=1 APS5_DRAW_PIPELINE=1, both withAPS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1and nothing else changed;APS5_VERIFY_GPU_HEAP=1, the last[heap-slots]and[gpu-heap]lines (a slot holding another texture or a differing stage is a bug).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T23:49:55Z.
This pull request is labeled
perf, so it needs the summary line of a capture onmainand one with the change, from the same title, scene and machine, as the Performance report form asks. Please paste bothaps5-summary.jsonllines, attach the two traces and add the output oftools/trace_digest.py.Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-21T23:54:33Z.
@Raghav314 thanks for the clear notes on what was dropped and what #9508 keeps. We'll measure #9508 on Resident Evil Village (PPSA01556) on our RTX 3070 Laptop GPU, whose driver (617.42) exposes
VK_EXT_descriptor_heap. We'll rebase #7642's table part onto #9508, and once we've read the ring's image-table map, we'd like to take you up on looking at the ABI together.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T00:22:12Z.
One checklist detail appears inconsistent with the repository rule for
Unblocks: it currently names PR #7642, while the checklist requires a title ID and its Game bring-up discussion (ornone). Since this PR documents a Hades II performance result and does not identify a title stop it fixes, please useUnblocks: noneunless there is a specific title issue this change unblocks; in that case, please name the title ID and discussion. This keeps the title-priority tracking accurate.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T01:18:24Z.
Review: CHANGES_REQUESTED
The updated body now satisfies the performance-report format with same-scene summary lines, trace attachments and digests; I withdraw that earlier concern. I am requesting changes for a separate correctness gap in the non-heap fallback. In
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp,shader.heapis nullable andheapStageis set when any stage is in GPU mode. InComplete()/build(), theif (heapStage) RefreshHeapStage(shaders);call applies to the entire shader span.RefreshHeapStage(Execution/src/Driver/Draw/HeapStages.cpp) requires every shader stage to be GPU mode and to have a heap-backed descriptor plan. But this PR’s stated fallback explicitly allows a stage whose module cannot map onto the heap, or a mixed draw, to use the existing per-draw path. A graphics pipeline with one heap-eligible stage and one ineligible stage therefore appears to take the documented mixed/per-draw fallback and then hit aRequirewhile refreshing all stages. Please either make refresh handle the mixed set by skipping non-heap stages (and keep their per-draw resources valid), or route the entire draw through the per-draw path beforeheapStageis marked. Add a regression with mixed eligible/ineligible stages on an extension-capable device, or a test of the selection/refresh helper. Hosted relinker matrix and ASan, eligibility/conventions/intake/report checks pass; product Linux/Windows jobs are skipped. The Windows runtime and title measurements in the body are author-reported. I did not run local GPU tests.Imported from boykopovar/AnyPS5. Originally posted by Raghav314 on 2026-10-22T01:31:57Z.
@MarcZX10 thanks for looking.
RefreshHeapStageis inShaderResources.cppand only writes GPU-mode stages; non-GPU stages are skipped. Mixed draws don't reach the build:Draw.cpp(themixedHeapretry) reruns a draw whose guest stages come out mixed on the per-draw path before any resources are built, and refuses the heap for that stage pair on a second mix, soheapStageis never set for a mixed guest set. What was missing was a test of that path:agc_driver_heap_draw_sample_heapnow draws a heap vertex stage with a fragment stage that fails the heap mapping (through a test-only switch,SetHeapStageUnmapped), and checks the image, that the draw retries on the per-draw path once, and that a repeat draw of the pair stays per-draw. With the retry removed, that draw throws "a pipeline with GPU-mode stages does not map onto VK_EXT_descriptor_heap".LLM assistance used.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T01:53:57Z.
Review: CHANGES_REQUESTED
The author has added the missing mixed-stage regression and clarified the path it exercises. I reviewed that update and withdraw my earlier mixed-stage correctness concern: the test now covers the heap-eligible vertex plus an unmappable fragment, verifies image output, checks one retry to per-draw, and checks the repeated pair remains per-draw.
I am keeping the review at changes requested for the new hosted Windows relinker result. That run completed 232/233 tests and failed only
conventions_function_bodies_shard_11by timeout. Since the other 232 passed and the failure is a timeout, it may be a runner-load issue, but the check is currently red; please rerun it or provide a green Windows matrix result before merge. The other hosted relinker jobs (Ubuntu, macOS arm64/x86_64 and ASAN), conventions, eligibility, labels and report checks pass. Linux/Windows product jobs are skipped. The Hades II trace evidence and Vulkan validation comparison are author-reported; I did not run local GPU tests.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T01:53:58Z.
I reviewed the new mixed-stage fallback regression and withdraw my earlier correctness concern; it now covers the eligible/unmappable stage pair and per-draw retry. The latest Windows relinker run is still red: 232/233 tests passed, with
conventions_function_bodies_shard_11timing out. Please rerun the Windows matrix or provide a green result. Ubuntu, both macOS architectures, ASAN, conventions and policy checks pass; product builds are skipped.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T02:04:13Z.
The new performance evidence in the PR still does not meet the repository report rule for a
perfchange: the report describes Hades II with instrumentedAPS5_PROFILE_DRAW/trace switches and non-matching capture windows, but does not include two compliant warm-cache summary lines from the same scene/settings/machine, the attached base/change traces, ortools/trace_digest.pyoutput. The title instructions also use extra profile/event switches, which are useful diagnostics but do not substitute for the prescribed performance capture. Please add the compliant comparison artifacts or remove the speed claim/perf labeling. AGC changes also require same-focused-test validation on main and change with the Khronos layer,ANYPS5_NO_SHADER_CACHE=1andANYPS5_REQUIRE_VULKAN=1, including layer-found and VUID comparison; the current report says the GPU-heap tests had no VUID errors but does not document the required main/change comparison. Hosted product builds were skipped; I did not run local tests.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T02:04:14Z.
Review: CHANGES_REQUESTED
The new mixed-stage fallback test resolves my previous code-path concern, and the Linux test report is useful. I am requesting changes for the repository-required evidence only: this
perfPR needs compliant same-scene/same-machine warm-cache summary lines, attached base/change traces andtools/trace_digest.pyoutput, and the AGC main/change focused validation-layer comparison. Please add those artifacts or remove the performance claim/perf labeling. I did not run local tests; hosted Linux/Windows product jobs were skipped.Imported from boykopovar/AnyPS5. Originally posted by Raghav314 on 2026-10-22T02:54:09Z.
@MarcZX10 thanks, updated the description.
Your points on warm caches,
APS5_TRACE_EVENTS, the redirected log and the missingmain/change validation comparison were right, and are addressed below. Three things in the review didn't match the earlier description, though:APS5_PROFILE_*switch and did not mentionAPS5_PROFILE_DRAW.APS5_TRACE_SECONDS=120:10in the same scene.trace_digest.pyoutput was included for all three captures.What changed:
APS5_TRACE_SECONDS=120:10, warm caches (each setting run once into the hub and the title restarted), no otherAPS5_TRACE_*/APS5_PROFILE_*switch, log not redirected, same machine. Summary lines, traces andtrace_digest.pyoutput formain+ #6300,APS5_DRAW_PIPELINE=1, andAPS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1are in the description (706 → 886 → 1014 presents / 10 s). "Testing other titles" no longer asks for extra switches.mainand on this PR, plus the 80 heap tests on this PR, withVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ANYPS5_NO_SHADER_CACHE=1 ANYPS5_REQUIRE_VULKAN=1: the layer was found in both logs, and there are 0VUID-errors on both.VUID-vkCmdDispatch-None-11308in the heap compute tests: push constants put the command buffer back in classic descriptor mode without the heaps being bound again (fixed in this PR, last commit).LLM assistance used.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:22:09Z.
Review: CHANGES_REQUESTED
Correction to my 02:04 review: I rechecked the current body against the performance form and the author's 02:54 response. I withdraw my claim that the required summary lines, warm-cache capture details, trace digests, or AGC validation-layer comparison are missing. The body now reports the same-machine comparison and 54 matching base tests / 134 change tests; the layer is found in both logs with zero VUID errors. Hosted relinker jobs also now pass, resolving the earlier Windows timeout.
Two items still need correction before merge:
aps5-trace-de49f41349a9-624652.json.gzbut links to the568369d27a2e-625697heap capture; the heap bullet names568369d27a2e-625697but links to thede49f41349a9-624652main capture. Please correct the attachments/links so each scenario points to its own trace. The baseline trace also reportstrace_dropped: true; please keep that limitation explicit when describing its trace detail.a6dcea9279(plus the declared #6946/#6300 overlays), while current upstream main isc61d20f54801efc3798555829f6fedcff71ad7ff. Please update the branch and rerun conventions/overlap and the focused validation comparison on the updated tree. For the performance comparison, retain the #6300 integration needed to reach the same Hades II scene and identify the exact current-main integration base in the report.The mixed-stage fallback regression and the latest hosted relinker matrix resolve my earlier code-path and timeout concerns. I did not run local GPU tests.
Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T04:38:53Z.
@Raghav314, an overlap note from #9503 (mine), which the reviewer asked me to coordinate with you.
Both PRs change the same
vkCmdBindDescriptorSetsline inSampleOrder.cpp, in the sampled depth pass:drawlambda, right aftervkCmdBindPipeline. Its descriptor set was bound before any pipeline. On AMD that left the second pass with a layout the bound pipeline didn't match, and led to theagc_driver_sample_order_grid_referencedevice loss (#9507).CmdBindDescriptorSets(..., SetBindSite::Detiler).The two changes don't contradict each other. Whichever lands second keeps both: your wrapped call, placed inside the lambda after
vkCmdBindPipeline. The storage-pass hunk at line 175 is yours alone.#9503 is a one-line fix that has already been validated on two AMD drivers, so I'd suggest it goes first. Your rebase would then be just moving the wrapped call into the lambda. If you'd rather land first, I'll rebase #9503 onto yours instead. Either order works for me; tell me which.
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T04:40:29Z.
@Raghav314 a merge-order note for two small drafts next to this PR:
PrepareRegistered(ShaderRegistry.cpp) withRegistrationRequests, so the push-less pixel variant is prepared only for a stage without fixed push slots. This PR reworks the library prebuild in the same function and keeps the old variant block after it. Composed, this PR's prebuild stays andRegistrationRequeststakes the variant block's place.DataWordsDifferandrefreshData(ShaderResources.cpp) find a template's data bindings by binding number instead of pairing them by index. This PR changes the same lines to read the words throughDrawGuestWords(shader, binding). Composed, each binding is looked up by number and its words are read throughDrawGuestWords.Neither side needs to wait, and the rebase is ours either way: if this PR merges first, #9563 and #9564 rebase onto it, and if they merge first, I'll put the resolved merge on a branch of my fork for you to take. Does that work for you?
Imported from boykopovar/AnyPS5. Originally posted by teepean on 2026-10-22T07:41:07Z.
@Raghav314 #9508 on Stray (PPSA02100), Linux, same driver as your runs. Short version:
APS5_GPU_HEAP=1is +5.2 % here, it won all 6 rounds, and its frames match the per-draw path.Setup
VK_EXT_descriptor_heaprevision 1), GCC 16.2.1, Release.a6dcea9279base).engine.ini, scripted input, one run at a time. Mean FPS over seconds 180-240 of each run.APS5_DRAW_PIPELINE=1 APS5_PIPELINED_DRAWS=32 APS5_PIPELINE_DISPATCH=1, plusAPS5_NO_IDLE_STORE=1 APS5_PREP_THREADS=3 APS5_WRITE_ONLY_PASSES=1 APS5_RESOURCE_CACHE_ENTRIES=8192 ANYPS5_PRESENT_MODE=immediateand jemalloc preloaded. The only difference isAPS5_GPU_HEAP=1.FPS (6 rounds, order rotated, warm caches)
APS5_DRAW_PIPELINE=1APS5_GPU_HEAP=1Where it changes (one
APS5_PROFILE_DRAW=1run per arm, per draw packet over 10 s)Checks
APS5_DUMP_FRAMES=40, every 104 presents), heap against no heap, frames 26-39: mean 0.0-1.8, at most 0.04 % of pixels off by more than 64; all 40 frames: 0.06 %.APS5_VERIFY_GPU_HEAP=16:[heap-slots]checked about 21.4 million image slots, 0 held another texture. The[heap-verify]stage comparison prints at exit, and my runs end with a kill, so I don't have that line.One thing I saw only on the first runs after the cache format change (cold caches, with and without the heap): 1-5
queue 0x20 WAIT_REG_MEM ... timed out after 1000mslines per run, and the title missed menu input. None in the 12 warm runs, so I take it for compile stalls rather than this PR.AI-assisted: yes (text with Claude Code; the numbers are from my machine).
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T08:31:09Z.
@Raghav314, thanks for the go-ahead. #7642's table lookups are now rebuilt on your current head 23b2a3fc2d, as eight commits on
EagleBearerYS:feat/agc-device-image-table-heap(edc61087bc). Before going further, here is the ABI part we'd like to agree on with you.What we use from #9508 as it is: GPU-mode stages, your set-1 heap arrays,
BindlessHeap::TextureSlotand itsNearlyFullmargin, and your CPU-resolved image-table map. The map stays the fallback for any program our table can't serve.What we add to the heap table map (0201fc1bb0, on its own so it can be reviewed alone):
map[HeaderElementBase]: the bucket buffer's device address (low, high), then the open batch's miss-ring chunk address (low, high).AppendTrailerwrites them and movesHeaderElementBasepast them, so the element parts start right after.ImageTableAbi::Versiongoes 2 → 3, meaning "a heap map carries the 4-word trailer before HeaderElementBase". Every heap map carries it, zero or not, which adds 16 bytes per stage map.Questions for you:
shared_ptr, so your sweep never frees a slot the table points at. The table also records each slot'sSlotGeneration, and drops every key whose generation moved before it uploads. It takes no slot whileNearlyFulland reserves none. The table can pin up to 16,384 entries' textures. Is that acceptable against your heap budget, or should the table release textures and rely on generations alone?ImageTableAbi::Versionto 3 for it fine with you?DeviceSamplerClassBase(58368) plus the sampler index. Does a per-class spec constant fit your heap templates and pipeline caching?Tested:
APS5_GPU_PATHrefusal.agc_driver_device_image_table_heappasses five times. It checks that your sweep keeps the slots the table holds.agc_driver_device_image_path_gpu_pathalso passes five times, and the heap-less variants three times. On lavapipe those two skip.A test fix you can take if it helps: lavapipe has no
VK_EXT_descriptor_heap, so five of #9508's heap tests fail there instead of skipping:agc_driver_heap_draw_sample_heap,_nogpl_heap,_full_heap,_full_heap_pipelinedandagc_driver_pipeline_journal_gpu_heap. 0a01340702, onfix/9508-heap-tests-skip-without-heapdirectly on your head, makes them skip 77 whenDescriptorHeapEnabled()is false, in the "the device lacks …" formcheck_skips.pyaccepts. A device with the heap runs every assertion unchanged.agc_driver_image_table_atomicsand its_gpu_heapvariant aren't in it: they fail on lavapipe because the kernel'sv_readfirstlane_b32assumes a wave32 and lavapipe runs narrower groups. Your "subgroup size %u cannot hold a wave32" skip from ReadLane.cpp would fit them.Imported from boykopovar/AnyPS5. Originally posted by LeoFeitosa on 2026-10-22T08:44:21Z.
Tested 13764c98c (on main
663de1ab21) with RoboCop: Rogue City - Unfinished Business (PPSA28329), RTX 5070 Ti, NVIDIA 617.42, Windows 10.0.26200.VK_EXT_descriptor_heapis reported and the log shows "GPU-mode draws and dispatches bind from VK_EXT_descriptor_heap".APS5_DRAW_PIPELINE=1APS5_DRAW_PIPELINE=1+APS5_GPU_HEAP=1The device losses surfaced at
vkWaitSemaphoresKHR recorderin the first run and atvkQueueSubmit (settle batch)in the second. In both,VK_EXT_device_faultreturned only instruction pointer records (245 and 261 lines of "instruction pointer unknown at 0x2ff5…/0x2ff4cb…"), with no address records.The plain base
663de1ab21, built the same way and run on the same converted install, reached gameplay with no fault. So the stalls without the heap look intermittent and not specific to this PR. The device loss only happens withAPS5_GPU_HEAP=1.Logs are available if useful.
Imported from boykopovar/AnyPS5. Originally posted by teepean on 2026-10-22T10:19:47Z.
@Raghav314 a second Stray (PPSA02100) data point, this time with the heap on our own committer-bound stack rather than on this PR's head. Short version: there it costs about 11 %, and the profile shows where. The +5.2 % I posted earlier for this PR as is still stands.
What I ran
maina6dcea9279, then this PR's heap commits (eaf729fd14..23b2a3fc2d) on top, without #6946. SoAPS5_DRAW_PIPELINEand everything gated on it (commit trims, epoch proofs, epoch mirrors, the finisher's pending writes) is off. Heap-eligible stages also skip a stage-result shortcut of ours that the heap doesn't know about, so the worker side here is not comparable to your build.engine.ini, jemalloc, mean FPS over seconds 180-240, same libraries in both arms, the only differenceAPS5_GPU_HEAP=1.FPS (rounds alternated; I stopped after three because the result was clear)
APS5_GPU_HEAP=1Profile (
APS5_PROFILE_DRAW=1, one run per arm, per 10 s)[gpu-heap]cost line from the verify run (APS5_VERIFY_GPU_HEAP=16 APS5_PIPELINE_STATS=1, so the absolute times are inflated; the proportions are the point): 893k heap stages per 10 s, heap stage call 3.91 us each, and 805k of them walked (2.03 us per walk), so the walk memo serves only about 10 % of Stray's stages. Coverage was complete: 552,768 heap draws and 0 plain, 8,384 heap dispatches and 0 plain, no fallbacks of any kind.Checks
[heap-slots]verify: about 30.9 million image slots checked, 0 held another texture. Our own proof-memo verify: 6.4M hits, 0 wrong.APS5_GPU_HEAP=1under the validation layer.If it helps: the two things that would decide it for a committer-bound title like this one are the per-draw cost on the recording thread with the heap, and the walk memo's hit rate when a stage's descriptor words change from draw to draw. Logs are available.
AI-assisted: yes (text with Claude Code; the numbers are from my machine).
Imported from boykopovar/AnyPS5. Originally posted by Raghav314 on 2026-10-22T11:05:33Z.
Rebased onto current
main(with #6946 rebased under it).@LeoFeitosa thanks for the RoboCop runs. 13764c9 predates a fix for a heap binding bug the validation layer found: a classic
vkCmdPushConstantscall puts the command buffer back in classic descriptor mode, which unbinds the heaps, and the next heap draw or dispatch in that command buffer ran with no heap bound. That can plausibly lose the device. Could you retest the current head withAPS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1, and attach the logs of a run that still loses the device?@EagleBearerYS I took your skip fix as is (heap draw and journal tests exit 77 without a descriptor heap). On #7642's ABI:
NearlyFull, so a full heap falls back instead of failing. Pinned textures do keep their slots from the sweep, though, and the heap holds 4096 image slots per kind, so a table near 16,384 entries can keep the heap close to full. If that shows up in a title, releasing the textures and relying on generations alone would avoid it.ImageTableAbi::Version3 are fine.#9563 and #9564: either order works for me, thanks for taking the rebase.
@JJenkx #9503 first is fine; I'll move the wrapped
CmdBindDescriptorSetsinto the draw lambda aftervkCmdBindPipelinewhen I rebase.@teepean thanks for both Stray runs. The recompile-phase cost with the heap (memo hit rate 11 % → 4 %, walk memo serving ~10 % of stages) is the part I'll look at next; it matches the per-draw heap work listed under "Where this can take more frame rate".
LLM assistance used.
Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T11:52:17Z.
@Raghav314 thanks for the ABI review and for taking the skip fix. #7642 is rebased on f85d0b3285 with its commits unchanged, and your pinning caveat is under its Pending.
Imported from boykopovar/AnyPS5. Originally posted by LeoFeitosa on 2026-10-22T12:02:07Z.
@Raghav314 retested the current head f85d0b3285 on the same machine and install (RoboCop: Rogue City - Unfinished Business PPSA28329, RTX 5070 Ti, NVIDIA 617.42, Windows 10.0.26200) with
APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1. Both runs still lost the device during load. In both, the log shows the heap binding ("GPU-mode draws and dispatches bind from VK_EXT_descriptor_heap") before the fault.VK_EXT_device_faultreport at line 883;vkWaitSemaphoresKHR recorder: Vulkan result -4at line 1137.VK_EXT_device_faultreport at line 1070;vkWaitSemaphoresKHR recorder: Vulkan result -4at line 1323.As before, the fault reports contain instruction pointer records only.
Full logs of both runs: https://gist.github.com/LeoFeitosa/aa8f1fa1f13193b020e97d70d9173f3d
Imported from boykopovar/AnyPS5. Originally posted by Raghav314 on 2026-10-22T13:58:43Z.
@LeoFeitosa thanks, both logs help. The fault reports list only instruction pointers, which is where the waves were at the reset, so they don't point at the access that faulted. Both runs follow the same order before the loss:
[gpu] storage image 0x8fc0000000+0x1fe0000: memory no longer registered, in run 2 also 0x8fc2000000)Stray with the heap on, on an RTX 4090 on Linux, takes the same block copy and prepared-at-use paths with no fault, and never frees memory under a storage image. Freed guest memory that the GPU still reaches through a host import is the lead I'm following: on Windows a freed page can fault on the GPU, where Linux keeps imported pages pinned.
Could you do these on the same install:
APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1 APS5_NO_HOST_IMPORT=1: if this loads, the loss goes through host imports.APS5_GPU_HEAP=1alone, without the draw pipeline.APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1 APS5_PIPELINE_STATS=2 APS5_TRACE_HOST_IMPORT=1, which logs the heap's fallbacks and each import's creation and retirement up to the fault.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T14:31:40Z.
I rechecked the current report at head
9f5e875b95d6a5bbee580b03b36ed7773fd80aa0. Two performance-evidence details still need correction before the results can be treated as evidence for this revision:mainrow namesaps5-trace-de49f41349a9-624652.json.gzbut links to the568369d27a2e-625697attachment; the heap row namesaps5-trace-568369d27a2e-625697.json.gzbut links to thede49f41349a9-624652attachment. Those two attachment targets are reversed. The middle draw-pipeline trace link matches its filename.568369d27a2e, while the PR head is now9f5e875b95d6a5bbee580b03b36ed7773fd80aa0. Please either rerun the three same-scene comparison arms on the current head (with the stated #6300 integration) or label these explicitly as historical measurements of that older source revision and avoid presenting them as current-head performance. The PR has added substantial heap changes since then, so the distinction affects what the data supports.The current hosted relinker matrix, eligibility, conventions and report checks are green; Linux/Windows product jobs are skipped. I did not run a local GPU performance capture.
Imported from boykopovar/AnyPS5. Originally posted by Raghav314 on 2026-10-22T14:42:04Z.
@MarcZX10 thanks, the
mainand heap trace links were swapped; fixed in the description.On the revision: 568369d27a is 23b2a3fc2d (this PR as of the descriptor heap rebind fix, on
maina6dcea927) with #6300 merged locally. The PR has not changed substantially since then:git range-diffagainst the current head shows the same patches apart from rebase context, plus three test-only commits (the draw finisher trace test counted as skipped when left out of the build, the draw cache relocation test on the draw pipeline, and the heap tests skipping without a descriptor heap). The description now names the measured revision and says the numbers were not captured again on the current head.Imported from boykopovar/AnyPS5. Originally posted by LeoFeitosa on 2026-10-22T14:55:54Z.
@Raghav314 ran the three, all on the same install with f85d0b3285 (your current head carries the same patches, per your range-diff note), one run each:
APS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1 APS5_NO_HOST_IMPORT=1APS5_GPU_HEAP=1aloneAPS5_DRAW_PIPELINE=1 APS5_GPU_HEAP=1 APS5_PIPELINE_STATS=2 APS5_TRACE_HOST_IMPORT=1All three follow the same order as before: storage image memory freed, then the 16320×16320 BC1 texture, then the fault a few lines later. The prepared-at-use fragment program is not needed for it:
0x8fc0000000+0x1fe0000: memory no longer registeredat line 5982, texture at 6150,VK_EXT_device_faultreport at 6166. Nothing is prepared at use in between.0x8fc2000000at 11127. Imports are retired as "the range was mapped again" at 11567–11571. Texture at 11620, one prepared at use at 11628. The first error that shows is the settlevkQueueSubmitreturning -4 at 11634. 2232 imports were live (4.1 GiB). The last[gpu-heap]line (11581) shows no fallbacks: 479 draws and 545 dispatches on the heap, 0 plain.Logs of the three runs: https://gist.github.com/LeoFeitosa/b8ace7b654eddd9302d80ad0be02ca36
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T22:17:14Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
The refreshed head resolves the earlier merge and Windows test-path findings, but the
perfevidence and focused validation do not cover the current production changes.What I ran
981351a3916b7a760a76dc2c2dcd95fd6a1aecf0; PR base:9624d8c6bb9e96b7aa92b815f55690f69b0a88d5; livemain:4c8cff191609bc5f28bf9ee2f93672b531285aa4.maincompleted cleanly; this review does not request a rebase solely because the PR base is behind.Results
2dcd7e3150f6419f48dbbf5f8a74480002d26582fc7f4400caand a 180-test subset onf25a4145f6; these are not identified as runs on the exact reviewed head. The latter is described as differing from the head in the unit-test file. I did not run them locally.a6dcea927plus #6300 and change23b2a3fc2dplus #6300; the description says those captures were not repeated on the current head.Unedited local check output
git diff --checkproduced no output and exited 0.Findings
Blocking
perf(...), and the repository requires same-machine, same-scenemainand change summary lines with trace attachments. The current report comparesa6dcea927with23b2a3fc2d, while this head includes later production changes to the heap-walk memo and cached-stage matching. Please capture the current upstreammainand this exact head in the same Hades II scene, then update the two summary lines, traces and digests. The existing dropped-event limitation on the baseline trace should remain explicit.mainand981351a3916b7a760a76dc2c2dcd95fd6a1aecf0, withVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,ANYPS5_NO_SHADER_CACHE=1andANYPS5_REQUIRE_VULKAN=1. Include the exact commands, outcomes, device/driver/OS, and whether any newVUID-appears. In particular, include the newagc_driver_heap_walk_memocases from this head; the report currently identifies earlier tested revisions, not this exact head.Non-blocking
Sources
mainNot verified
I did not build or run CTest, GPU tests, or title captures locally. The focused GPU and title results above are author-reported. The current hosted Windows product job and queued macOS jobs had not completed when I refreshed CI.
To get this to a good state
Add the current-main/current-head performance pair and exact-head focused validation evidence, then update the PR description. I will rerun the same non-build checks and recheck the new head and CI before making another review decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T01:41:15Z.
Review: CHANGES_REQUESTED
Re-checked — new head, changes requested
The exact PR head
f20ea04c6346fa18ef887061f4c48cedafdc1583still cannot reclaim sampled textures held by heap slots, conflicts with livemain, and lacks a matched performance report for this head.What I ran
main, and hosted checks.ReleaseTextureCachesand the descriptor-heap texture-slot ownership path at the exact head.Results
shared_ptr::use_count()is not 1.BindlessHeap::TextureSlotstores anothershared_ptrin the slot owner, so a cache entry held by a heap slot is skipped during recovery.981351a391tree and passes 3/3 with a proposed two-commit fix. That test/fix is on a separate branch and has not been tested on, or incorporated into, current PR headf20ea04c.39fc186c978aa6332538fb1101d1722124979ab5; livemainis6d56eb813cc5e7ba81b58ee087f9582c68c4c9d8; GitHub reportsmergeable: false.d8c243bb46; current headf20ea04cadds a production commit after that capture and merges anothermain. The exact current head has no matched capture pair.Unedited source and hosted-check output
Negative control
981351a391tree, then on a separate branch with the proposed eviction/sweep changef20ea04c.Findings
Blocking
main. GitHub reports the exact head as not mergeable against its recorded base whilemainhas advanced. Resolve the actual conflict and recheck the resulting head; this request is based on the conflict status, not branch age.main1189ec3003plus #9533 with PR treed8c243bb46plus #9533. The current head includes a later production change and a latermainmerge. The repository requiresperfreports to compare main and the change from the same machine and scene, with summary lines and traces. Please capture the final head against a current-main baseline with the same prerequisite, and include both summary lines, traces, and digest output.Non-blocking
The reported
agc_driver_image_table_cache_bounds_gpu_heapexit crash is not attributed to this PR: the author reports reproducing it onmainwith the draw pipeline enabled. Keep that failure scoped as a baseline issue unless a current-head comparison shows otherwise.Sources
Not verified
I did not run a local build, CTest, GPU validation, title test, or performance capture. The heap-held test results are author-reported and cover the pre-fix head plus a separate fix branch, not this exact PR head. Current hosted Windows and Vulkan-specific product coverage is not established by the green status names alone; Linux and specialized jobs are skipped.
To get this to a good state
Resolve the current-main conflict, fix and test heap-held texture recovery on the resulting PR head, and publish the matched performance report for that exact head. I will rerun the source, overlap, and hosted-check review on the new SHA.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T05:05:18Z.
Review: CHANGES_REQUESTED
Re-checked — new head, changes requested
The heap-held eviction fix is now present and the branch merges cleanly with current
main, but its regression test was not run and the performance report still measures an older head.What I ran
Reviewed head
82f76ffa75e602afeab412e9f025d7f4a84dd6e9against currentmainbase8c8b9986204d5b1cbb23847b363df00ae832ec9c; the merge preview is clean (d9938289a4051cac7317e089de414d39f0aed2f7). Environment: Linux; no compiler or local test was run. I reviewed the new heap-held eviction change and its added test against the previously reviewed implementation.Results
d9938289a4051cac7317e089de414d39f0aed2f7. The prior merge conflict is no longer present.git diff --checkd8c243bb46; the current head is82f76ffa75e6and includes later production commits. The PR description says those newer changes were not captured again.Raw local and hosted-check output
git merge-tree --write-tree ...:git diff --check ...: no output (exit status 0).python tools/check_conventions.py ...:Hosted Windows job steps:
Negative control
Findings
Blocking
heapHeldReleaseTestscovers the newly fixed ownership path, but the hosted Windows job skipped test selection and CTest, and the PR description does not report this test running on head82f76ffa75e6. Run the heap-held recovery test withVK_EXT_descriptor_heapavailable on this head and report its exact command, device/driver/OS, result, and a negative control using the pre-fix path.perfreport compares current-main integrationfcae8c7026e0with PR integratione485a3333a2c, which was built fromd8c243bb46. The current head adds production changes after that capture, including the heap-held recovery fix, and the description explicitly says it was not captured again. Please provide the same-machine, same-title/scene baseline and exact-head pair, bothaps5-summary.jsonllines, the two traces, andtools/trace_digest.pyoutput for this reviewed head.Non-blocking
The earlier sampled-texture eviction source issue appears addressed in this head, and the prior current-main merge conflict is resolved. I did not independently run the new fix or the title capture.
Sources
mainNot verified
To get this to a good state
Run the heap-held regression on the exact head with the descriptor-heap extension and post its negative control, then provide a fresh matched performance pair with both summary lines, traces and digest output. I will rerun the same merge, diff and conventions checks on the new head before reviewing it again.
Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-30T19:06:30Z.
Review: COMMENTED
On the NVIDIA CI run at
82f76ffa75(54*_heaptests failing with SegFault): the crashes come from the CI's validation layer, not from this PR's heap path.Evidence from the CI logs. The run's
10-rerun.logshows the layer predatesVK_EXT_descriptor_heap. In the part the gist keeps (it is truncated), the heap tests logvkCreateDevice(): pCreateInfo->pNext chain includes a structure with unknown VkStructureTypeandvkCreateBuffer(): pCreateInfo->usage contains flag bits that are not recognizedright afterVulkan descriptor heap: GPU-mode draws and dispatches bind from VK_EXT_descriptor_heap. The tests only run under that layer on the GPU.On an RTX 3070 with the same driver (NVIDIA 595.99.02): Linux, GCC 15.2, Release,
-DANYPS5_ENABLE_SPIRV_TOOLS=ON. Head merged ontomainf91137142, with Vulkan-Headers at this PR's5d94bb4. I ran the same 54 tests,-j1,ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1, with the ctest environment (APS5_GPU_HEAP=1etc.):In the layer runs, the kernel log puts 31 of the 34 crashes at the same instruction inside
libVkLayer_khronos_validation.so(offset0x120704e, an indexed table load), and 3 in libc. So the 54 CI failures say nothing about the PR's code. I can't tell yet whether the newer layer crashes on something AnyPS5 passes it or on its own descriptor-heap tracking.The 1.4.341 layer also reports 3 IDs in heap mode that may be worth a look. Its descriptor-heap checks are new, so treat them with some caution:
VUID-vkCmdBindResourceHeapEXT-pBindInfo-11236andVUID-vkCmdBindSamplerHeapEXT-pBindInfo-11228: the reserved range ofBindDescriptorHeapsoverlaps another command buffer's without matching exactly. For the sampler heap, the other range it lists is[0x0, 0x5e58f4ab1313), which doesn't look like anything AnyPS5 binds.VUID-vkCmdDraw-maintenance4-08602(82 times, alsoDrawIndexed/DrawMeshTasksEXT): a vertex shader uses push constants that were not set for "pipeline layoutVkPipelineLayout 0x0".For the CI, the heap-mode tests need either a layer with working
VK_EXT_descriptor_heapsupport or a run without the layer.Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-30T22:57:29Z.
Review: CHANGES_REQUESTED
Re-checked — new head, changes requested
The new exact-head test report addresses the earlier runtime-test gap, but the required performance comparison still uses older source commits.
What I ran
Reviewed head
dfe95cc9692f9e21e42f80a0be6b744476a8767eagainst base90c9759d12ea1166f8b2f822db445f627f9d79da. The precheck confirmed both SHAs were unchanged at completion. Environment: Debian GNU/Linux 12, x86_64, Python 3.11.2; no build or GPU run was performed.Results
VUID-lines, and 6/6 heap-specific tests passed. I did not reproduce these GPU tests.fcae8c7026e0and PR-plus-#9533 commite485a3333a2c; neither is the current base or current head.Unedited precheck output
Findings
Blocking
This PR is labeled
perf, but the capture pair in the report is not from the revisions currently under review: the baseline summary identifiesfcae8c7026e0, and the changed summary identifiese485a3333a2c, while the current base/head are90c9759d12ea1166f8b2f822db445f627f9d79daanddfe95cc9692f9e21e42f80a0be6b744476a8767e. Please provide a matched current-base/current-head capture pair from the same title, scene, machine and settings, with bothaps5-summary.jsonllines, both traces, andtools/trace_digest.pyoutput. Preserve the same #9533 prerequisite on both captures if it is needed to reach the scene, and identify it clearly. The new focused test results do not replace this performance evidence.Non-blocking
No additional blocking code issue was established in this re-check. The full hosted matrix was not complete at refresh.
Sources
Not verified
I did not run a build, C++ tests, GPU captures, or
tools/trace_digest.py; I did not test Linux, Windows locally, macOS, or console behavior. The 214/214 and 6/6 results are author-reported. Hosted Linux and specialized jobs were skipped, and several other jobs were pending at refresh.To get this to a good state
Please attach the matched captures and digest output for current base
90c9759d12ea1166f8b2f822db445f627f9d79daand current headdfe95cc9692f9e21e42f80a0be6b744476a8767e. I will rerun the same relevant checks against the new head.Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-31T05:14:32Z.
Review: COMMENTED
Follow-up to my review of
82f76ffa75, now on head95e1f33742. Some items also ran on the earlier headsec6c2f384fand229b9883ce, as marked.Setup: Ubuntu 26.04, GCC 15.2, Release. RTX 3070 with NVIDIA 595.99.02 (the NVIDIA CI's driver) and lavapipe (Mesa 26.0.3), one at a time via
VK_DRIVER_FILES. Each head is merged--no-ffontomain539c3425f8with no conflicts.ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1,ctest -j1.1. The new
agc_driver_image_table_store_gpu_heapfails wherever the heap is off.if (DescriptorHeapEnabled()), so it looks meant to pass per-dispatch too. Then either the per-dispatch table path drops the raw-uint store in the same way95e1f33742fixed for the heap, or the test should skip without the heap.2. As pushed, the heap never turns on with the CI's driver.
595.99.02 reports Vulkan 1.4.329. fd802c3b42's driver check therefore turns the heap off before the layer check runs:
The driver advertises
VK_EXT_descriptor_heaprevision 1, which is theVK_EXT_DESCRIPTOR_HEAP_SPEC_VERSIONof the pinned Vulkan-Headers (340). Results:all(size asserts and field counts) builds with no new warnings.public_headerspasses 65/65.95e1f33742; the one failure is the test in 1.229b9883ce: 305/305 on each device;ec6c2f384f: 302/302, 3 of 3 runs on each device, and 302/302 with layer 1.3.275.VUID-from this PR; the only message is main'slayerCount-compatibilitywarning.agc_driver_heap_*,heap_slots*,pipeline_journal_gpu_heap, ...) skip with 77 on both devices, and the other*_gpu_heapregistrations run on the per-draw path.^agc, no layer:229b9883ce: 1236/1236 on the 3070;ec6c2f384f: 1233/1233 on the 3070 and on lavapipe.So the NVIDIA CI no longer runs the heap at all. The same goes for any 1.4.341 layer run, because of the layer check.
3. With the heap live on this driver
I relaxed the driver check locally to 1.4.329. That's one line; the layer check stays, and these runs use no layer. Each heap test then logs
GPU-mode draws and dispatches bind from VK_EXT_descriptor_heap.Every test matching
heap: 131/131 at95e1f33742(1 run). At229b9883ce(129) andec6c2f384f(127), every one passed in 3 of 3 runs. The[heap-slots] verify:lines report no image slot holding another texture and none of the 336 storage slots per run holding another image or view.Red for
039b02099a(atec6c2f384fand229b9883ce): I reverted it and ran the 18 storage tests thatec6c2f384fadds to the heap set.agc_driver_image_converted_unorm_gpu_heapfails withAGC graphics: a GPU-mode slot word names a sampler the stage does not bind. The other 17 pass.^agcwithAPS5_GPU_HEAP=1set for the whole run: 4 of 1238 fail at95e1f33742, in each of 3 runs (a full suite and two reruns).eb606888ccfixedagc_driver_sample_multisample_target, which failed on the two earlier heads. The other four still fail. Without the variable, three of them pass andsample_order_grid_referenceskips:agc_driver_buffer_descriptor_runtimebuffer descriptor runtime, specialized modules, records 37: lane 9 is 0x7e552c03, expected 0x00000000agc_driver_sample_orderthe 2x color format 9: the stored samples did not read backagc_driver_multisample_readback_uploadreadback mismatch: format=13 first=0 byte=3 expected=0x3a actual=0x20agc_driver_sample_order_grid_referencethe exact path: sample 0 of pixel (0, 1) does not hold its own sample index in colorec6c2f384f,buffer_descriptor_runtimebisects to1e30fbb31e. With only that commit reverted it passes; with it, lane 9 reads a nonzero word where an out-of-range read should give zero.1e30fbb31eand8a590ddf7eboth reverted. I haven't narrowed them further.At
82f76ffa75, before the driver check existed, the 54 heap tests also passed 3 of 3 on this driver with no layer. If 595.99's revision differs from the released extension in a specific way, could you say what it is? If it doesn't, a driver that advertises revision 1 could keep the heap on. Either way, at this head the heap evidence comes only from 615.x drivers, since neither the CI's machine nor mine turns it on.GPUs tested: NVIDIA GeForce RTX 3070 (595.99.02, Linux), lavapipe (Mesa 26.0.3).
Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-31T07:34:51Z.
Review: COMMENTED
@Raghav314 I re-ran
dd7120c648(merged--no-ffontomain6a691f69ee) on the same box: RTX 3070 with 595.99.02 and lavapipe (Mesa 26.0.3),ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1,ctest -j1.allbuilds with no new warnings andpublic_headerspasses 65/65.bind from VK_EXT_descriptor_heap, and every test matchingheappasses 131/131 in 3 of 3 runs. With VVL 1.4.341 the heap stays off, and the log line explains why (… predates its descriptor heap rules …).agc_driver_image_table_store_gpu_heap: passes 3/3 on the 3070 with the heap on. It skips 3/3 on lavapipe, and on the 3070 under VVL 1.4.341.agc_driver_buffer_descriptor_runtimewithAPS5_GPU_HEAP=1: passes 3/3 now (28c310dc06).^agc(minus dcc/flip/lds_atomics64): 1240/1240 on the 3070 and on lavapipe without the variable. WithAPS5_GPU_HEAP=1it's 1237/1240, and only the three multisample tests fail, with the same messages as before. 3 of 3 targeted reruns give the same result.APS5_VERIFY_GPU_HEAP=1on the three, as you asked: each one logsbind from VK_EXT_descriptor_heap, but none of them prints a[heap-slots]line. In the same run,agc_driver_buffer_descriptor_runtimeprints its lines, and so doesagc_driver_sample_multisample_target:1 … 7 image slots checked, 0 hold another texture; 0 storage slots checked. So the verify never sees whatever slots these three bind, and it can't rule out a wrong view there.agc_driver_sample_order_grid_referenceruns here because 595.99.02 reports a 2x4 grid at 2 samples. That's why it fails here instead of skipping as on your 4090.Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T14:31:28Z.
Review: COMMENTED
Reviewed — comments
The merged tree builds, and every test it reaches passes with no new
VUID-lines compared withmain. This machine's lavapipe does not exposeVK_EXT_descriptor_heap, though, so all 98 GPU-heap test registrations skipped and I could not exercise the heap path. I found nothing blocking; the non-blocking points are below.What I ran
Head
4353aabe1ab0c831a01a9c020d08f1a5b46f9f62,main4f41f4c375f5abb487dbd184fbc150f31994d762, merged--no-ff(treeaa994b5315ffd0856fdc707231152ae75497c817). Debian 13 VM, 32 vCPU Xeon Gold 6136, GCC 14.2.0, Release, Ninja, Vulkan through lavapipe (Mesa 26.1.6, LLVM 19), no GPU.Results
git diff --checkcheck_conventions.pylibsmain.guest_net_ctlskips unexpectedly onmaintoo.VUID-lines compared withmain; layer missing in noneheap_template_budget,agc_driver_heap_walk_memo,agc_driver_device_function_cache,agc_pooled_buffer_address,request_serializer: passedagc_driver_heap_walk_memo output tail
Negative control
A full revert of the 266 files is not practical, and the heap tests cannot run here, so I made one targeted control.
core/shader/recompiler/ControlFlow/src/RequestSerializer.cppfrommainand rebuiltrequest_serializer_tests.request_serializerthen failed (the subprocess aborted), so the version 55 heap-profile and target-flag round-trip tests do depend on the change.git status --porcelainis empty.None of the heap-path regression tests could be reverse-checked on this machine because they skip.
Findings
Blocking
None.
Non-blocking
Explanatory comments that are not technical debt. CONVENTIONS.md allows code comments only for technical debt. The conventions check passes only because the PR also edits
docs/dev/debt/libSceAgcDriver.md. The new comments describe behaviour, not debt:core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp:780-783core/shader/recompiler/HeapTemplateBudget.hpp:30-31,:43-46and:62-63core/libs/prx/libSceAgcDriver/tests/execution/PushOnlyHeapPasses.cpp:23-25and:61-62Suggestion: drop them, or put the information in the commit message or the docs. Older code in
Recorder.hpphas similar comments, so this is a minor point.The description no longer matches the code in two places.
9263a4bdce, the gate is the extension's revision (specVersion < VK_EXT_DESCRIPTOR_HEAP_SPEC_VERSION, VulkanDevice.cpp L167-L175), and 595.99.02 now runs the heap.eb9d658966, all binding kinds share one pool of 233415 slots, asdocs/dev/ENVIRONMENT.mdandARCHITECTURE.mdin this PR say.Please update both statements so reviewers and testers read the current gating and capacity.
The performance evidence predates the current head. The Hades II pair measures
95e1f33742. Since then the PR has added several productionperf(...)andfix(...)commits: read-only and branch-free heap loads, encoded-descriptor copy, the device function cache, the GPU-mode scratch pool, and this head's push-data change. MarcZX10 already raised this; I only confirm that it still holds at4353aabe1a. The one AMD title pair posted for a recent head (JJenkx, Unbound PPSA03274, RX 6650 XT) measuredmainfaster than the heap head (30.2 vs 26.6 FPS, one run per arm). The heap is opt-in, so this does not affect default behaviour. The perf claim would still be stronger with a current-head pair, or a statement that the gain is NVIDIA-specific.The head commit's new heap pipelines fail as a pair.
createPushOnlyHeapPipelinenow runs inside the sametryas the classic dispatch-argument and mesh-argument pipelines (Recorder.cppRecordDispatchArguments/RecordMeshArguments). If creating the heap variant throws,dispatchArgumentState/meshArgumentStatebecomes negative, and the classic argument check is lost too. The header says the variant is "null … when the driver refuses it", so ifcreatePushOnlyHeapPipelinereturns null instead of throwing, this is fine. I did not trace every refusal path to confirm.Not verified
VK_EXT_descriptor_heap, so the_gpu_heap/_heapvariants, the heap slot tests, the table-stage reuse test and the push-only heap pass test (including the dispatch-argument case this head adds) all skipped. The validation comparison therefore covers only the non-heap paths. The heap-mode validation results in the description and discussion (NVIDIA 615.x/595.99, RADV 26.2.6) are the authors' and testers' reports.VkImageViewhandle reuse within one owner's slot key, or the ring chunk wrap logic on hardware. I read them only.To get this to a good state
VK_EXT_descriptor_heapfor the exact final head (for example Mesa ≥ 26.2 lavapipe, which the author reports exposes the extension), includingagc_driver_push_only_heap_passes.Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T17:16:36Z.
Review: CHANGES_REQUESTED
Re-checked — changes still requested
78079485cc(GPU-heap guest buffers and the flattened SRT through ring descriptors) andc9bac36abb(dispatch-limit axis, null on a throw, comment removal) resolve my four earlier points, but the new ring-descriptor writer addsthread_localobjects with destructors to the AGC module, which breaks the project's Windows thread-local rule.What changed since my last review
78079485cc: a newheapBufferDescriptorstarget flag (in the cache key and in serialization version 55). GPU-mode stages declare the per-draw buffer array and SRT buffer again. The pipeline maps them over a run of storage buffer descriptors written into the shader-data ring (VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_PUSH_INDEX_EXT). Heap shader data is now read asuvec4.APS5_NO_HEAP_DATA_UNIFORMand its ENVIRONMENT.md row are removed.c9bac36abb:RunDispatchArgumentsputs the oversized count on the lowest-limit axis.createPushOnlyHeapPipelinereturns null when creating the pipeline throws.Recorder.hpp,HeapTemplateBudget.hppandPushOnlyHeapPasses.cppare removed.What I ran
Head
c9bac36abbd92237d776a094769386e2b8ce74a2,main1e658521a0a599872612bb91949311e2956b5283, merged--no-ff(tree75992bc462734abda3a69df9ac03f8f276c264ad). Debian 13 VM, 32 vCPU Xeon Gold 6136, GCC 14.2.0, Release, Ninja, lavapipe (Mesa 26.1.6, LLVM 19), no GPU.git diff --checkcheck_conventions.pylibsmain;guest_net_ctl's unexpected skip happens onmaintooVUID-linesrequest_serializer,agc_driver_push_only_heap_passes,agc_shader_memoryagc_driver_push_only_heap_passes_gpu_heapskipped (noVK_EXT_descriptor_heap)Negative control. I restored
RequestSerializer.cppfrom the previously reviewed head4353aabe1a, which does not write the newheapBufferDescriptorsbyte.request_serializerthen failed (subprocess aborted). After I restored the merged file it passed again, andgit status --porcelainwas empty. The changedPushOnlyHeapPasses.cppcheck runs here only in its non-heap variant, which passes. The heap variant and every other ring-descriptor path skip on this lavapipe.Previous findings
c9bac36abbremoves them fromRecorder.hpp,HeapTemplateBudget.hppandPushOnlyHeapPasses.cpp. The delta adds no new comment lines.specVersiongate and the shared pool of 233415 image slots.95e1f33742.78079485ccchanges heap-mode shader codegen and descriptor binding, which is exactly the measured path. The author's RTX 4090 MCD2 numbers and RDNA2 instruction counts are a pre-review build and not amain/head summary-line pair (author-reported). Since the heap is opt-in, I keep this non-blocking, as before.createPushOnlyHeapPipeline(Recorder.cpp:2784at head) now catches exceptions and returnsVK_NULL_HANDLE, so a refused heap variant leaves the classic dispatch-argument and mesh-argument pipelines in place.New findings
Blocking
thread_localobjects with destructors in libSceAgcDriver.prx (BindlessHeap.cpp L857-L858,core/libs/prx/libSceAgcDriver/Graphics/src/BindlessHeap.cpp:857in the merged tree).BindlessHeap::RingBufferDescriptorsdeclaresthread_local std::vector<VkResourceDescriptorInfoEXT> resources;andthread_local std::vector<VkHostAddressRangeEXT> ranges;.RingBufferDescriptorsis the onlyBindlessHeapfunction that calls__cxa_thread_atexit.prx_thread_local_destructors(core/libs/CMakeLists.txt:1110,tests/ThreadLocalDestructors.cmake) rejects. Such a destructor runs after emulated TLS has freed the object. oneandonlydean reported the same failure for this PR's swept-storage thread-local on the Windows run, fixed in1607542d66.HostThreadLocalfor the range vector inShaderResources::ringDescriptors(ShaderResources.cpp:6449in the merged tree). The rest of the module keeps vectors either inHostThreadLocalor behindthread_local T*slots.HostThreadLocal<std::vector<…>, Tag>(), asringDescriptorsdoes, and rerun the Windows job.Non-blocking
ShaderResources.cpp:6943in the merged tree). A stage keeps its descriptor run when its shader data span was kept (dataKept) and the SRT range matches. The guest buffer ranges are not compared, so the run relies on equal guest words implying the same buffer addresses. This is the same assumption the address-in-shader-data path made when it kept a span, so it is not a regression. The moved-buffer path (addressedOffsets) always writes a fresh run. I did not find a check underAPS5_VERIFY_GPU_HEAPthat compares a kept run with a recomputed one. Adding one would cover this, as the stage data spans already have.Not verified
VK_EXT_descriptor_heap, so every heap-mode test skipped. The validation comparison covers only the non-heap paths.VUID-onc9bac36abb;78079485cc;4353aabe1a.NonWritablemiscompile workaround, the RDNA2 instruction counts and the MCD2 frame numbers are author-reported.prx_thread_local_destructorswas not run.To get this to a good state
RingBufferDescriptorsintoHostThreadLocaland confirmprx_thread_local_destructorspasses on Windows.APS5_VERIFY_GPU_HEAPcheck kept ring-descriptor runs, and refresh themain/head performance pair now that heap codegen has changed.Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T17:27:28Z.
Review: CHANGES_REQUESTED
Re-checked — changes still requested
Two commits arrived since
c9bac36abb:39b8256b44updates the GPU heap debt entry and0720b80827adds a tessellation-plus-geometry case toagc_driver_tessellation_submit. Neither one touches thethread_localvectors inBindlessHeap::RingBufferDescriptors, which was my blocking finding last time.What changed since my last review
39b8256b44(docs): theAPS5_GPU_HEAPentry indocs/dev/debt/libSceAgcDriver.mdnow names only registration-module set 0 storage images as stages that take the per-draw path. It no longer lists GDS, the fault buffer, mesh and tessellation pipelines, or compute stages without images. This matches the code I read:heapBindingsinBindlessHeap.cppmaps the GDS set and the generated fault binding to pushed addresses (BindlessHeap.cpp:689-694,:840-843), andDescriptorHeapMappabletakes the LDS, mesh window and scratch pool flags.0720b80827(test):TessellationSubmit.cppadds a second submission withVGT_SHADER_STAGES_EN0x212d and a merged domain+geometry program. It runs only when the device has geometry limits and subgroup operations in tessellation-evaluation shaders. Its failure messages are prefixed with the path. No production file changed.What I ran
Head
0720b80827d53399a0297fef2e338c868da0b93a,main1e658521a0a599872612bb91949311e2956b5283, merged--no-ffinto1e935de09c3f4ade5afd51e59dbab8b4dbdb66de. The machine is a Debian 13 VM (32 vCPU Xeon Gold 6136) with GCC 14.2.0, a Release build with Ninja, and lavapipe (Mesa 26.1.6, LLVM 19). There is no GPU.git diff --checkcheck_conventions.pylibs(review script)main.guest_net_ctlskips for an unexpected reason onmaintoo.VUID-linesagc_driver_tessellation_submitagc_driver_tessellation_submit_gpu_heapVK_EXT_descriptor_heap)Negative control: none. The delta changes no production file. The new geometry case adds coverage of code that already exists, and on this lavapipe it does not run, so there is no fix to revert against it.
Previous findings
thread_localobjects with destructors in libSceAgcDriver.prx: still open (blocking). At the head,BindlessHeap::RingBufferDescriptorsstill declaresthread_local std::vector<VkResourceDescriptorInfoEXT> resources;andthread_local std::vector<VkHostAddressRangeEXT> ranges;(BindlessHeap.cpp L857-L858,core/libs/prx/libSceAgcDriver/Graphics/src/BindlessHeap.cpp:857in the merged tree). On MinGW,prx_thread_local_destructorsrejects this pattern. The fix is unchanged: keep both vectors inHostThreadLocal<std::vector<…>, Tag>(), asShaderResources::ringDescriptorsandHeapStageMappable(HeapStages.cpp:261) already do.APS5_VERIFY_GPU_HEAPcheck compares a kept run with a recomputed one.95e1f33742.New findings
Blocking
None.
Non-blocking
core/libs/prx/libSceAgcDriver/tests/execution/TessellationSubmit.cpp:271). On a device without geometry shaders or tessellation-evaluation subgroup operations, the test runs only the first case. It still exits 0 and gives the reason only in its pass line, so ctest andcheck_skips.pysee full coverage. On lavapipe this means the new case never runs in CI, so it is exercised only on hardware testers' machines. This is acceptable for a sub-case. If the gap should be visible, a separate registration that exits 77 without geometry support would show it.Not verified
VK_EXT_descriptor_heap. The commit's statement that every guest stage of that draw takes the heap is author-reported.prx_thread_local_destructorswas not run. The blocking finding comes from reading the source.To get this to a good state
RingBufferDescriptorsintoHostThreadLocaland confirm thatprx_thread_local_destructorspasses on Windows.APS5_VERIFY_GPU_HEAPcheck for kept ring-descriptor runs, and refresh themain/head performance pair.Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T21:08:38Z.
Review: DISMISSED
Re-checked — changes still requested
The new commits fix my blocking
thread_localfinding (63fe18f7f7), add a verify check for kept ring-descriptor runs, split out the geometry registration and route three more classic binds through the wrapper (09391147a4). The merge ofmain086c0686c8(30a84aa975) also routesmain's new passes through the heap-tracking wrappers. One classic bind still bypasses the wrapper: the first-sample copy.What changed since my last review
63fe18f7f7:BindlessHeap::RingBufferDescriptorskeeps its two scratch vectors inHostThreadLocal.APS5_VERIFY_GPU_HEAP, a stage whose inputs and descriptor run would have been kept recomputes the run and throws if it would bind other buffers.agc_driver_tessellation_submit_geometry(and_gpu_heap) are now separate registrations that exit 77 without geometry support.30a84aa975(merge ofmain086c0686c8):VulkanDevice.cpp,Recompiler.cppandSpirvRuntimeBuffer.cpp.CmdPushDescriptorSetwrapper, and movesmain's depth-to-storage and staged-merge passes onto the wrappers.09391147a4: the mesh window, pixel-function LDS and scratch-pool set binds go throughCmdBindDescriptorSets.VUID-) are author-reported.What I ran
Head
09391147a4b1f23eec010bb8da3b0b0be3cc4e34,main086c0686c8adff3ee648fdbe34e0b0b647e1d511, merged--no-ffinto8a6fa086aa583fd6b00a5a9b75dce8feb443c676. The machine is a Debian 13 VM (32 vCPU Xeon Gold 6136) with GCC 14.2.0, a Release build with Ninja, and lavapipe (Mesa 26.1.6, LLVM 19). There is no GPU.git diff --checkcheck_conventions.pylibs(review script)main.guest_net_ctlalso skips for an unexpected reason on the baselinemain.agc_driver_tessellation_submit*agc_driver_tessellation_submitpasses._gpu_heap,_geometryand_geometry_gpu_heapskip (exit 77), andcheck_skips.pyaccepts these skips.agc_driver_image_gather_volume. This is not the PR's (see below).agc_driver_image_gather_volume VUIDs
Validation flagged this test only because the baseline (
1e658521a0) predates it. It came tomainwithe92ec413c9, and the PR doesn't change it. The address modes come frommain'sGuestSamplerResource.cpp. No file in this PR's diff mentionsMIRROR_CLAMP,sampler_mirror_clamporsamplerMirrorClampToEdge, and nothing on either side enables the extension. So this comes frommain, not from the PR. I did not buildmainto confirm it.Negative control: none. The changed test is a registration split, and its new cases skip on lavapipe. The new verify check only runs with
VK_EXT_descriptor_heap, which lavapipe lacks. The author reports that forcing the check to throw failed 220 of 1081 tests, so the check is reached (author-reported).Previous findings
thread_localobjects with destructors inRingBufferDescriptors(blocking): Resolved. Both vectors are nowHostThreadLocal<std::vector<…>, Tag>()(BindlessHeap.cpp L858-L861). This is the same pattern asShaderResources::ringDescriptors.prx_thread_local_destructorsstill needs a Windows run.writeHeapStagenow sends a stage with unchanged inputs and a held run throughringDescriptors. That function keeps the run only when every buffer range matches, and the stage throws if the run's first index or ranges changed (ShaderResources.cpp L6980).check_skips.pyaccepts the skip.95e1f33742, which predates78079485cc(ring descriptors).New findings
Blocking
core/libs/prx/libSceAgcDriver/Graphics/src/FirstSampleCopy.cpp:247, L240-L248).FirstSampleCopy::RecordrecordsvkCmdBindDescriptorSetsdirectly into the active recorder's command buffer throughRecordUncounted.ShaderResources::resolveImageBindingreaches this path (ShaderResources.cpp:5378) whenever a stage reads sample 0 of a 2D MSAA texture, which can happen while a heap draw captures its resources.BindDescriptorHeapsskips the bind when itsboundHeapsset already lists the command buffer. Only the wrappers (BindlessHeap.cpp:1072) andNoteCommandBufferBegunremove a command buffer from that set. So in a sequence of heap draw, first-sample copy, heap draw in one command buffer, the second draw runs in classic descriptor mode without its heaps.30a84aa975fixed this for the depth-to-storage and staged-merge passes, where the author reports thatagc_driver_depth_storage_dispatchand two related tests failed in heap mode. 09391147a4's message says routing its three binds "keeps every classic bind visible to it", but this one is still outside.Graphics::CmdBindDescriptorSets(context, commands, VK_PIPELINE_BIND_POINT_GRAPHICS, pipelineLayout, 0, 1, &set, <site>). Ideally, add a_gpu_heapcase that draws twice from the heap with a sample-0 read of a multisampled target in the second draw. After the fix, the grep above finds no direct classic binds outsideBindlessHeap.cppandResources.cpp's function table.Non-blocking
None.
Not verified
VK_EXT_descriptor_heap. The verify check, the merge's heap rebinds and the geometry cases did not run here.prx_thread_local_destructors: I could not run them here.agc_driver_image_gather_volumeonmain. I attribute its VUIDs tomainfrom the source only.To get this to a good state
FirstSampleCopy.cpp:247throughCmdBindDescriptorSets, ideally with a heap-mode test that covers it.prx_thread_local_destructorson this head.main/head performance pair after78079485cc.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-14T14:14:19Z.
Review: COMMENTED
Review in progress — 13020 added lines in 333 files not read
The GPU heap change has a broad implementation and test surface, and this review did not cover every changed file or run checks, so a formal merge decision is not justified.
What I ran
Reviewed PR head
7addd0489e1960c3172cc3048e8f04719a328c0busing the prepared diff andrepo_read.py. No tests or build checks were run.Results
Findings
Blocking
None verified in the inspected paths.
Non-blocking
The change adds a large descriptor heap and shader-recompilation implementation. A full audit of the changed lines and runtime behavior remains outstanding.
Not verified
The review folder lists 202 changed files. I read the prepared description, commits, manifest, README, and diff opening, plus selected ranges in
BindlessHeap.cpp,HeapStages.cpp,Draw.cpp, andVulkanDevice.cpp. I did not read every added line in files marked reviewed by the manifest, including the full heap implementation, shader recompiler changes, tests, or presentation paths.3rdparty/Vulkan-Headersis unsupported by the reader. No build, tests, or hardware checks were run. The author’s reported performance captures were not independently verified.To get this to a good state
Nothing is required. Optional: complete a full review of the changed lines and run the relevant build and GPU heap tests.
Continued review (pass 2)
Changes are required before merge: complete review of the remaining added lines is needed before a formal decision can be justified.
What I ran
Reviewed selected continuation lines at head
7addd0489e1960c3172cc3048e8f04719a328c0busingrepo_read.pytools. No build or tests were run.Results
Findings
Blocking
None verified in the inspected continuation lines.
Non-blocking
None.
Not verified
This continuation inspected selected added lines, including
CMakeLists.txt, heap stage and cache declarations, the pending range index, presentation heap mappings, and selected heap walk code and tests. The other specified continuation lines and most of the changed files remain unread; in particular, the Vulkan-Headers submodule content was not available as plain text. No build, tests, performance captures, or physical-console behavior were verified.To get this to a good state
Complete the review of the remaining added lines at the pinned head, then rerun relevant checks before requesting a formal decision.
Continued review (pass 3)
The continuation pass is incomplete, so a formal decision is not justified; no blocking defect was verified in the lines inspected.
What I ran
Reviewed head
7addd0489e1960c3172cc3048e8f04719a328c0busingrepo_read.pyto read prepared review documents and selected source ranges. No tests or build were run.Results
Negative control
Not run; no test was executed in this pass.
Findings
Blocking
None verified in the inspected ranges.
Non-blocking
None identified in the inspected ranges.
Sources
Read
review/description.md,review/manifest.json, and the beginning ofreview/diff.patch, plus selected ranges incore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp,core/libs/prx/libSceAgcDriver/Graphics/src/BindlessHeap.cpp,core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp,core/libs/prx/libSceAgcDriver/Graphics/src/TextureDetiler.cpp, andcore/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp.Not verified
review/commits.mdand the remainder ofreview/diff.patchwere not read. Most continuation lines named in the request were not read; the listed files and ranges therefore remain unverified.core/libs/prx/libSceAgcDriver/Graphics/src/VulkanDevice.cppcould not be read through the available reader. No claim is made about uninspected code, performance captures, or runtime behavior.To get this to a good state
Nothing is required for the inspected ranges. Optional: complete review of the remaining continuation lines and run relevant checks before making a formal decision.
Not verified
3rdparty/Vulkan-Headers: lines 1 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/CMakeLists.txt: lines 400, 482, 513, 523-524, 783-791, 794, 798-809, 1157 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/DrawCache.hpp: lines 137-142, 173 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/DrawPipeline.hpp: lines 143 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp: lines 139, 141, 266-270, 360 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/include/GuestMemory.hpp: lines 161-162, 165 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/include/Recipe.hpp: lines 88 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/DispatchCache.cpp: lines 69 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/VariantValidation.cpp: lines 41 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp: lines 705, 711-715, 732-737, 939-969, 1188, 1261, 1263, 1267, 1438, 1441, 1448, 1452-1455 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCache.cpp: lines 2, 27, 32, 37, 52 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp: lines 316, 355, 366-381, 389 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp: lines 3, 139, 154, 181 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawPipeline.cpp: lines 10, 133, 154, 361-371, 374-378, 511 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawRelocate.cpp: lines 8, 65, 72-76, 123-124, 131, 133-134, 338-340, 368-386, 398, 406 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/IndirectDraw.cpp: lines 25, 69 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Memory/WrittenBuffers.cpp: lines 2, 21, 25, 27-28, 91, 109, 114-116, 179-181, 183, 190 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketExecution.cpp: lines 310-312 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Packets/PacketMemory.cpp: lines 343, 347-364, 366-376 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp: lines 10, 1182, 1192, 1444, 1464-1468, 1470, 1474-1485, 1487, 2084-2101, 2126, 2143, 2153, 2165-2172, 2176-2177, 2180-2201, 2304, 2308-2310 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cpp: lines 2769-2776, 2790-2797 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/PerformanceOverlay.cpp: lines 1, 1187 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/PresentationPass.cpp: lines 1, 13, 15, 17, 27-37, 44, 78, 110, 157, 304, 401, 407, 410, 413-421 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/PresentationUpscaler.cpp: lines 4, 12-13, 36-42, 49, 103-104, 107, 146-147, 154, 156, 186, 210, 340, 375-376, 382, 387, 392-402, 414, 427, 434 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp: lines 510-511, 538, 551, 763, 768-771, 799, 902, 904, 908-909, 936, 956, 984, 1004, 1284, 1758, 2389-2396, 2982-2985, 4383, 4736, 4801-4803, 4897, 4900-4905, 4955-4956, 4990, 5045-5046, 5120, 5352-5353, 5356, 5660-5663, 5686, 5824, 6008-6010, 6027-6031, 6051, 6054, 6099, 6120-6130, 6133-6138, 6141-6142, 6144-6150, 6153-6155, 6157-6169, 6308, 6311-6319, 6321-6325, 6356-6365, 6371, 6384-6386, 6451, 6593, 6679-6680, 6691-6731, 6810-6813, 6835, 6890-6891, 6923 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/BdaResources.hpp: lines 31-32 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/BindlessHeap.hpp: lines 401-410 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/BufferPool.hpp: lines 72-73 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp: lines 11, 57-66, 100-101, 208-247, 250-253, 306-307, 339, 542-551, 553, 555-556 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/DescriptorHeapObjects.hpp: lines 1-38 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/Draw.hpp: lines 114, 133 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/FirstSampleCopy.hpp: lines 9, 18-19, 39 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/GpuColorTransfer.hpp: lines 35-36 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp: lines 326-327, 393-395, 594 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/MultisampleTarget.hpp: lines 23-30, 116 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp: lines 51, 68, 87, 103 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/PipelineLibrary.hpp: lines 45 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/PipelineSpecialization.hpp: lines 82-101 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/PushDataShadow.hpp: lines 1-52 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp: lines 223, 526, 910, 914-917, 929 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/ResidentMirror.hpp: lines 37 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/Resources.hpp: lines 9-10 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/SampleOrder.hpp: lines 42-43, 52 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/Sampler.hpp: lines 4, 9, 14, 19, 33, 36-37, 49 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp: lines 6-7, 34, 101-105, 156, 194-198, 202, 232-235, 238, 256-260, 263, 269-270, 286-287, 305, 373-374, 379, 409-429, 483, 527-532, 539, 553-555, 562, 564, 597, 640, 645-646, 765-847, 865-877, 885-886, 903, 923, 941, 955, 1008, 1027-1033, 1060, 1068-1069, 1074-1077 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp: lines 7-8, 21-26, 52, 55-112, 151 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/StagedMerge.hpp: lines 18-20 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp: lines 4, 72, 120, 270, 295 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/include/TextureDetiler.hpp: lines 16-17, 53, 58, 60-61, 64-67, 91, 99-104 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/shaders/TextureDetile.comp: lines 42-46, 77-80, 83-87 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/shaders/TextureRepack.comp: lines 5-10, 13, 21-24, 27-31 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/BdaResources.cpp: lines 9, 455-463 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/BindlessHeap.cpp: lines 1581-1679 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/BufferAddress.cpp: lines 10-14, 17 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/BufferPool.cpp: lines 412-425, 427 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp: lines 1, 31, 110-117, 146-152, 166-182, 187, 190, 207, 211, 221, 749, 1022, 1028, 1095-1096, 1710-1711, 1800, 1804, 1857, 1879, 1976, 1989, 2031-2035, 2040, 2044, 2097, 2163 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/DescriptorHeapObjects.cpp: lines 1-212 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp: lines 1-3, 131-133, 151-153, 227-228, 234-235, 266-269, 297-304, 330-338, 343-346, 352-353, 359-360, 365-368, 396, 412, 435, 699, 920-924, 1069-1074, 1124, 1145-1147, 1309, 1313-1350, 1361-1362, 1366-1378, 1380, 1382-1386, 1388, 1411, 1529-1532, 1534, 1539, 1843, 1851, 2000, 2046, 2083, 2235, 2298, 2343-2344, 2351-2352, 2359, 2369, 2372, 2374, 2728, 2763, 2765-2767, 2773, 2781-2784, 2787-2789, 2820, 2826-2827, 2965, 3000, 3003, 3112-3118, 3121-3122, 3124, 3127-3128, 3130, 3144, 3187, 3192, 3280-3281, 3332, 3492, 3538-3541, 3694-3696, 3965, 3977, 3995, 4015, 4140-4147, 4433, 4512-4520, 4522, 4524, 4551 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/FirstSampleCopy.cpp: lines 2-3, 184-188, 200, 224-247, 280 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/GpuColorTransfer.cpp: lines 1, 10, 15-26, 56-59, 74, 77, 104, 118-119, 168-177 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp: lines 7, 75, 749, 975, 1081, 1246, 1341, 3258-3261, 3685-3691, 4490, 4496, 5334, 5948, 6359-6368, 6984, 7256-7269, 7271, 7274, 7279, 7282-7284, 7289, 7293-7294, 7296-7312 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleReadback.cpp: lines 1, 8, 14-23, 37-38, 75-80, 88, 107-119, 129-130 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp: lines 4, 217, 304, 590, 918, 1536, 1643, 1655, 1661-1662 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleUpload.cpp: lines 1, 7, 12-27, 46-51, 59, 76-88, 95-96 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp: lines 6, 8, 23, 390, 404, 407-416, 420-423, 426-427, 505, 509, 513, 525, 577-587, 600-605, 607-608, 614, 626, 631, 717, 828-834, 842, 849, 1101-1109, 1111-1112, 1115 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp: lines 3, 909-911 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/PipelineLibrary.cpp: lines 116, 119, 142, 144, 153-156, 173-174, 204, 232-236, 285-292, 313-314, 321-327 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp: lines 13, 18, 678-692, 708-710, 713-726, 735, 1465, 1468, 1481, 2011, 2202, 2731, 2741, 2751, 3071, 3077, 3141, 3147, 3216, 3226, 3233, 3240-3267, 3291, 3301, 3314, 3508-3513, 3540, 3611, 4573 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/ResidentMirror.cpp: lines 427 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/Resources.cpp: lines 1, 56-60, 70, 72, 93-100, 138, 148, 194, 238-239, 421 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/SampleOrder.cpp: lines 1, 22, 27, 50-63, 110, 167, 188-201, 212-214, 250-255, 257-259, 280-281, 283-284, 288-293, 296, 298, 317-318, 321-343, 384, 401-404, 508-515, 519, 521-528, 592-593, 603-605, 626 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/Sampler.cpp: lines 2, 29, 32-33, 49-60, 69, 107 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/ShaderAddressResources.cpp: lines 189, 204-205 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp: lines 2, 14, 27, 59-68, 1390, 1956, 1958, 2032-2035, 2050-2053, 2215, 2251-2252, 2255, 2260, 2293, 2295-2296, 2370-2391, 2427, 2443-2448, 2450, 2454, 2460-2461, 2465-2467, 2470, 2474-2476, 2484, 2488, 2491-2515, 2522, 2535-2536, 2544, 2549, 2559-2566, 2570, 2573, 2578-2581, 2584-2585, 2587, 2589, 2594, 2615-2616, 2643-2658, 2666, 2713-2716, 2718, 2801, 2815, 2819, 2822, 2824-2832, 2834, 2841-2844, 2888-2892, 2915-2922, 2943, 2965-2968, 2991, 3017, 3063-3064, 3100-3103, 3173-3174, 3179-3195, 3202-3205, 3215-3218, 3235-3247, 3255, 3326-3337, 3351-3352, 3354, 3363, 3365, 3371, 3373, 3378, 3410-3418, 3426, 3429-3430, 3902-3903, 3991, 4012-4018, 4026, 4201, 4211, 4222-4223, 4262, 4266-4268, 4343, 4367-4368, 4370, 4385-4387, 4390, 4392, 4395-4396, 4471, 4694, 4696, 4709, 4713, 4721, 4723, 4732-4734, 4736, 4748, 4761, 4765, 5047, 5056, 5077, 5080-5081, 5085-5091, 5093-5096, 5098, 5100-5101, 5105, 5248, 5257, 5264, 5266, 5335-5346, 5349, 5354, 5374-5375, 5379, 5386, 5575-5585, 5589, 5795, 5802, 5809, 5822, 5835, 5837-5838, 5840-5841, 5869-5879, 5905, 5918, 5923, 5930-5931, 5949, 5969, 5975, 5983-5984, 5987-5989, 6017, 6020, 6139, 6145, 6147, 6240-6241, 6256-6258, 6363, 6380, 6382-6383, 6389, 6391, 6394, 6413, 6428-6431, 6448, 6457, 6515, 6523, 6528, 6541, 6653, 6666, 6668, 6698, 6707, 6709, 6736, 6740, 6764-6765, 6768, 6798, 6808, 6822, 6826, 6838-6845, 6850-6860, 6905-6908, 6963, 6972-6973, 6975, 6987, 7034, 7063-7067, 7070, 7072-7073, 7075, 7078, 7081-7082, 7084, 7088, 7091, 7095, 7097, 7099, 7109, 7112-7113, 7116-7144, 7146-7147, 7164-7166, 7180, 7231-7236, 7240, 7257-7271, 7331, 7337-7339, 7345-7377, 7384, 7403, 7423, 7474-7488, 7521-7526, 7651-8475 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/ShaderValidation.cpp: lines 45-46, 173-179, 257-261, 374, 436, 458, 468, 520-522, 585, 593, 601-610, 612-627, 638-654, 662-668, 672, 677, 712-717, 779 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/StagedMerge.cpp: lines 1, 8, 28-36, 83, 113, 115-131, 145-146, 179-185, 233, 243, 294-295, 300 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp: lines 2, 18, 35, 1502, 1827-1829, 1833, 1839-1843, 1849-1864, 1888-1893, 1896-1899, 1904, 1906-1907, 2408-2414, 2892-2893, 3382, 3929, 3932, 4295, 4297, 4540-4541, 4627, 4996, 4998, 5580-5581, 5591, 5709, 5810-5817, 5819, 5826-5827, 5844, 5849-5851, 6064-6065, 7661 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/TextureDetiler.cpp: lines 1, 10-12, 18, 21, 51-111, 133-134, 167-174, 194, 201-206, 230-235, 237, 270-279, 299-316, 320-322, 351, 504-505, 516, 551-564, 570-573, 577-592, 605-614, 621, 655-687 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/Graphics/src/UnitShadow.cpp: lines 3, 210-211, 218-219 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp: lines 723-725, 5293 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/BindlessHeapSlots.cpp: lines 1-653 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/CollectMemoGeneration.cpp: lines 6, 246-259, 366 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/DrawPipelineStop.cpp: lines 1-60 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/Graphics.cpp: lines 6739-6778, 13949-13969, 14898-14902 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/HeapStageWordsBase.cpp: lines 1-69 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/HeapWalkReads.cpp: lines 1-67 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/Mesh.cpp: lines 1, 177-178, 195, 211 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/PresentationPass.cpp: lines 1-2, 811, 1358-1365 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/PushDataPlacements.cpp: lines 1-256 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/PushDataShadow.cpp: lines 1-88 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/Recorder.cpp: lines 21, 10199-10238, 16413-16417 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/RecycledShared.cpp: lines 1-106 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/ShaderDeviceProfile.cpp: lines 202 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp: lines 403 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp: lines 47, 447-475, 8163-8184, 8857, 8978, 9032-9036, 9047-9051, 10303, 10313-10332, 10344, 12694, 12716 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/ShaderReplayRequests.cpp: lines 13, 79-99 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/ShaderReplayTool.cmake: lines 88-154 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_address_draw_space_reuse_tests.cmake: lines 26-31 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_address_passes_tests.cmake: lines 15-18 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_bda_span_reads_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_bindless_images_tests.cmake: lines 1-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_buffer_atomics_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_buffer_format_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_buffer_load_store_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_compute_table_calls_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_copied_writer_copy_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_depth_plane_partial_store_tests.cmake: lines 2-8 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_depth_storage_dispatch_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_depth_storage_reuse_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_dispatch_move_tests.cmake: lines 1-4 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_dispatch_overlap_tests.cmake: lines 9-12 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_cache_relocation_tests.cmake: lines 17-24 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_cache_reuse_tests.cmake: lines 18-20, 25-27, 40 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_data_hit_user_words_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_offset_indices_tests.cmake: lines 29-36 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_pushed_user_values_tests.cmake: lines 1-5 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_recapture_on_change_tests.cmake: lines 4-5 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_recipe_moved_buffer_tests.cmake: lines 1-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_relocate_user_values_tests.cmake: lines 1-4 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_unsupported_buffer_type_tests.cmake: lines 14-17 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_write_ranges_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_finisher_dispatch_order_tests.cmake: lines 1-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_finisher_hit_lookup_tests.cmake: lines 1-4 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_finisher_label_order_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_fragment_user_data_tail_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gated_dispatch_capture_tests.cmake: lines 12-15 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gpu_indirect_arguments_misaligned_writer_ahead_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gpu_indirect_arguments_written_ahead_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_graphics_tests.cmake: lines 116-117, 125-126 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_compute_sample_tests.cmake: lines 1-8 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_draw_sample_tests.cmake: lines 1-20 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_embedded_sampler_tests.cmake: lines 1-6 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_ring_draw_key_tests.cmake: lines 1-6 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_slots_tests.cmake: lines 1-28 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_stage_words_tests.cmake: lines 1-13 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_walk_capture_failure_tests.cmake: lines 1-4 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_walk_reads_tests.cmake: lines 1-24 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_walk_threads_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics64_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_bitwise_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_float_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_cache_bits_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_converted_unorm_tests.cmake: lines 32-35 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_gather_one_dimensional_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_load_packed_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_border_color_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_derivatives_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_lod_clamp_tests.cmake: lines 2 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_shared_sampler_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sint8_tests.cmake: lines 12 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_srgb_load_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_array_through_volume_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_face_on_cube_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_float_rounding_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_line_through_plane_array_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_line_through_plane_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_packed_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_sint_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_unorm_rounding_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_volume_through_array_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_table_cache_bounds_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_table_reuse_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_table_variants_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_texel_status_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_arguments_written_ahead_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_patched_stage_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_thread_dimensions_tests.cmake: lines 9-12 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_lds_beyond_device_limit_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_draw_relocation_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_index_cache_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_provoking_vertex_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_tests.cmake: lines 15-18 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_pipeline_journal_tests.cmake: lines 9-10 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_pipeline_stop_tests.cmake: lines 1-13 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_pipelined_dma_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_pipelined_fill_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_pipelined_metadata_pass_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_pipelined_predicated_label_order_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_pipelined_predication_read_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_pixel_barycentric_emulation_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_prepared_graphics_tests.cmake: lines 20-23 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_presentation_pass_tests.cmake: lines 9, 26-27, 29 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_provoking_vertex_tests.cmake: lines 22-25 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_push_data_placements_tests.cmake: lines 1-23 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_push_only_heap_passes_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_recorded_draw_staging_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_recorder_tests.cmake: lines 187-191 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_rect_list_indirect_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_recycled_shared_tests.cmake: lines 1-24 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_same_queue_label_wait_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_sample_multisample_target_tests.cmake: lines 28 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_sampled_cache_budget_tests.cmake: lines 4-5, 51-54 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_scratch_pool_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_staged_clear_sampled_read_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_storage_cache_budget_tests.cmake: lines 23-26 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_storage_flush_ordering_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_storage_one_slice_alias_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_storage_write_back_overhang_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_submit_progress_tests.cmake: lines 11, 15 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_tessellation_submit_tests.cmake: lines 1-6 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_tessellation_tests.cmake: lines 10-13 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_unimported_label_order_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_view_past_last_mip_tests.cmake: lines 1-3 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_write_data_written_ahead_tests.cmake: lines 4-7 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_pending_range_index_tests.cmake: lines 1-15 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_pipeline_cache_allocation_tests.cmake: lines 2 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_push_data_shadow_tests.cmake: lines 1-8 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/cmake/agc_shader_memory_tests.cmake: lines 61-66 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/AddressDrawSpaceReuse.cpp: lines 5, 10-11, 42, 68-69, 304-305, 335-336, 375, 385-390, 392, 483, 486-489, 770, 773-776, 779-798, 804, 814-819, 1061-1065, 1071-1074, 1081, 1091 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/AddressPasses.cpp: lines 1, 217, 220-222 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/BindlessImages.cpp: lines 1, 8, 61-64, 66 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/BufferAtomics.cpp: lines 1, 81, 86 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/BufferFormat.cpp: lines 1, 159, 164 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/BufferLoadStore.cpp: lines 307, 348, 350 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ColorWriteMaskDynamic.cpp: lines 239 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/CopyInputLifetime.cpp: lines 97 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/DepthFastClearSubmit.cpp: lines 368, 375, 414-415, 440-441, 453-455 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/DepthPlanePartialStore.cpp: lines 253-302 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/DepthStorageDispatch.cpp: lines 144 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/DepthStorageReuse.cpp: lines 48 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/DeviceFunctionCache.cpp: lines 1-51 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/DrawCacheRelocation.cpp: lines 132-135, 153, 297-301, 328 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/DrawCacheReuse.cpp: lines 3, 321-322, 352 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/DrawOffsetIndices.cpp: lines 401, 410, 482-483, 543-564, 734-740, 782 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/DrawPushedUserValues.cpp: lines 1-223 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/DrawRecipeMovedBuffer.cpp: lines 1-430 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/DrawRelocateUserValues.cpp: lines 2, 13, 168-191, 206-209, 220, 300-301, 305-306, 310-315, 324-356, 378 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/DrawUnsupportedBufferType.cpp: lines 96 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/FinisherDispatchOrder.cpp: lines 1-172 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/FinisherHitLookup.cpp: lines 1-147 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/HeapComputeSample.cpp: lines 1-178 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/HeapDrawBench.cpp: lines 1-367 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/HeapDrawSample.cpp: lines 41-571 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/HeapEmbeddedSampler.cpp: lines 1-126 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/HeapRingDrawKey.cpp: lines 1-324 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/HeapSampleKernel.hpp: lines 1-69 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/HeapTableStageReuse.cpp: lines 1-256 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageAtomics.cpp: lines 1, 128, 133 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageAtomics64.cpp: lines 1, 127, 132 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageAtomicsBitwise.cpp: lines 130, 132 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageAtomicsFloat.cpp: lines 547-548 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageCacheBits.cpp: lines 227 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageConvertedUnorm.cpp: lines 250, 624 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageMemory.cpp: lines 362 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageSint8.cpp: lines 119 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageSrgbLoad.cpp: lines 191 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageStoreArrayThroughVolume.cpp: lines 129 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageStoreFaceOnCube.cpp: lines 143 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageStoreFloatRounding.cpp: lines 316 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageStoreLineThroughPlane.cpp: lines 149 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageStoreLineThroughPlaneArray.cpp: lines 141 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageStorePacked.cpp: lines 180 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageStoreSint.cpp: lines 241 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageStoreUnormRounding.cpp: lines 210 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageStoreVolumeThroughArray.cpp: lines 129 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageTableCacheBounds.cpp: lines 10, 77-87, 256, 263-266, 462-523, 666-675 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageTableVariants.cpp: lines 3, 190, 201, 207-210, 389-420, 493 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ImageTexelStatus.cpp: lines 234 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/LazyResolvedAbi.cpp: lines 6, 564-565, 567-568 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/MemoryAccounting.cpp: lines 7, 163 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/MeshDrawRelocation.cpp: lines 2, 107, 115 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/MultisampleReadback.cpp: lines 1, 21, 36-50, 101, 255, 318, 397, 430 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/MultisampleRetirement.cpp: lines 302-303, 491, 499, 509, 512, 552, 576, 578 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/MultisampledPassOrder.cpp: lines 132 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/PassBreakReasons.cpp: lines 146 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/PipelineJournal.cpp: lines 4, 20, 36, 332-370, 375, 926-931 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/PixelBarycentricEmulation.cpp: lines 2, 92, 132 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/PreparedGraphics.cpp: lines 2, 27-32, 145, 163, 167-173, 209, 231, 253, 256, 300, 362, 479, 588-604, 752 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/PreparedShaders.cpp: lines 91, 100-101, 144, 153-154, 190 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/PushOnlyHeapPasses.cpp: lines 1-116 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/RecipeTemplateAging.cpp: lines 1-159 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp: lines 5, 12, 15, 474, 606-625, 1094, 1767 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/SampleOrder.cpp: lines 1, 66-80, 552-553, 565, 572, 653, 660, 1471, 1473, 1496, 1498, 1500, 1502 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/SampledCacheBudget.cpp: lines 4-5, 606-646, 1527-1554 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ScratchPool.cpp: lines 247-249, 256, 266-271, 277-278, 282, 307, 310, 313, 341, 344, 360 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/StorageCacheBudget.cpp: lines 3, 15, 79-102, 107, 110-116, 129, 146, 148, 159-163, 176-181, 189, 227-230 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/StorageFlushOrdering.cpp: lines 208 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/StorageOneSliceAlias.cpp: lines 132 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/Tessellation.cpp: lines 1, 673-674, 724, 1222-1223 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/TessellationSubmit.cpp: lines 1-291 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/ViewPastLastMip.cpp: lines 67 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tests/execution/VulkanTestDevice.hpp: lines 20-33, 36-38 were not read; claims and findings about them are not verified.core/libs/prx/libSceAgcDriver/tools/ShaderReplay.cpp: lines 19-20, 60-91, 97-125, 156-168, 179, 183-184, 321, 324, 347-363 were not read; claims and findings about them are not verified.core/shader/recompiler/CMakeLists.txt: lines 256-261, 263-268, 271-272, 294-296 were not read; claims and findings about them are not verified.core/shader/recompiler/CacheKey.hpp: lines 9-11, 388-391 were not read; claims and findings about them are not verified.core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp: lines 919, 966-975, 990, 1057-1073, 1077 were not read; claims and findings about them are not verified.core/shader/recompiler/Deserialize.cpp: lines 233 were not read; claims and findings about them are not verified.core/shader/recompiler/HeapCacheSwitch.hpp: lines 1-79 were not read; claims and findings about them are not verified.core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/DescriptorBinding.hpp: lines 42, 49-54, 64-66, 70, 73-85, 89-91, 96 were not read; claims and findings about them are not verified.core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp: lines 8, 159-160 were not read; claims and findings about them are not verified.core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrProgram.hpp: lines 148-150 were not read; claims and findings about them are not verified.core/shader/recompiler/IntermediateRepresentation/src/IrProgram.cpp: lines 967-984 were not read; claims and findings about them are not verified.core/shader/recompiler/Optimization/include/Optimization/BindingAllocator.hpp: lines 25-31, 34 were not read; claims and findings about them are not verified.core/shader/recompiler/Optimization/include/Optimization/DescriptorBindingBuilder.hpp: lines 48, 50-51, 59 were not read; claims and findings about them are not verified.core/shader/recompiler/Optimization/include/Optimization/ResourceProgram.hpp: lines 65, 69-72, 75, 80 were not read; claims and findings about them are not verified.core/shader/recompiler/Optimization/src/BindingAllocator.cpp: lines 16-27, 83-84, 129-132, 134-136, 174-182, 234 were not read; claims and findings about them are not verified.core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp: lines 23-24, 427-428, 561, 563-564, 568, 591-593, 600, 605-606, 637, 652-658, 675-678, 711-729, 735-737, 741-745, 756-765, 858-859, 879-880, 891, 894, 914-929 were not read; claims and findings about them are not verified.core/shader/recompiler/Optimization/src/ShaderInfoCollector.cpp: lines 582-596, 600 were not read; claims and findings about them are not verified.core/shader/recompiler/PipelineSpecialization.hpp: lines 40, 45-48, 53-55, 71-76 were not read; claims and findings about them are not verified.core/shader/recompiler/PushDataLayout.hpp: lines 1-268 were not read; claims and findings about them are not verified.core/shader/recompiler/Recompiler.cpp: lines 2, 4-5, 28, 434-461, 464, 481-541, 544-585, 743, 783-784, 787-788, 848-850, 870-871, 884-892, 972, 980-987, 1005, 1015, 1102, 1126, 1159, 1199-1201, 1204, 1206-1208, 1212-1215, 1219-1220, 1222-1234, 1329, 1336, 1350-1358, 1397, 1446, 1460-1461, 1464, 1491, 1517, 1538, 1542-1543, 1801, 1820-1821, 1890, 2027-2033, 2051-2071, 2073-2074, 2093, 2096, 2148-2149, 2167-2171, 2187, 2205, 2228, 2233, 2420, 2422-2425, 2435, 2452-2457, 2466-2625, 2634-2669 were not read; claims and findings about them are not verified.core/shader/recompiler/Recompiler.hpp: lines 377-380, 464-467, 510-539, 750-751, 947-955, 986, 1016-1017, 1037-1047 were not read; claims and findings about them are not verified.core/shader/recompiler/RuntimeAbi.hpp: lines 12, 21-54, 66-67, 74-80, 89-122, 197 were not read; claims and findings about them are not verified.core/shader/recompiler/ShaderDiskCache.cpp: lines 90-91, 93, 95, 99, 103, 107, 109-110, 149, 483-484, 514-515, 533-541, 609-617, 684-688, 728-732, 769, 776-781, 791, 798-803, 890-891, 1001, 1010-1011, 1478 were not read; claims and findings about them are not verified.core/shader/recompiler/ShaderDiskCache.hpp: lines 16 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitter.hpp: lines 47-49, 59, 61 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterHelpers.hpp: lines 44-46, 117-118, 120, 127 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterState.hpp: lines 74-77, 91, 98-100, 122-130, 247-250, 252, 279 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvMemory/SpirvBufferAccess.hpp: lines 7, 13-24, 26-27, 34 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvMemory/SpirvConstants.hpp: lines 17 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvBdaFault.cpp: lines 4, 16-17, 25-26, 67-68 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvBdaLookup.cpp: lines 4, 68-76, 79-103 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp: lines 83-94, 283-285, 361-362 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp: lines 6, 106-116 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp: lines 11, 2066-2067, 2069-2073, 2081-2082, 2287-2288, 2766 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvBufferAccess.cpp: lines 6, 8, 37-236, 239-245, 271-293, 483-484, 491, 515-525 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvConstants.cpp: lines 4-5, 41-44 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvDescriptors.cpp: lines 5, 7, 10, 63, 81-106, 111-113, 183-219, 232, 244-250, 268, 276-294, 321, 367 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvEmitterHelpers.cpp: lines 10, 145, 172, 499-511, 515, 522, 526-527, 532-534, 538-606, 620, 622-627, 630-634, 637-656, 659-663, 670, 692-700, 707-712, 715-720, 743, 749, 785 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp: lines 6, 1625, 1641, 1665 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvModuleSetup.cpp: lines 310-312, 315, 329-333 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvScratchPool.cpp: lines 55-58, 76-83 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvTypes.cpp: lines 10-18, 149-156 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp: lines 4, 970, 1971-1973, 2011, 2157, 2204 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvOptimizer.cpp: lines 178 were not read; claims and findings about them are not verified.core/shader/recompiler/SpirvBackend/src/SpirvRuntimeBuffer.cpp: lines 6, 223-230, 233-258, 298-302, 306, 312, 320-322, 361-362, 366, 435-437, 1012-1013 were not read; claims and findings about them are not verified.core/shader/recompiler/tests/HeapTemplateBudgetTests.cpp: lines 1-77 were not read; claims and findings about them are not verified.core/shader/recompiler/tests/RequestSerializerTests.cpp: lines 183-324, 347, 349-350, 373, 385, 902-903, 919, 965, 980, 1294-1299 were not read; claims and findings about them are not verified.docs/dev/ARCHITECTURE.md: lines 144, 151, 155 were not read; claims and findings about them are not verified.docs/dev/ENVIRONMENT.md: lines 44, 208-209, 216-217, 281, 425, 455, 467, 576 were not read; claims and findings about them are not verified.docs/dev/debt/libSceAgcDriver.md: lines 380, 470 were not read; claims and findings about them are not verified.docs/user/USAGE.md: lines 564, 570-573 were not read; claims and findings about them are not verified.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-14T17:54:12Z.
Review: COMMENTED
Reviewed — no blocking findings, three non-blocking items
The change adds an opt-in descriptor heap path with heap-backed samplers, bindings and tests. I found no blocking defect. Three non-blocking items below need a fix.
What I ran
No build or tests were run. I checked three findings by reading the code at head
72f1ed74e2f623a4c4fc946ff8a390e48d02a808(the file at that commit, and searches for the symbols each finding names). An automated read of the changed files covered 347 of 348 files and 17,374 of 17,375 added lines. I did not read the whole diff myself, so the rest of the code rests on that pass.Results
Findings
Blocking
None.
Non-blocking
HeapDrawBench.cpp:328:roundsaccepts 0 to 2 from argv. Rounds below 3 never add toperDraw(line 351), yet the summary callsperDraw.front()andperDraw[perDraw.size() / 2](line 360) on the empty vector. Fix: rejectrounds < 3, or skip the summary whenperDrawis empty.HeapEmbeddedSampler.cpp:93: themirrorvariant is compiled intoOutputs[2], but nothing dispatches it or checks its output. Only its pipeline identity is compared. Fix: dispatch it to its own output and assert the mirrored sample.TextureDetiler.cpp:563: if the heap CMASK pipeline fails after the classic one succeeded, the failure overwritescreatedandCheckthrows, so the classic pipeline is never used. Fix: keep the heap result separate, and fall back tocmaskPipelinewhen the heap one fails.Sources
github.com/boykopovar/AnyPS5@72f1ed74e2/core/libs/prx/libSceAgcDriver/tests/execution/HeapDrawBench.cpp (L351)github.com/boykopovar/AnyPS5@72f1ed74e2/core/libs/prx/libSceAgcDriver/tests/execution/HeapEmbeddedSampler.cpp (L111)github.com/boykopovar/AnyPS5@72f1ed74e2/core/libs/prx/libSceAgcDriver/Graphics/src/TextureDetiler.cpp (L560)Not verified
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvDescriptors.cpp:288). Not confirmed, so not raised as a finding.To get this to a good state
Address the three non-blocking items. Nothing blocks the change itself.
AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-15T03:36:43Z.
Review: COMMENTED
Reviewed — comments
The review is incomplete because this change spans many files and most changed-file text was not inspected, so a formal approval or change request is not justified.
What I ran
7b9806d8f4212d716b2380a24110799d9fe3cee6, basemain; no tests or build commands were run.review/description.md(lines 1–250 of 502),review/commits.md(lines 1–15 of 250),review/manifest.json(lines 1–15 of 20,414),review/diff.patch(lines 1–250 of 30,104), andreview/README.md(lines 1–15 of 364). Inspected the changed-file listing.Results
Findings
Blocking
None verified in the inspected excerpts.
Non-blocking
None.
Not verified
Most changed files and most changed lines were not read, including key heap and shader implementation files; their behavior is not verified. The changed-file listing shows numerous files excluded from
files/as too large, plus one unsupported submodule entry. Performance measurements in the description are author-provided and were not independently verified. No build, tests, or runtime checks were performed.To get this to a good state
Nothing is required. Optional: complete the audit of the changed files and run relevant checks before making a formal review decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-15T06:34:33Z.
Review: COMMENTED
Reviewed — comments
This review is incomplete: the change spans many files, and I could not inspect the changed code in enough depth to support a formal decision.
What I ran
Read the prepared description, manifest, and the opening portion of the diff for head
91cf658f1f817e526e7f1153d0399d152b065434. No tests or builds were run.Results
Findings
Blocking
None verified.
Non-blocking
None.
Not verified
The diff and changed files were not read in full. The prepared description and manifest were read; only the opening portion of
diff.patchwas read. The changed Vulkan-Headers submodule and numerous files excluded from the review folder were not inspected. In particular, implementation correctness, security, performance, and test coverage remain unverified.To get this to a good state
Complete the targeted review of the changed implementation and tests before making a merge decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-15T18:33:49Z.
Review: COMMENTED
Reviewed — no blocking findings
The inspected heap and dispatch paths show no verified blocking defect; review coverage is incomplete because many changed files were excluded from the prepared bundle.
What I ran
Reviewed head
c7ec10aa5e4dc510a940323a705ad39b059c7db8using the prepared review bundle and the pinnedrepo_read.pyreader. No build or tests were run.Results
Findings
Blocking
None verified in the inspected code.
Non-blocking
None.
Not verified
The manifest contains many changed files not included in the prepared bundle, including core descriptor heap, shader recompiler, presentation, and test files. These were not read. The Vulkan-Headers submodule contents were also excluded. Runtime behavior, build, tests, and the performance claims in the description were not independently verified. Files read:
review/description.md,review/commits.md,review/manifest.json,review/diff.patch,core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/HeapStages.cpp,core/libs/prx/libSceAgcDriver/Graphics/src/BindlessHeap.cpp, andcore/libs/prx/libSceAgcDriver/Graphics/include/BindlessHeap.hpp. Files excluded: those recorded as not included inreview/manifest.json, including the Vulkan-Headers submodule.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-15T19:36:14Z.
Review: COMMENTED
Reviewed — comments
The review of
d3d885a7bb8d540743dfeebff0e0a0a7c9ddaf5eis incomplete because most changed files were excluded as too large, so a merge decision is not justified.What I ran
Results
Findings
Blocking
None established from the code inspected.
Non-blocking
None.
Not verified
The review folder listed many changed files as excluded because they were too large, including core heap allocation and descriptor mapping, shader resource handling and emission, Vulkan device setup, and numerous tests. The Vulkan-Headers submodule was also unavailable as text. I read selected ranges from
HeapStages.cpp,Dispatch.cpp,Draw.cpp,GuestMemory.cpp,BindlessHeap.cpp,BindlessHeap.hpp, andRecycledShared.hpp; this does not cover all added lines in those files or every changed file. No tests, build, or console behavior were verified.To get this to a good state
Nothing is required. Optional: complete review of the excluded implementation and test files before relying on this review as a merge decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-15T19:42:50Z.
Review: COMMENTED
Reviewed — comments
The review is incomplete because the change spans many files whose added lines and behavior were not inspected.
What I ran
Read the prepared PR bundle for head
46454e1523d4faa76395008f30eb4167a86be2fd; no tests or build commands were run.Results
Findings
Blocking
None identified in the portions inspected.
Non-blocking
Not verified
Read:
review/description.mdlines 1–200 of 502,review/commits.mdlines 1–30 of 250,review/README.mdlines 1–200 of 368,review/manifest.jsonlines 1–200 of 20,946,review/diff.patchlines 1–200 and 1,200–1,450 of 30,740, andcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/HeapStages.cpplines 1–220 of 802. The description, commit list, manifest, diff, and changed source files were not read in full. Many changed files were not inspected, including files listed by the manifest as excluded from the review folder because they were too large; the Vulkan-Headers submodule was also unavailable as plain text. No tests, build, merged-preview check, negative control, or physical-console behavior were verified.To get this to a good state
Nothing is required. The optional point above is to complete the review before relying on it as a merge decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-15T20:08:46Z.
Review: COMMENTED
Reviewed — comments
The change is large and the review is incomplete, so a formal approval is not justified.
What I ran
Reviewed the prepared diff at head
d259fc13271a14eec91791ef619e6a1c600c1bd8and read selected repository files throughrepo_read.py. No build or tests were run. The review folder’sfiles.jsonwas not available through the reader.Results
Negative control
Not run.
Findings
Blocking
None identified in the portions read. This is not a conclusion about files that were not inspected.
Non-blocking
None.
Sources
Read
review/description.md,review/commits.md,review/manifest.json, and the beginning ofreview/diff.patch; selected source ranges inBindlessHeap.cpp,HeapStages.cpp,PendingRangeIndex.hpp, andHeapTemplateBudget.hpp.Not verified
The rest of the 30,740-line diff, most changed files, build behavior, test behavior, and runtime behavior were not verified.
files.jsonwas unavailable, so the set of files markedreviewedcould not be checked. The Vulkan-Headers submodule content was not read.To get this to a good state
Nothing is required. Optional: complete the review of the remaining changed files and run the relevant build and tests before making a formal decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-15T22:35:01Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Exact head
d259fc13271a14eec91791ef619e6a1c600c1bd8(base8d2cc516245f2f4afb36a03ebc21dcbf6b9563ad): four blocking defects were verified in the source, and the change is not approvable while the hosted checks are queued.What I ran
tools/check_conventions.py --base 8d2cc51, with and without the PR title and body: passed.git diff --checkon the diff: one blank line at EOF incore/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_walk_capture_failure_tests.cmake:4.libsbuilt without errors on head and base.tests/execution/UploadCacheReadOnlyFlush.cpp:177,setenvnot declared). A heap-only pass on head is partial and I have not attributed its failures; I have not used it as evidence here.eligibility,report,schema,library-portability,conventions,labels,pr) were queued when I read them.Results
git diff --check)libs)Findings
Blocking
Request validation is skipped on the rvalue path. Recompiler.cpp:2664: the
TryCreate(RecompileRequest&&, …)overload callsRequestInputInfo, while theconst&overload (line 2658) callsValidateRequestInputs.RequestInputInfo(line 159) does not validate vertex-family V#. Smallest fix: callValidateRequestInputsin the&&overload.Split compute pipelines ignore the descriptor heap. VulkanDevice.cpp:6427:
splitComputePipelinealways usesobjects.layoutand never checksobjects.descriptorHeap. For heap-mode GPU objects the layout is never created (layout creation). Reached from the workgroup-split loop when a dispatch exceeds the device limit. Heap-mode only. Smallest fix: use the heap pipeline path with stored mappings, orrequire(!objects.descriptorHeap)as a stopgap.A test that passes without testing anything. tests/Recorder.cpp:10510:
refreshProofTestsreturns early with only a log line when host imports, write watching or a watched host import are unavailable. main then prints "passed" and exits 0, soagc_storage_refresh_proofspasses with nothing tested. Smallest fix: returnbooland return 77 frommainon false, asrewrittenBlockTestsalready does.Windows build break in two heap test files. HeapDrawSample.cpp:181 and HeapDrawBench.cpp:181 call
std::minafter an unguarded#include <windows.h>with noNOMINMAX; HeapTableWalkReuse.cpp:113 has the same problem. HeapTableStageReuse.cpp already shows the guard pattern.Three new code comments, against the repository rule. CONTRIBUTING.md says: no comments except technical debt. Added comments at
Graphics/include/FirstSampleCopy.hpp,tests/execution/DrawCacheRelocation.cppandcore/shader/recompiler/HeapTemplateBudget.hpp.Non-blocking
APS5_GPU_HEAPunset): the storage DCC key mismatch now goes to the T1 refresh (ShaderResources.cpp:4065–4068, base failed at 3871), andTouchAgingis called on hits (Draw.cpp:4748, VulkanDevice.cpp:6960). Serializer version 60 is written for every request (RequestSerializer.cpp:919). If these are intended, please say so in the description.APS5_GPU_HEAPis presence-based. BindlessHeap.cpp:74:APS5_GPU_HEAP=0enables the heap.docs/user/USAGE.mdsays=1,docs/dev/ENVIRONMENT.mddocuments presence. Please align the three.APS5_HEAP_SLOT_CAP(BindlessHeap.cpp:235):strtoulwithout validation, so-1removes the cap. Repository precedent is an error that names the variable. Other numeric variables (APS5_PUSHED_BUFFER_RECORDS,APS5_EMBEDDED_SAMPLER_CAP,APS5_HEAP_TEMPLATE_MIB,APS5_VERIFY_GPU_HEAP) are reported to have the same pattern; their parsers are not yet checked.HeapDrawBenchhas no descriptor-heap skip, unlikeHeapDrawSample(line 554). WithAPS5_GPU_HEAPset on a device without the extension it fails instead of skipping.SampledCacheBudgetcallsheapHeldReleaseTestsbefore its host-import skip (SampledCacheBudget.cpp:1563–1571), so it can fail instead of skipping without host imports. The function's own checks are not read.NoStampAfterlacks a watched guard (GuestMemory.cpp:2838). On Windows write watching is never enabled, so this path is the one that runs; correctness depends on every guest write reaching the tracker. Heap mode only.Sources
Permalinks above, all pinned to
d259fc13271a14eec91791ef619e6a1c600c1bd8.Not verified
VK_EXT_descriptor_heapcalls against the spec.UploadCacheReadOnlyFlush.cpp:177also fails on base (not reached on base).agc_driver_heap_ring_draw_keyabort ("a partial write of a packed color target is merged...") is an unsupported case the test should expect or a bug.To get this to a good state
UploadCacheReadOnlyFlush.cpp(setenv), if it also reproduces on base, as a separate change.APS5_GPU_HEAPsemantics and the default-path changes, and say so in the description.This is not an approval. The change cannot be approved while the hosted checks are queued and the blocking items above stand.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-15T23:22:31Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Head
7938e1a633: two substantiated blocking defects, one on the heap path and one on the heap-off path. Both are visible in the code at this head.What I ran
7938e1a633f5cafec338adad957fe5dac0949654, base8d2cc516245f2f4afb36a03ebc21dcbf6b9563ad(merge-base). Full diff read in 14 parts (358 files, +18163/-1659), each part reviewed by a separate reviewer; the blocking items below were checked by reading the code at this head.Results
Findings
Blocking
CMASK error buffer has no device-address usage, but its address is queried.
core/libs/prx/libSceAgcDriver/Graphics/src/TextureDetiler.cpp:551createscmaskErrorswithVK_BUFFER_USAGE_STORAGE_BUFFER_BITonly. Line 555 then callsbufferAddress(cmaskErrors->Handle()), which callsvkGetBufferDeviceAddress(:235-238). The specification requiresVK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BITfor that query, so this is a validation error and undefined behaviour on the heap path. The address is then written into the push data the heap shader dereferences. Suggested fix: add the device-address bit whenDescriptorHeapEnabled(), as the other heap buffers inVulkanDevice.cppalready do.Heap-off BDA reuse predicate changed. On the path without the heap, the reuse decision used to scan the SPIR-V (
ShaderStoresThroughAddresses(shader.program->spirv), BASEShaderResources.cpp:3126). It now reads the emitter flagshader.program->bdaStores(HEADcore/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp:3295). The same substitution is atExecution/src/Driver/Draw/Draw.cpp:263andGraphics/src/Draw.cpp:2270.bdaStoresis set only fromstate.bdaWritePointerFunction != 0(SpirvEmitter.cpp:362). The two predicates are not shown to be equivalent, and the heap-off path must not change. The test that covered the scan,tests/BdaContracts.cpp(BASE lines 213-217), has been removed. Suggested fix: keep the old predicate on the heap-off path, or show equivalence with a test that fails on a store-through-address shader that has nobdaWritePointerFunction.Non-blocking, or pending verification
Possible out-of-bounds write in walk-read copy (not yet shown reachable).
readWalkWord(Execution/src/Driver/Draw/HeapStages.cpp:358) records 4-byte reads at any address without an alignment check, whilereadWalkWords(:376) rejects misaligned addresses.copyRangeValues(:482-492) sizes each coalesced range as(end-begin)/4words but copiesend-beginbytes, so overlapping misaligned runs can write past the allocation. I have not confirmed that a guest can produce misaligned addresses on this walk. If it can, this becomes blocking. Question for the author: canResourceMaterializer.cpp:856orSrtEvaluator.cpp:277be called with a non-4-aligned address?Heap-off
INDEPENDENT_SETSgate.Graphics/src/Pipeline.cpp:631now setsVK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXTonly whencontext.graphicsPipelineLibraryis true. BASE line 596 had no such gate. Gating is probably a correction, since the flag comes fromVK_EXT_graphics_pipeline_library, but it changes the heap-off path on devices without that extension. Please say so in the PR description and add a test, or explain why the old behaviour was invalid.Registered image views may be stale on heap-direct stages.
Execution/src/Driver/Draw/DrawCapture.cpp:369-378resetsorigin,heapReadWords,capture,forgetSerialandpushOffsetbut notregisteredViewsorsupplied. The early return at:376-378never setsregisteredViews, andDraw.cpp:1108readsstageCaptures[i].registeredViewsfor every stage. I did not find a heap path that consumesregisteredImageViews, so this is not shown to produce wrong data. Resetting the field would remove the risk.Slots released without GPU completion (checked, probably covered).
Texture::releaseandStorageTexture::releasecallReleaseHeapSlotsimmediately (Texture.cpp:1550,:7775), while eviction usesRetire. The textures used by in-flight draws look retained throughrecorder->Keep(ShaderResources.cpp:1606,4533;Texture.cpp:120). Please confirm that every release path has such a reference, or make release deferred like eviction.Submittedruns before the submit can fail.Graphics/src/Recorder.cpp:4733tags heap retirements with the serial beforevkQueueSubmit. If the submit throws, those serials never complete and waiters block. Suggested fix: callSubmittedafter a successful submit.Other notes (unverified or minor).
BindlessHeap.cppembeddedSamplerMapping: an exhausted sampler heap throws on the draw path instead of falling back (:1213-1215).CreateHeapStagePipeline(:1489-1504) does not lock the pipeline cache, unlike its neighbours.tests/execution/TessellationSubmit.cpp:256-257: the heap assertion is always true when the heap is off, and the test does not setAPS5_GPU_HEAPitself.tests/execution/HeapRingDrawKey.cpp:100returnsColorMemory.size()(1024 bytes) for a 65536-byte block.tests/execution/DrawUnsupportedBufferType.cpp:96: the message check is skipped whenAPS5_VERIFY_DRAW_DATA_HITSis set.Sources
github.com/boykopovar/AnyPS5@7938e1a633/core/libs/prx/libSceAgcDriver/Graphics/src/TextureDetiler.cpp (L551-L555)github.com/boykopovar/AnyPS5@7938e1a633/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp (L3295)github.com/boykopovar/AnyPS5@7938e1a633/core/shader/recompiler/SpirvBackend/src/SpirvEmitter.cpp (L362)github.com/boykopovar/AnyPS5@8d2cc51624/core/libs/prx/libSceAgcDriver/tests/BdaContracts.cpp (L213-L217)github.com/boykopovar/AnyPS5@7938e1a633/core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp (L631)Not verified
TIMEOUT 60entries and the MinGW guard on the new heap-template-budget test are open questions.To get this to a good state
bdaWritePointerFunctionkeeps the heap-off predicate.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-16T01:48:07Z.
Review: COMMENTED
Reviewed — comments
Changes are required before merge: complete a review of the changed heap lifetime, shader emission, and cache paths; the available inspection did not establish whether they are safe to merge.
What I ran
Read the prepared description, commit list, manifest, and selected excerpts from the diff for head
e86466657ea0a92029a35d82b095e1246caa4cd0. No tests or repository commands were run; the available reader exposed file reads only, not the specified search or command execution.Results
Findings
Blocking
None verified.
Non-blocking
None.
Not verified
The change spans 1,000+ files. The diff was only partially read, and many changed source files are excluded from the prepared bundle for size. The available reader did not provide the specified search operation, so relevant callers and full changed implementations could not be inspected. No correctness, security, performance, or regression conclusion is supported for those unread areas. Files read:
review/description.md,review/commits.md,review/manifest.json, and selected ranges ofreview/diff.patch. Files excluded: changed files markedincluded: falseinreview/manifest.json, including the Vulkan-Headers submodule and numerous oversized source and documentation files.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-16T03:22:09Z.
Review: COMMENTED
Reviewed — comments
Nothing blocks this; the points below are optional.
What I ran
Inspected the prepared diff and selected source files at head
df1b5041f1d58609acd06eb98beeb2586804ce0c. No build or tests were run.repo_read.pywas unavailable as a command in this environment; I used the provided reader tools instead.Results
Findings
Blocking
None identified in the inspected code.
Non-blocking
Sources
Not verified
Read changed repository files:
core/libs/prx/libSceAgcDriver/Graphics/include/PendingRangeIndex.hpp,core/libs/prx/libSceAgcDriver/tests/PendingRangeIndex.cpp, selected ranges incore/libs/prx/libSceAgcDriver/Graphics/src/BindlessHeap.cpp, and selected ranges incore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp. Also read the prepared description, commit list, manifest and diff. The manifest lists 358 changed files; 354 changed files were not read. Of the 37 files whose full text was included in the review folder, only two were read in full.3rdparty/Vulkan-Headerswas excluded as unsupported; other excluded files were not inspected. No runtime behavior, build, tests, or performance claims were independently verified.To get this to a good state
Nothing is required. Optionally, complete inspection of the remaining changed files and run relevant checks before making a merge decision.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-16T20:33:43Z.
Review: COMMENTED
Reviewed — comments
The review covered the prepared diff and selected heap implementation paths at head
bb796287c4a5a445db786d28c44dffbbc40d65d1; substantial changed code and tests remain unread, so a formal approval is not justified.What I ran
No build or tests were run. I read the prepared description, commit list, manifest, diff excerpt, and selected repository files through
repo_read.py.Results
Findings
Blocking
None verified in the inspected code.
Non-blocking
None.
Not verified
The changed paths inspected were
core/libs/prx/libSceAgcDriver/Graphics/src/BindlessHeap.cpp(lines 1–260),core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/HeapStages.cpp(lines 1–260),core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp(lines 1–180), and the listed review documents. Most changed files were not read, including the remainder of these large implementation files, tests, shader changes, and the Vulkan-Headers submodule update. The full changed-file list is in the prepared manifest; many files were excluded fromfiles/because they were too large, unsupported, or deleted. No build, automated tests, or console behavior was verified.To get this to a good state
Nothing is required. For a formal decision, review the remaining changed implementation and test files and run the relevant checks on this head.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-17T01:31:04Z.
Review: COMMENTED
Partly reviewed — no blocking findings
Nothing blocks this; the points below are optional.
What I ran
7d4214c1f1f72298f18d204218b15d6f2d6fa945, basemain. No merged-preview check, no build, no tests.description.md,commits.md, the first 40 lines ofmanifest.json, and the house-rule sections. Searcheddiff.patchby pattern and read two hunks of it (around lines 3820–3849 and 6540–6569).Results
//lines in the diffFindings
Blocking
Non-blocking
diff.patch:6549.GpuHeapEnabledturns the heap on for any value ofAPS5_GPU_HEAPexcept0, sofalseor an empty value enables it. The commit "read APS5_GPU_HEAP=0 as off and reject malformed heap settings" says malformed values are rejected, and this check does not do that. The smallest fix is to accept only0and1and throw on anything else, as the integer helper just above it does (diff.patch:6540).Not verified
reviewedlist infiles.jsonwas not read, so this is not a full review and not an approval.manifest.jsonmarks3rdparty/Vulkan-Headersas not plain text, so the 1.4.340 bump was not checked.specVersionis its release version was not checked against the Vulkan loader.To get this to a good state
Nothing is required. Optional: the
APS5_GPU_HEAPvalue check described above.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.