Skip to content

fix(agc): clean up what a discarded batch leaves behind - #20186

Open
chitters2004 wants to merge 13 commits into
boykopovar:mainfrom
chitters2004:fix/agc-discard-cleanup
Open

chitters2004 wants to merge 13 commits into
boykopovar:mainfrom
chitters2004:fix/agc-discard-cleanup

Conversation

@chitters2004

Copy link
Copy Markdown
Contributor

What

A recorder batch whose submission fails (vkEndCommandBuffer or vkQueueSubmit fails, or anything throws between closing the batch and the submit) is discarded: its labels, completion counters and resources are released, and its completion actions never run. Three pieces of state lived only in those completions or were moved into the batch, so a discard left them stale. Each commit fixes one and adds a test that fails without the fix.

  1. Copied writers stay listed (fix(agc): delist a discarded batch's copied writers). A draw (keepRecordedDraw) or dispatch whose stores go through a copied buffer is listed in DrawCopiedWriters() / the device's copiedWriters until its completion delists it and writes the buffer back. After a discard it stayed listed for good:

    • AnyPendingCpuWrites stayed true;
    • in-place draw inputs over that range were refused;
    • the guest lease stayed pinned, so freeing the allocation waited APS5_PIN_WAIT_MS (60 s) and threw.

    Recorder::OnDiscard(action) adds per-batch discard actions. discard() runs each one under try/catch: a failure is logged and the remaining actions still run. Both sites register a delist action next to their completion.

  2. Folded occlusion samples are lost (fix(agc): restore occlusion samples a discarded batch folded and drop its own).

    • Lost samples: a batch that folds earlier batches' pending occlusion segments (a GPU sample dump, a queued dump at a store flush, or a fold at capacity) removed them from the pending list. If that batch was discarded, the earlier batches' samples (their queries did run) disappeared from every later total.
    • Never-run queries: the discarded batch's own ended segments stayed pending, so a later fold would copy queries that never ran.
    • The fix: each batch keeps what it folded (foldedSamples). Discard drops the batch's own segments and returns the rest to the front of the pending list. Capacity for that return is reserved whenever a segment is pushed (reserveSampleRestore), so discard (noexcept) never allocates. If it ever cannot restore them, it logs the loss.
  3. An HTILE clear completion is dropped (fix(agc): refuse native depth sampling after a discarded HTILE clear).

    • The state left behind: an HTILE mask clear dispatch arms the native depth surface's clear and queues the completion that marks the metadata written. After a discard the surface kept a queued completion and an armed clear for a dispatch that never ran. The next sample failed on a missing HTILE store, and every later clear was refused as overlapping.
    • The fix: the dispatch registers a discard action that clears the queued completion and refuses sampling of that surface with the reason. The transition is not undone; docs/dev/debt/libSceAgcDriver.md says so.
  4. A failed submit is completed before it is reported (fix(agc): latch a deferred completion's submit failure before waking idle waiters).

    • The race: in Driver::completeSubmission, the Complete guard's destructor marks the serial completed and wakes idle waiters while the submit failure is still unwinding. The draw pipeline reports the failure only after that. So AgcDriverWaitIdle can wake, see completed ≥ accepted and no failure, and return cleanly after a failed submit.
    • The fix: report the failure (ReportFailure) before the guard runs. ProcessShutdown still passes through unreported.
    • Why it's in this PR: its reproducer is commit 3's agc_driver_native_depth_discarded_clear. Windows CI showed it as that test's red, and on Linux unfixed it fails 1/40 serial runs and 28/64 runs with 8 in parallel, against 0/64 fixed. Without commit 4, commit 3's test is flaky.

Tested

Refresh on main 6786420, ASAN gcc RelWithDebInfo, llvmpipe (LLVM 20.1.2), detect_leaks=0 (llvmpipe threads leak 112 B):

  • 11/11 pass: agc_driver_recorder, agc_driver_discarded_copied_writer, agc_driver_native_depth_discarded_clear, agc_driver_native_depth_clears, agc_driver_native_multisample_depth, and the four kept-bytes tests.
  • Failing first, on this main: with the discard actions not run (fix 1's runner, which fixes 1 and 3 depend on), all three fail:
    • "a discarded batch ran 0 of its 2 discard actions";
    • "a discarded dispatch left its copied writer listed";
    • "native multisample depth clear has no complete tracked HTILE store".
  • The per-fix table below is from the original base 1d1ff11.
  • tools/check_conventions.py --base origin/main: passes.

Original run (base 1d1ff11), Linux, llvmpipe (Mesa 25.2.8, LLVM 20.1.2). No title; these paths are only reachable through a failed submission, which Recorder::FailNextSubmitsForTest injects.

  • New agc_driver_discarded_copied_writer_tests:

    • a dispatch and a draw (pixel shader storing through a V# to a copied buffer, recorded through VulkanDevice::Draw) are each completed, discarded and repeated;
    • checked after each: the lists, AnyPendingCpuWrites, and that the discarded one stored nothing.
  • agc_driver_recorder_tests:

    • discard actions: two counting ones around a throwing one;
    • a completed batch runs no discard actions;
    • discarded occlusion segments: a batch's own ended segment, and a batch that folded an earlier batch through a GPU dump, both through an injected submit failure. Totals are exact when occlusionQueryPrecise.
  • agc_driver_native_depth_discarded_clear (new ctest):

    • an armed HTILE clear in a discarded batch refuses sampling with the reason, and leaves no pending write;
    • a driver PM4 clear dispatch in a discarded batch: on llvmpipe this case skips (as the existing driver dispatch case does), because the imported HTILE range is not write-tracked there, so no clear is armed.
  • Fail-without-fix (each fix removed with the tests kept):

    Fix removed Result
    dispatch delist fails: "a discarded dispatch left its copied writer listed"
    draw delist fails: "a discarded draw left its copied writer listed"
    discard actions run fails: "a discarded batch ran 0 of its 2 discard actions"
    folded segments restored fails: "the samples of a submitted batch folded by a discarded batch were lost (64 after 64)"
    own segments dropped fails: vkGetQueryPoolResults occlusion: Vulkan result 1 (a fold of queries that never ran)
    HTILE clear refused on discard fails: "native multisample depth clear has no complete tracked HTILE store", which is main's behaviour
    HTILE discard action registered by the dispatch passes: only the driver case covers the registration, and it skips on llvmpipe

    The writer test also runs against main's own sources: it fails there on the dispatch check.

  • Commit 4 (the submit-failure race): unfixed, agc_driver_native_depth_discarded_clear fails 1/40 serial and 28/64 with 8 in parallel, with "serials accepted 1 completed 1, failure latched after the wait: 'vkQueueSubmit recorder: injected failure'"; fixed, 0/64. The flip, PM4-failure, worker-failure, pipeline-queue-failure and submit-progress tests pass.

  • Validation layers (VVL 1.4.363.1, sync validation on), main 1d1ff11 vs this branch, same machine, ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation.

    Side recorder native depth --clears recorded kept bytes discarded copied writer --discarded-clear VUID SYNC
    main pass pass pass fails (the bug) n/a 0 0
    this branch pass pass pass pass pass 0 0

    The layer loaded on every run, and neither log has "was not found but was requested by env var VK_INSTANCE_LAYERS".

  • python3 tools/check_conventions.py --base 1d1ff1118d (main): passes, no findings.

  • Fork CI on this tree (run 43629859674): the Linux gate, ASan and Windows pass the listed tests on both sides.

  • tools/pr_overlap.py --base main: overlaps at file level only. No open pull request touches the discard path.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: llvmpipe (Mesa 25.2.8, LLVM 20.1.2), Linux 6.18. CPU rasterizer only; no hardware GPU run.
  • AI-assisted: yes

🤖 Generated with Claude Code

chitters2004 and others added 4 commits November 14, 2026 19:41
A dispatch or draw whose stores go through copied buffers is listed as a
pending CPU writer until its batch's completion action delists it. A
batch that is discarded instead of submitted dropped that action, so the
writer stayed listed for good: AnyPendingCpuWrites stayed true, indirect
work over its range stayed on the CPU path, and its kept resources held
the guest allocation's lease until the pin wait timed out.

Recorder::OnDiscard registers actions that run only when the batch is
discarded; each runs even if an earlier one throws. The dispatch and draw
paths register their delisting there next to their completion action.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… its own

A batch that folds earlier batches' occlusion segments (a sample dump, a
queued dump at a store flush, or a fold at capacity) removed them from
the recorder's pending list. When that batch failed to submit, discard
did not put them back, so the earlier batches' samples were lost from
every later total. The discarded batch's own ended segments stayed
pending, so a later fold copied queries that never ran.

Each batch now keeps the segments it folded. Discard drops the
segments the batch ended itself and returns the rest to the front of
the pending list. Capacity for that return is reserved whenever a
segment is pushed, so discard (noexcept) never allocates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An HTILE mask clear dispatch arms the native depth surface's clear
(its generation) and queues the completion that marks the metadata
written. When the dispatch's batch failed to submit, the completion
never ran: the surface kept a queued completion and an armed clear for
a dispatch that never executed. The next sample then failed on a
missing HTILE store, and every later clear was refused as overlapping.

The dispatch now registers a discard action that clears the queued
completion and refuses sampling of that surface with the reason. The
clear's transition is not undone; the debt entry says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…idle waiters

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

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

Pull request Shared files not compared
PR 862 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 1368 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 1395 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 4040 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4448 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 4472 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4847 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5372 docs/dev/debt/libSceAgcDriver.md
PR 5609 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 5925 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6186 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6188 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6192 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6209 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 6280 docs/dev/debt/libSceAgcDriver.md
PR 6412 docs/dev/debt/libSceAgcDriver.md
PR 6481 docs/dev/debt/libSceAgcDriver.md
PR 6808 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7002 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 7085 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7275 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 7642 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7643 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7668 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 8246 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 8592 docs/dev/debt/libSceAgcDriver.md
PR 9289 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9335 docs/dev/debt/libSceAgcDriver.md
PR 9356 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9387 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9508 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9592 docs/dev/debt/libSceAgcDriver.md
PR 9712 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 9748 docs/dev/debt/libSceAgcDriver.md
PR 9852 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 9895 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9897 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 9915 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9950 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10193 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10351 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 10359 docs/dev/debt/libSceAgcDriver.md
PR 10442 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 10469 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 10492 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_native_multisample_depth_tests.cmake
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 10497 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_native_multisample_depth_tests.cmake
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 10652 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 10743 docs/dev/debt/libSceAgcDriver.md
PR 10867 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 11435 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 11436 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/QueueWorker.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 11444 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 11452 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 11483 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 11551 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 11587 core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 11825 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 12792 docs/dev/debt/libSceAgcDriver.md
PR 12828 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 12840 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 12904 docs/dev/debt/libSceAgcDriver.md
PR 12944 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 13147 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13148 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 13251 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 13809 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13863 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13920 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13928 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13929 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14032 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 14217 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 14218 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 14262 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 14871 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 14944 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14964 docs/dev/debt/libSceAgcDriver.md
PR 15058 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 15136 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/QueueWorker.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 15343 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 15456 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 15529 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 15548 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 15570 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 15621 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 15845 docs/dev/debt/libSceAgcDriver.md
PR 16260 docs/dev/debt/libSceAgcDriver.md
PR 16427 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
docs/dev/debt/libSceAgcDriver.md
PR 16571 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 16791 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/QueueWorker.cpp
PR 16796 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 16831 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 16879 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 16880 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_native_multisample_depth_tests.cmake
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 16953 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 17056 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 17611 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 18082 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 18139 docs/dev/debt/libSceAgcDriver.md
PR 18173 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 18177 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 18185 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 18390 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 18829 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 19428 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 19462 docs/dev/debt/libSceAgcDriver.md
PR 19557 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 19610 docs/dev/debt/libSceAgcDriver.md
PR 19620 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 19686 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 19697 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 19722 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 19821 docs/dev/debt/libSceAgcDriver.md
PR 19852 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 19999 docs/dev/debt/libSceAgcDriver.md
PR 20001 docs/dev/debt/libSceAgcDriver.md
PR 20010 docs/dev/debt/libSceAgcDriver.md
PR 20030 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 20072 docs/dev/debt/libSceAgcDriver.md
PR 20084 docs/dev/debt/libSceAgcDriver.md
PR 20085 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 20111 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 20132 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/QueueWorker.cpp
PR 20153 docs/dev/debt/libSceAgcDriver.md
PR 20172 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 20248 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 20315 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 20518 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 20519 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 20548 docs/dev/debt/libSceAgcDriver.md
PR 20831 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 21059 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21211 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21238 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 21303 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21499 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21528 docs/dev/debt/libSceAgcDriver.md
PR 21649 docs/dev/debt/libSceAgcDriver.md
PR 21656 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 21683 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21773 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21780 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 21923 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 21948 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 21960 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21965 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 22001 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22018 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 22062 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
docs/dev/debt/libSceAgcDriver.md
PR 22065 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 22066 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/QueueWorker.cpp
PR 22071 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22075 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22140 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 22190 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 22306 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 22424 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 22434 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/QueueWorker.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 22493 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 22531 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 22647 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/QueueWorker.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
docs/dev/debt/libSceAgcDriver.md
PR 22692 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 22717 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22778 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 22787 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 22822 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 22841 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/QueueWorker.cpp
PR 22995 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23058 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 23122 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 23234 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 23243 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23244 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23360 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 23386 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 23484 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23553 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 23563 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_native_multisample_depth_tests.cmake
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 23587 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23595 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23721 core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 23739 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 23751 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 23811 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 23818 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 23864 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 23880 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 23919 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 23955 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24083 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 24097 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24132 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24150 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 24170 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/QueueWorker.cpp
PR 24253 docs/dev/debt/libSceAgcDriver.md
PR 24294 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24300 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24305 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24327 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 24368 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 24444 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 24510 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 24572 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 24575 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24661 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24714 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24735 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 24756 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 24766 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 24793 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24823 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24869 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 24927 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 24958 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 25010 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 25322 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 25382 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 25383 core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 25421 core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 25525 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 25534 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 25557 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_native_multisample_depth_tests.cmake
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 25561 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 25574 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 25608 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 25609 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 25610 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 25679 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 25684 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 25716 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 25824 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 25911 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 25932 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26034 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_native_multisample_depth_tests.cmake
core/libs/prx/libSceAgcDriver/tests/execution/NativeMultisampleDepth.cpp
PR 26036 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 26040 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 26041 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 26084 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 26165 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26178 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 26196 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26197 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26340 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 26375 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 26384 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26389 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 26450 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Queues/QueueWorker.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26593 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26612 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26613 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 26630 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 26652 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 26686 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26689 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 26691 core/libs/prx/libSceAgcDriver/Graphics/include/Recorder.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp
PR 26699 core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 26706 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 26709 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26716 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26718 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26775 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/tests/Recorder.cpp
PR 26819 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 27012 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 27133 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md

@hamdanpor-ctrl

Copy link
Copy Markdown
Contributor

Test report, NVIDIA on Windows: the new agc_driver_native_depth_discarded_clear fails, 3 of 3 runs.

  • GPU: NVIDIA GeForce RTX 3050 Laptop GPU, driver 617.42, Windows 11 Pro (10.0.26300)
  • Build: WinLibs GCC 15.2.0 r7 UCRT, Release, all AGC execution tests built
  • Compared: main at fca835a with fix(tests): set the upload cache test's environment with _putenv_s on Windows #19899 merged (current main does not build on MinGW: UploadCacheReadOnlyFlush.cpp:177: 'setenv' was not declared), and the same tree with dce03c6 merged (git merge --no-ff, clean)
  • Environment: ANYPS5_GPU=NVIDIA, ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation (Vulkan SDK 1.4.363.0)
  • Command: ctest --test-dir build -V --parallel 4 -R "^agc_|^request_serializer|shader"
main main + this PR
Passed 1759 1760
Failed 0 1
Skipped 18 18
VUID- lines 0 0
Validation messages 61 61, same IDs
  • agc_driver_discarded_copied_writer passes. Every test that exists on both sides has the same result. The layer loads in both logs and neither reports it missing.

  • agc_driver_native_depth_discarded_clear: the DiscardedArm case passes (Native HTILE clear armed in a discarded batch refused). The DiscardedDispatch case fails in the full run and in 3 of 3 runs alone:

    AGC graphics: multisample target refusal did not match native multisample depth clear dispatch was discarded before it ran:
    

    The text after the colon is empty: CachedSampledTexture did not throw at all.

Cause, from temporary fprintfs in Driver::dispatch, VulkanDevice::recordDispatch, Recorder::discard, ArmHtileDepthClear and DiscardHtileDepthClear (removed afterwards):

  1. SubmitDriverHtileClear is the first PM4 work in this case, so Driver::dispatch creates the driver's VulkanDevice lazily (Dispatch.cpp, if (device == nullptr) device = std::make_shared<VulkanDevice>()).
  2. A submit made while that device starts up takes the one injected failure. It is a recordDispatch with record.htileClear empty, and the discarded batch holds one discard action, which is not DiscardHtileDepthClear.
  3. The exception leaves Driver::dispatch before it reaches the HtileDepthClearAddress / MatchHtileBufferMaskClear match. The HTILE mask dispatch is never recorded, so it is never armed through recordDispatch, and DiscardHtileDepthClear is never called.
  4. The test's only check on the failure is failure.find("injected failure"), which passes. The surface then has nothing to refuse.

Why CI and llvmpipe pass: on this RTX the write-watch probe reports host imports of write-watched memory keep the write watch: yes, so GuestMemory::Watched(target.htileAddress, metadataBytes) is true and the refusal is checked. Where it is false, the test prints skipped native HTILE discarded dispatch and returns before that check. So the case may never have run its assertion on a device where it applies.

Possible fix (test side): make sure the driver device exists before Recorder::FailNextSubmitsForTest(1u), so the injected failure lands on the HTILE dispatch's batch. For example, submit a harmless PM4 packet first, or wait for driver idle once. Then also require that the HTILE clear was actually armed before the failure. That way a failure that hits some other batch cannot count as success. I have not tried that change here.

Logs available on request. AI-assisted (Claude Code).

@tablefrogpillow

Copy link
Copy Markdown
Contributor

Verified this PR on three real AMD RADV generations (Mesa 26.2.6, validation layer 1.4.363, ANYPS5_REQUIRE_VULKAN=1) — and one of the new tests fails on all three, while CI (lavapipe / Windows) is green, so it's a CI-invisible gap worth flagging before merge.

Test Vega (VEGA10, GCN5) RDNA2 (RAPHAEL, gfx1036) RDNA3 (NAVI31, gfx1100)
agc_driver_native_depth_discarded_clear FAIL 3/3 FAIL 3/3 FAIL 3/3
agc_driver_discarded_copied_writer PASS (+ neg control) PASS PASS
native_multisample_depth suite 29/30 (only the above) 29/30 29/30
agc_driver_graphics, agc_shader_memory (regression) pass pass pass

native_depth_discarded_clear fails deterministically (3× per gen, GPU id reconfirmed each run) with an empty assertion message:

AGC graphics: multisample target refusal did not match native multisample depth clear dispatch was discarded before it ran:

i.e. CachedSampledTexture() threw nothing — the DiscardedDispatch driver-path refusal (the SubmitDriverHtileClear deferred-completion path) never fires on real AMD RADV. The sibling DiscardedArm (recorder-path) case in the same test passes on every gen ("Native HTILE clear armed in a discarded batch refused") — so only the driver-path refusal is missing on real hardware.

Scope: this test is added by this PR's earlier commit abdcb8700d ("refuse native depth sampling after a discarded HTILE clear"); the HEAD commit (dce03c65b5, latching the submit failure) doesn't touch whether the refusal fires, and on Vega the failure reproduces at abdcb8700d too — so it's the parent-stack refusal that doesn't fire on real AMD, not the HEAD change. lavapipe evidently takes a path where it does fire, which is why CI is green. The discarded_copied_writer fix itself is solid (its negative control confirms it catches the leak on all gens).

Happy to rebuild abdcb8700d on RDNA to pin that down further if useful.

AI-assisted: yes

@tablefrogpillow

Copy link
Copy Markdown
Contributor

Building on @hamdanpor-ctrl's NVIDIA/Windows report above — taken together, agc_driver_native_depth_discarded_clear now fails 3/3 on NVIDIA (RTX 3050 / Windows) and 3/3 on all three AMD RADV gens (Vega GCN5, RDNA2, RDNA3). So it fails on every real GPU tested, both vendors; only CI's software path (lavapipe/llvmpipe) passes it. That points at the DiscardedDispatch driver-path refusal (SubmitDriverHtileClear deferred-completion) simply not firing on real hardware in general — not a vendor- or driver-specific quirk — while the sibling recorder-path (DiscardedArm) case passes everywhere.

AI-assisted: yes

A dispatch that clears HTILE armed the clear before registering the
action that undoes it on discard, so a failed registration left the
clear armed with nothing to refuse sampling if the batch was dropped.
Recorder::ChangeUndoneOnDiscard reserves the undo's slot first, then
makes the change and stores the undo, which cannot throw.

Recorder::discard is noexcept and caught only std::exception from its
actions; any other exception terminated the process. It now logs and
continues for every exception.

The discard action test adds an action throwing a non-standard value
and an injected registration failure that must leave the change unmade.
… or at capacity

The discarded sample test covered only a dump recorded at once. It now
discards a batch whose two queued dumps, split by a flush, each fold
earlier segments, and a batch whose submit folds a submitted batch's
samples at the fold capacity, and requires the total to keep exactly
the submitted samples. A new capacityFolds count in the sample dump
statistics, also printed with the profile, shows the capacity fold ran.
…host

The discarded HTILE clear test checked only that sampling was refused,
which needs the write tracker to cover the imported HTILE range; where
it does not, as on Linux with host imports, it skipped, and removing
the dispatch's discard registration went unnoticed. DiscardHtileDepthClear
now counts its calls, and the test requires exactly one undo for the
discarded dispatch before it checks the refusal where it can.
…ng idle waiters

The fix for a failed deferred completion was shown only by a reproducer
that loses the race most of the time. The new test parks an idle waiter,
completes a deferred submission whose submit fails, and holds the
caller's own failure report until the waiter has returned, so the waiter
sees the failure only if completeSubmission latched it before waking it.
With the report moved back after the wake the waiter returns without
the failure every time.
The discarded clear check injected one submit failure and then made the
driver's first PM4 dispatch, so the driver created its device inside that
dispatch. Where device start-up or the dispatch's drain submits work, that
submit took the injected failure and threw before the dispatch matched its
HTILE clear. The clear was never recorded, armed or discarded, yet the
test passed on "injected failure", and on real GPUs the sampled texture
was then not refused.

The test now starts the driver's device and waits for the driver to go
idle before it injects the failure, and requires that the dispatch armed
exactly one HTILE clear before its batch failed. ArmedHtileDepthClearCount
counts the clears armed at registration on every host.
@rth9z

rth9z commented Nov 15, 2026

Copy link
Copy Markdown

The new agc_driver_native_depth_discarded_clear fails on Windows with an NVIDIA GPU, every run. The other new test and the neighbours pass.

Setup: Windows 11 Pro, NVIDIA GeForce RTX 5070 Ti, driver 621.01, WinLibs GCC 15.2.0 r7 UCRT, Release, BUILD_TESTING=ON, ANYPS5_REQUIRE_VULKAN=1, plus the diff of #19899 (without it main does not compile on MinGW).

result
head dce03c65b5 as is, on its own base 6786420207 agc_driver_native_depth_discarded_clear fails in 5 of 5 serial runs
head merged with git merge --no-ff onto main 9659ce01e4 fails in 4 of 4 runs (3 serial, 1 under -j 12)
agc_driver_discarded_copied_writer, agc_driver_recorder, agc_driver_native_depth_clears, agc_driver_native_multisample_depth pass in both builds
rest of ctest -R '^(agc|shader|video_out|guest_video_out)' -j 12 (merged build) 1835 passed, 0 other failures
validation layer 1.4.363 on the focused tests (merged build) 0 VUID- lines

Output, identical in every run:

Selected GPU name=NVIDIA GeForce RTX 5070 Ti vendor=0x10de device=0x2c05 driver=2604679168
Native depth feedback refused through the draw resource path; a written surface refused and a depth-tested one retired on guest read
Native HTILE clear armed in a discarded batch refused
AGC graphics: multisample target refusal did not match native multisample depth clear dispatch was discarded before it ran: 

So the ClearFault::DiscardedArm case passes, and the next one, the discarded driver dispatch (the TargetRefuses after SubmitDriverHtileClear with FailNextSubmitsForTest(1u), around NativeMultisampleDepth.cpp:1855), fails with an empty message: CachedSampledTexture either did not throw or threw with an empty what(). The test did not take its "write tracker does not cover the imported metadata range" skip, so the range was watched. The description lists only llvmpipe runs; this is the first hardware result I know of for this test. I have not looked further into why the discarded dispatch is not refused here.

AI-assisted: yes

@chitters2004

Copy link
Copy Markdown
Contributor Author

@hamdanpor-ctrl @tablefrogpillow @rth9z thanks for the hardware runs. You were right, and @hamdanpor-ctrl's trace pinned the cause: the test, not the driver, was wrong on real GPUs.

agc_driver_native_depth_discarded_clear injected its one submit failure before the driver's device existed. On real hardware, creating that device submits work of its own, so the injected failure landed there. The HTILE clear dispatch was then never recorded, armed or discarded, and the test only checked that some failure had happened. lavapipe's device start-up submits nothing, and its write tracker does not cover the imported range, so CI took the skip.

Pushed 63e9e53999:

  • The test creates the driver's device and waits for it to go idle (AgcDriverWaitForPipelineJournal, then AgcDriverWaitIdle) before it injects the failure. No sleeps.
  • ArmedHtileDepthClearCount() must show exactly one HTILE clear armed across the failing submit, and the existing count requires it undone exactly once. A failure that lands on any other batch now fails the test instead of passing it.
  • The other two failure-injection tests, agc_driver_discarded_copied_writer and agc_driver_deferred_completion_failure, set up their own device before injecting, so they don't have this gap.

RTX 3080, driver 621.24, Windows 11, Khronos validation layer, 3 runs each:

PR head dce03c65b5 this push the push without the device warm-up
agc_driver_native_depth_discarded_clear fails 3/3 (your message) passes 3/3 fails 3/3: "the HTILE clear dispatch was not armed exactly once before its batch failed (0 armed ...)"
agc_driver_discarded_copied_writer passes passes passes
agc_driver_native_depth_clears passes passes
VUID- lines 0 0 0

The third column is the check that the test now catches the real-GPU failure; lavapipe can't show it. If you can rerun on the 3050, the 5070 Ti or RADV, that would confirm it on your hardware.

AI-assisted: yes

@rth9z

rth9z commented Nov 15, 2026

Copy link
Copy Markdown

@chitters2004 confirmed on the RTX 5070 Ti with 63e9e53999.

Head 63e9e53999 merged onto main 6dbb02e37e (clean merge, plus the #19899 diff so agc_driver_upload_cache_read_only_flush compiles on MinGW). Windows 11 Pro 26300, RTX 5070 Ti, NVIDIA 621.01, WinLibs GCC 15.2.0 r7, Release, ANYPS5_REQUIRE_VULKAN=1.

  • agc_driver_native_depth_discarded_clear passes 3/3 (it failed 5/5 at dce03c65b5 on this machine), not skipped.
  • The 7 focus tests (agc_driver_deferred_completion_failure, agc_driver_discarded_copied_writer, agc_driver_flip, agc_driver_native_depth_clears, agc_driver_native_depth_discarded_clear, agc_driver_native_multisample_depth, agc_driver_recorder) pass 3/3.
  • The same 7 under VK_LAYER_KHRONOS_validation with ANYPS5_NO_SHADER_CACHE=1: pass, layer inserted, 0 VUID- lines.
  • ctest -R '^(agc|shader|video_out|guest_video_out)': 1857/1857 passed, 40 skipped (the same skips as main).

AI-assisted: yes

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 15, 2026
Keep both sides in Recorder and DepthSurface: the discard actions and
the write-complete callbacks are separate batch hooks, and the HTILE
clear counters sit next to the depth upload switch.
@github-actions github-actions Bot added needs rebase Conflicts with main, rebase needed and removed needs rebase Conflicts with main, rebase needed labels Nov 16, 2026
A native HTILE clear dispatch raised clearDispatchesPending on every
matching depth surface when it was queued, and only completion lowered
it. A batch discarded after queuing left the count raised for good, so
a later completion never reached zero and clearCompletionQueued stayed
set. Lowering it by address on discard would be wrong as well: a batch
that threw before queuing would undo another batch's dispatch.

Each dispatch now carries an HtileClearDispatch that records the
surfaces its queue step counted. Completion and discard lower exactly
those surfaces that still exist, so a batch that never queued undoes
nothing. PendingHtileDepthClearDispatches reports the count.

The discarded-arm case queues an earlier dispatch and a discarded one,
checks one stays pending after the discard, that discarding an
unqueued dispatch keeps it, and that completing it reaches zero. The
driver discarded-dispatch case checks the count returns to its value
before the failed batch. No decrement on discard fails both cases; an
address-based decrement fails the unqueued check.

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — looks good

Nothing blocks merging this change; the code inspected addresses the described discard cleanup paths, and the test evidence supplied in the PR description is consistent with those changes.

What I ran

Inspected the prepared diff and targeted files at head 5bbee1f81d90132f5e859099248148652d87905b using the review reader. No tests or build commands were run. The PR description reports test and CI results; those were not independently run here.

Results

Check Result Note
Targeted code review passed Discard, sample restore, HTILE and submit failure paths inspected
Tests in this review not run PR-reported results only

Findings

Blocking

None.

Non-blocking

None.

Not verified

The full text of core/libs/prx/libSceAgcDriver/tests/Recorder.cpp and core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp was excluded from the review folder; relevant changed ranges in VulkanDevice.cpp were read through the reader, but the changed ranges in the large test file were not. Other files listed as included were not all read in full. Build/test results and console or hardware GPU behavior were not independently verified. Read: review/description.md, review/commits.md, review/manifest.json, review/diff.patch, plus targeted ranges in QueueWorker.cpp, VulkanDevice.cpp, Recorder.hpp, Recorder.cpp, DepthSurface.cpp, Draw.cpp, DeferredCompletionFailure.cpp, DiscardedCopiedWriter.cpp, NativeMultisampleDepth.cpp, and agc_driver_native_multisample_depth_tests.cmake. Excluded by size: tests/Recorder.cpp and VulkanDevice.cpp full texts; the former's changed ranges were not read.

To get this to a good state

Nothing is required.

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — looks good

Nothing in the inspected implementation shows a verified blocking defect; the prepared artifacts report focused regression coverage, but I did not run those checks.

What I ran

Reviewed head 7d815d97c84bd0bd3e4edae0832c00fb3146bd9d using the prepared diff and repo_read.py-backed reader. No tests or builds were run in this review.

Results

Check Result Note
Patch and targeted source review passed Discard handling and affected call sites inspected
Build and tests not run Results in the description are author reported

Findings

Blocking

None.

Non-blocking

None.

Not verified

No build, test, validation-layer, or console-hardware checks were run. The description's reported test results were not independently verified. Excluded by the review-folder rules: full text for Execution/src/VulkanDevice.cpp and tests/Recorder.cpp (targeted ranges were read through repo_read.py); files listed in files.json were not available as a reader document. Other changed files read: Execution/src/Driver/Queues/QueueWorker.cpp, Graphics/include/DepthSurface.hpp, Graphics/include/Recorder.hpp, Graphics/src/DepthSurface.cpp, Graphics/src/Draw.cpp, Graphics/src/Recorder.cpp, tests/cmake/agc_driver_native_multisample_depth_tests.cmake, tests/execution/DeferredCompletionFailure.cpp, tests/execution/DiscardedCopiedWriter.cpp, tests/execution/NativeMultisampleDepth.cpp, and docs/dev/debt/libSceAgcDriver.md.

To get this to a good state

Nothing is required.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 16, 2026
@domx4q

domx4q commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Ran the tests from the Tested section with the Khronos validation layer on Linux and an NVIDIA GPU, which CI does not cover.

Setup: Arch Linux (kernel 7.3.4), GCC 16.2.1, Release, NVIDIA GeForce RTX 4090 (vendor 0x10de, device 0x2684, Ada), proprietary driver 620.70.06, Vulkan 1.4.357, Khronos validation layer 1.4.363.1. Head 7d815d97c8 merged onto main e4caa07950 with --no-ff, clean merge. Main baseline is a Release build of e4caa07950 on the same machine.

ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer \
ctest --test-dir build -R '^agc_(driver_recorder|driver_deferred_completion_failure|driver_discarded_copied_writer|driver_native_multisample_depth|driver_native_depth_clears|driver_native_depth_discarded_clear|driver_recorded_kept_bytes|copy_input_kept_bytes|depth_copy_kept_bytes|recorder_kept_bytes)$' -V
main e4caa07950 this PR
Result 7/7 passed 10/10 passed
Insert instance layer "VK_LAYER_KHRONOS_validation" 10 15
was not found but was requested by env var VK_INSTANCE_LAYERS 0 0
VUID- none none

agc_driver_deferred_completion_failure, agc_driver_discarded_copied_writer and agc_driver_native_depth_discarded_clear are new in this PR and do not exist on main. Every Vulkan test selected the RTX 4090.

No new VUID- errors; all focused tests pass on Ada.

AI-assisted: yes (Claude Code)

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 19, 2026
VulkanDevice recordDispatch: keep this branch's discard-undone HTILE clear arming with main's MarkGpuWrites(recorder, record.bindings.get()).
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 19, 2026

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — no blocking findings

Nothing blocks this change; I reviewed the discard cleanup and its tests at head aa4974be6e39b393cf0810fb17ea19a2b104e110 and found no verified defect.

What I ran

No commands or tests were run. I inspected the prepared diff and targeted source ranges through repo_read.py.

Results

Check Result Note
Diff and changed code passed Targeted review completed
Tests not run Author-reported runs only
Build not run No build performed

Findings

Blocking

None.

Non-blocking

None.

Not verified

I did not read every changed line required for a complete approval: core/libs/prx/libSceAgcDriver/tests/Recorder.cpp was too large for the review folder, and I read only targeted ranges of the other included files. I also did not run the tests or build, and did not verify hardware GPU behavior. Files reviewed: QueueWorker.cpp, VulkanDevice.cpp (targeted range), DepthSurface.hpp, Recorder.hpp, DepthSurface.cpp (targeted ranges), Draw.cpp (targeted range), Recorder.cpp (targeted ranges), DeferredCompletionFailure.cpp, DiscardedCopiedWriter.cpp (diff), NativeMultisampleDepth.cpp (targeted ranges and diff), agc_driver_native_multisample_depth_tests.cmake (diff), and docs/dev/debt/libSceAgcDriver.md (diff). Excluded from full-text review: VulkanDevice.cpp and tests/Recorder.cpp, both marked too large; the remaining included changed files were not read in full.

To get this to a good state

Nothing is required. Optional: run the new regression tests and build on the pinned head, then review the full text of the two excluded files.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc* build docs needs rebase Conflicts with main, rebase needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants