Skip to content

fix(agc): bind memory only for the backed slices of a depth plane copy - #22531

Open
bagodees wants to merge 4 commits into
boykopovar:mainfrom
bagodees:fix/agc-depth-plane-copy-unbacked-layers
Open

bagodees wants to merge 4 commits into
boykopovar:mainfrom
bagodees:fix/agc-depth-plane-copy-unbacked-layers

Conversation

@bagodees

@bagodees bagodees commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

What

A depth plane sampled as a 2D array was copied into an image with memory for every slice from 0 to LAST_ARRAY, whatever backs them. Uncharted: Legacy of Thieves Collection (PPSA05684) samples its 2560x1440 D32 depth plane as a 2D array whose LAST_ARRAY varies by frame; in 11 of 57 cold runs it reached 896 to 1792. Each such sample allocated one copy of 14 to 28 GB plus a staging buffer of the same size, both placed in host memory after the device refused them. Only slice 0 has a depth surface, and 1792 slices of that plane (about 26 GB) is more than the console's memory, so most of the declared range cannot be backed.

When slices past some point have neither a depth surface nor committed guest memory, the copy is now a sparse image of every declared slice that binds memory only up to the last slice that has either. The staging buffer covers only those slices. Unbound slices read zero, as uncommitted guest memory is read here, so loads, samples and size queries return what the fully bound copy returned. This needs sparse residency for the copy's format, residencyNonResidentStrict and enough array layers for a sparse image; otherwise, and for cubes and thick layouts, the copy binds every slice as before. A copy is made again when a later sample finds more backed slices than it binds.

SparseImageSupported, SparseRequirements and BindSparseLevels move out of the sampled-texture path in Texture.cpp so the copy can use them, and PlanSparseLevels takes the aspect, since these copies are depth images. Context gains residencyNonResidentStrict.

Tested

Windows 11 Pro (26300), NVIDIA GeForce RTX 4080 (driver 621.01), WinLibs GCC 15.2 UCRT, Release, on main 89b0eef7ab. The driver change is in 3e12a17b7e; 3eca88d569 changes only the test. The RTX 4080 reports sparse residency for D32, D16 and R16_UINT 2D images (up to 2048 layers) and residencyNonResidentStrict.

  • New case in agc_driver_depth_plane_sampling (UnbackedTailCase): a 128x128 D32 2D array with LAST_ARRAY 255 in a guest block of its own, whose first 2 slices are committed and whose other 254 are reserved and uncommitted (PROT_NONE on Linux, reserved arena memory on Windows), so the OS reports them unreadable on every host. At 3e12a17b7e the case sat at the end of the shared 8 MiB block instead, which fails wherever readable memory follows that block, as on the Linux run below. At 3eca88d569, slices 0, 1, 2 and 255 are read with image_load: the drawn value, the filled value, 0 and 0. Where the device can make the copy sparse it must hold less than 16 slices; here it holds 262144 bytes, against 33554432 on main. Where it cannot, it must hold every slice. With the sparse path forced off, the case passes with every slice bound (33554432 bytes).
  • At 3e12a17b7e: ctest -R "depth|sparse" (111 tests; agc_depth_range_remap, guest_ces_sparse_profiles* and windows_sparse_load excluded) with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation (SDK 1.4.363), VK_LOADER_DEBUG=layer, on the change and on main. Every test that ran passed on both, apart from tests that skip themselves on this machine (agc_driver_native_depth_driver_queued_fill, agc_driver_sparse_dma_buf_import, agc_host_import_sparse) on both. agc_driver_texture_sparse_levels and agc_driver_sparse_buffer_holes were then built and run on both and pass. The new case fails on main (shown by the first revision of this PR; on main it does not build now, as it uses DepthPlaneCopyCanBeSparse). Every log shows the layer inserted, no was not found line and no VUID-. agc_depth_range_remap_tests.exe is removed by Windows Defender right after linking on this machine, on main too, so it was not run.
  • At 3eca88d569: both agc_driver_depth_plane_sampling registrations with the same environment, on the sparse path (262144 bytes) and with it forced off (33554432 bytes): pass, layer inserted, no VUID-.
  • domx4q ran ctest -R depth at 3e12a17b7e on Arch Linux with an RTX 4090 (driver 620.70.06): no VUID-, and both agc_driver_depth_plane_sampling registrations failed in the old placement of the case, with values that change between runs (one is the ASCII text Tabl), which points to readable memory after the 8 MiB block rather than the copy. 3eca88d569 is not yet run there.
  • The first revision of this PR shortened the copy instead and was run on PPSA05684 (four cold 8-minute runs): no oversized copy and no host-placed staging buffer; one run still lost the device with a write fault, without any large copy, so the title's device loss has another cause as well. This revision was not run on the title.
  • tools/check_conventions.py --base upstream/main and git diff --check pass.

Not tested: AMD and Mesa drivers at the current head. tablefrogpillow's RADV and lavapipe runs were of the first revision (a07e947ce5), whose shortened copy left loads past it out of bounds. Where these drivers lack sparse residency for depth formats, the copy binds every slice, as on main.

tools/pr_overlap.py reports #18185 on neighbouring lines of DepthSurfaceTexture (it adds fields to each slice) and #10894, #19697 and #20041 on the offsets table of DepthPlaneSampling.cpp; neither implements this change.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • 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: NVIDIA GeForce RTX 4080, driver 621.01, Windows 11 Pro 26300
  • AI-assisted: yes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added docs agc libSceAgc* labels Nov 17, 2026
@tablefrogpillow

Copy link
Copy Markdown
Contributor

Heads-up — the two new tests fail on our RADV and on lavapipe. Head a07e947c, fresh build, 0 VUID:

GPU depth_plane_sampling _evicting
lavapipe Fail Fail
RDNA2 (RAPHAEL, gfx1036) Fail Fail
RDNA3 (NAVI31, RX 7900 GRE) Fail Fail

Deterministic (not flaky), and it fails the same with and without the Khronos validation layer. The assertion: D32 2D array of 256 slices whose last 254 lie past the committed guest memory, slice 255: texel 0 read 0xffffff10, expected 0x00000000 — the slice past committed guest memory reads garbage instead of 0 on RADV/Mesa, whereas it's 0 on your RTX 4080.

Two things that might help narrow it: our RADV reports residencyNonResidentStrict = true (so unbacked sparse should read 0 here too), and CI's linux / write-watch / pipe-write jobs show as skipping on this PR, so CI won't have exercised it on lavapipe. Reads like the "backed slices" path leaves uncommitted guest memory uninitialized on RADV where NVIDIA returns 0 — worth a look before merge. Happy to pull a specific slice dump or the evicting detail if useful.

AI-assisted: yes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bagodees bagodees changed the title fix(agc): copy only the backed slices of a depth plane array fix(agc): bind memory only for the backed slices of a depth plane copy Nov 17, 2026
@bagodees

Copy link
Copy Markdown
Contributor Author

Thanks, that was a real bug. The test reads with image_load, and Vulkan clamps the array layer only for sampling, so a load past the shortened copy was out of bounds: NVIDIA happened to return 0, RADV and lavapipe did not.

3e12a17b7e drops the shortening. The copy keeps every declared slice and, when the device can, is a sparse image that binds memory only up to the last slice with a depth surface or committed guest memory; unbound slices read zero through residencyNonResidentStrict. Without sparse residency for the format (or without residencyNonResidentStrict), it binds every slice as before. The test now expects a small copy only where DepthPlaneCopyCanBeSparse says the copy can be sparse, and every slice otherwise.

I have only an RTX 4080 here: the sparse path passes, and so does the full copy with the sparse path forced off. If you can rerun agc_driver_depth_plane_sampling on RADV and lavapipe at the new head, the output now says which path it took (depth plane copy of uncommitted slices: sparse or every slice bound).

AI-assisted: yes.

@domx4q

domx4q commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Ran the Tested section's depth pattern with the Khronos validation layer on NVIDIA's proprietary Linux driver, since the PR was tested on Windows only. The new UnbackedTailCase fails here as well, on a07e947ce5 and on the current head 3e12a17b7e, so it is not limited to RADV and lavapipe.

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 3e12a17b7e merged onto main 89b0eef7ab with --no-ff, clean merge. Main baseline is a Release build of 89b0eef7ab 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 'depth' -V
main 89b0eef7ab this PR (3e12a17b7e)
Result 97 passed (97) 95 passed, 2 failed (97)
Insert instance layer "VK_LAYER_KHRONOS_validation" 129 129
was not found but was requested by env var VK_INSTANCE_LAYERS 0 0
VUID- none none

agc_depth_range_remap runs here and passes on both sides. On main the two agc_driver_depth_plane_sampling registrations run main's version of the test, without UnbackedTailCase.

Failures on 3e12a17b7e, both in the new case. A rerun gives the same failures, so they are deterministic, but the value read changes from run to run:

agc_driver_depth_plane_sampling:
AGC graphics: D32 2D array of 256 slices whose last 254 lie past the committed guest memory, slice 2: texel 16 read 0x6c626154, expected 0x00000000
  rerun: slice 2: texel 16 read 0x48000029
agc_driver_depth_plane_sampling_evicting:
AGC graphics: D32 2D array of 256 slices whose last 254 lie past the committed guest memory, slice 255: texel 0 read 0x09480851, expected 0x00000000
  rerun: slice 2: texel 16 read 0x0000b824

a07e947ce5 gave the same picture in three runs each (for example slice 2: texel 16 read 0x000001a3 and texel 2 read 0xffffffff), with the same totals and no VUID-. The values look like stale memory rather than a fixed pattern, so on this driver slices 2 and up seem to hold whatever the memory held before, both when they get no copy and when they are left unbound.

No new VUID- errors, but the two agc_driver_depth_plane_sampling registrations fail deterministically on Ada with this change, on both heads.

AI-assisted: yes (Claude Code)

@github-actions

github-actions Bot commented Nov 17, 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/Graphics/src/Texture.cpp
PR 1395 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 4448 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 4472 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 4847 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5609 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 5925 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6188 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6192 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6197 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6209 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6280 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6553 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 6808 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 7002 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7085 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 7642 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 7643 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 8246 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 9289 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 9356 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 9387 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 9508 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 9712 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 9895 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 10193 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 10351 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 10469 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 10492 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 10497 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 10743 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 10867 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 11435 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 11444 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.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
PR 12746 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 12792 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 12828 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 12944 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 13148 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 13251 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 13863 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 13920 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 13928 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 13929 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 14217 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 14218 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 14871 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 15058 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 15136 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 15296 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 15343 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 15548 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 15570 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 16427 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 16571 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 16796 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 16831 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 16953 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.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/Context.hpp
PR 17943 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 18029 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 18082 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 18173 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 18829 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 18956 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 19428 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
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 20030 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 20041 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DepthPlaneSampling.cpp
PR 20063 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
PR 20111 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 20172 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 20183 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 20248 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 20519 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 20580 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 20728 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 21211 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21303 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21669 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 21923 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 21948 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 22001 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22025 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22029 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22062 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 22071 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22190 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 22424 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 22647 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 22692 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 22697 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/tests/execution/DepthPlaneSampling.cpp
PR 23234 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 23244 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23587 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23595 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 23674 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
PR 23739 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 23955 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 24083 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 24294 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24327 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 24444 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 24445 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 24714 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 24756 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 25010 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 25534 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DepthPlaneSampling.cpp
PR 25557 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 25559 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 25561 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 25574 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 25716 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 26613 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26686 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 26819 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 27288 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 27343 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 27437 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 27698 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 27744 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 27811 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 27870 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 27887 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28001 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28059 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28118 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28119 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28142 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 28169 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28176 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28187 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 28193 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28198 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28209 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 28214 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28229 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28234 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28240 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28252 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28268 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28290 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28291 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28292 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28293 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28296 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28333 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28387 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28388 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28389 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28396 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28411 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28421 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28451 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
PR 28470 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28476 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28487 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 28488 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28520 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28537 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 28559 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28560 core/libs/prx/libSceAgcDriver/tests/execution/DepthPlaneSampling.cpp
PR 28566 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28583 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28590 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 28624 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28659 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28665 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28667 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28673 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 28681 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28692 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28702 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28704 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28765 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28793 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28804 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28858 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28875 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28894 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28925 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28928 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28929 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28930 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28933 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 28934 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 28935 core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 28936 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 28937 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28938 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 28943 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28945 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28948 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28952 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28954 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28956 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28957 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28958 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 28962 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28964 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 28984 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 29032 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 29033 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29038 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 29039 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 29042 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29051 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 29058 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 29060 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 29066 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29067 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29074 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 29076 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
PR 29082 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 29083 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 29084 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 29085 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 29087 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29089 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 29095 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
PR 29096 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 29097 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 29098 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29101 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
PR 29102 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 29103 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29104 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29105 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29106 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29107 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29108 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 29110 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29113 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29115 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29116 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29117 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29118 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
PR 29119 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29120 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
PR 29121 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
PR 29123 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
PR 29200 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 29218 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Context.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 29227 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DepthPlaneSampling.cpp

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

Copy link
Copy Markdown
Contributor Author

Thanks for running it on Linux. The test was wrong there, not the copy. CommittedRanges asks the OS which pages are readable, and the case put its array at the end of the shared 8 MiB guest block, assuming nothing readable follows it. On Windows nothing did; on your machine other readable memory of the process follows the block, so slices 2 and up count as committed guest memory and the copy correctly reads them from it (0x6c626154 is the text Tabl). That is also why the values change between runs.

3eca88d569 gives the case its own block: 2 committed slices followed by 254 reserved, uncommitted ones (PROT_NONE with MAP_NORESERVE on Linux, reserved-only arena memory on Windows), kept for the whole run. GuestBlock takes the committed and reserved sizes for this; the other cases keep the 8 MiB block as before.

On the RTX 4080 under Windows both registrations pass with the sparse copy (262144 bytes) and with the sparse path forced off (every slice bound, 33554432 bytes), no VUID-. I cannot run Linux here; a rerun of agc_driver_depth_plane_sampling at the new head would show whether the RTX 4090 takes the sparse path there too.

AI-assisted: yes.

@milescoviello

Copy link
Copy Markdown
Contributor

@bagodees a heads-up: #22778 also changes how DepthSurfaceTexture sizes a depth plane copy, and it conflicts with this PR on the copy == nullptr line. The cases are different. Crimson Desert samples slice 327 alone (BASE_ARRAY = LAST_ARRAY = 327) of a 2048x2048 array over a D32S8 surface, and #22778 builds the copy from ViewedArrayWindow of the view, so the slices before the base slice are never allocated or uploaded. Your sparse binding covers an unbacked tail inside the viewed range. They combine: the window goes first, then backedPlaneLayers inside it. Since you opened yours first, I'll rebase #22778 onto it if it merges first.

@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 — changes requested

Changes are required before merge: compute the bound slice count from committed ranges without treating gaps before the last range as backed.

What I ran

  • Reviewed head 3eca88d569daed6a6ee1999b0412da8183dda28d from the prepared diff and reader. No build or tests were run.
  • Read: VulkanDevice.cpp, Context.hpp, DepthSurface.hpp, Texture.hpp, DepthSurface.cpp, Texture.cpp, DepthPlaneSampling.cpp, and GuestMemory.cpp; also reviewed description.md, commits.md, manifest.json, and diff.patch.
  • Excluded by the bundle: VulkanDevice.cpp and Texture.cpp full texts (the changed hunks were read through the reader). files.json was unavailable in the reader; the manifest lists all eight changed files and says six full texts are included.

Results

Check Result Note
Diff and targeted source review passed Found one concrete edge case
Build and tests not run No execution environment available
Other changed-file behavior not verified Full audit not completed

Findings

Blocking

  • core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp:171 — backedPlaneLayers derives the backing prefix from ranges.back().second. If committed guest memory has a gap and a later committed range, this counts every intervening layer as backed. The sparse image then binds those gap layers and stages them with ReadCommitted, despite their pages being uncommitted. Compute the maximum backed prefix from contiguous committed bytes starting at address (while still accounting for depth surface slices), and add coverage for a committed range after a gap.

Non-blocking

None.

Not verified

  • Build, tests, validation-layer runs, and physical-console behavior were not run. The author reports NVIDIA/Windows tests in the description; those are not runs performed for this review.
  • The sparse path was inspected, but this review did not exhaustively verify Vulkan sparse binding behavior across drivers.

To get this to a good state

Fix the gap handling in backedPlaneLayers and add a regression case with committed pages after an uncommitted gap. Then rerun the relevant depth-plane sampling tests.

…uncommitted gap

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

Copy link
Copy Markdown
Contributor Author

@MarcZX10 Thanks for the close read. Binding the layers in a gap is intended, and the suggested change would lose data, so I kept it and added the case you asked for.

  • The sparse copy binds a prefix: layers below resident are bound, the rest are not. A gap layer inside that prefix is bound and staged once with ReadCommitted, which zero-fills the uncommitted pages (copyCommitted in GuestMemory.cpp). After that Refresh marks it uncommitted and does not upload it again. That is how every layer was handled before this PR, so a gap costs memory but does not read anything it should not.
  • Cutting the prefix at the first gap would leave every committed layer after it unbound. Sampling those layers would then return the unbound sparse value instead of the guest's data, and a depth surface slice past the gap would fail the lies in the unbound part of a sparse depth plane copy check. Only the last committed byte gives a prefix that covers every layer holding data.
  • Binding only the committed layers, gaps excluded, would need several bind ranges instead of one prefix. I left that out because no title here has shown a gap.

73e3c65537 adds CommittedAfterGapCase to DepthPlaneSampling.cpp: a 256-slice D32 array with slices 0 and 1 committed, 2 to 4 reserved only, slice 5 committed with 0.625, and the rest reserved. It checks that slice 5 samples 0.625, that slices 2, 4 and 255 sample zero, and that a sparse copy grows by less than 16 slices. GuestBlock now takes a list of committed ranges for this.

On the RTX 4080 under Windows, agc_driver_depth_plane_sampling and agc_driver_depth_plane_sampling_evicting pass with VK_LAYER_KHRONOS_validation inserted (1.4.363) and no VUID-; the copy is sparse. As a negative control I built backedPlaneLayers with the prefix cut at the first committed range: the new case then fails with slice 5 reading 0x00000000 instead of 0x3f200000.

AI-assisted: yes.

@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 — comments

The sparse copy bounds memory use to the last backed layer, but the changes leave a correctness and resource-lifetime issue in the sparse image path.

What I ran

Reviewed head 73e3c65537860540c57c3720c92731f01e8a8d1f using repo_read.py to inspect the prepared diff and targeted source ranges. No commands or tests were run during this review.

Results

Check Result Note
Diff and changed code passed Core paths inspected
Automated tests not run No local test execution
Full changed-file review not run VulkanDevice.cpp and Texture.cpp were inspected only at relevant ranges

Findings

Blocking

None verified.

Non-blocking

  • The sparse image is created with arrayLayers = layers, but PlanSparseLevels is called with arrayLayers = max(backed, 1). The resulting bind plan allocates sparse binds only for the backed prefix, while the image's remaining array layers are intentionally nonresident. This appears consistent with the stated design, but depends on sparse residency semantics and the strict-nonresident feature; physical-device behavior was not tested here. See core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp:2646.

  • The GuestBlock test destructor removes allocation tracking and unmaps/releases reserved memory before unregistering write-watch ranges. If unregistering consults or accesses the memory range, that order could be problematic; I did not inspect the unregister implementation. See core/libs/prx/libSceAgcDriver/tests/execution/DepthPlaneSampling.cpp:151.

Not verified

  • Full texts of core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp and core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp were excluded from the review bundle; only the relevant changed and neighboring ranges were read through repo_read.py.
  • Other changed files were not read in full. The manifest lists Context.hpp, DepthSurface.hpp, Texture.hpp, DepthSurface.cpp, DepthPlaneSampling.cpp, and the debt note as included; targeted sections of DepthSurface.cpp and DepthPlaneSampling.cpp and the relevant declaration/implementation ranges in the excluded files were inspected.
  • Tests and behavior on AMD/Mesa, other Vulkan drivers, and the target game were not run or confirmed by this reviewer. The description reports author-run results on an RTX 4080/Windows 11 and an RTX 4090/Arch Linux on an earlier revision.

To get this to a good state

Nothing is required. The points above are optional context for follow-up validation.

@Helldiverr

Copy link
Copy Markdown
Contributor

Passes on AMD RDNA4 with the Khronos validation layer: 3/3 head runs, 0 VUID- and 0 synchronization hazards. Nothing regresses, but this run does not exercise the sparse path. The driver rejects a sparse-resident D32_SFLOAT image, so both new cases take the fallback, which binds every slice. The memory saving does not apply on this GPU and driver.

What this run adds.

  • Earlier runs: tablefrogpillow ran RADV and lavapipe on the first revision a07e947c. There has been no AMD run since.
  • This run adds:
    • the first AMD run of head 73e3c65537, on Windows with a discrete RDNA4 GPU, with the layer and with synchronization validation;
    • the negative control;
    • a diagnostic showing which check rules out the sparse path here.

Code.

  • DepthSurface.cpp:2631-2650 on the head: DepthPlaneCopy takes backed. If backed < layers and PlaneCopyCanBeSparse holds, it binds memory only for the first max(backed, 1) slices. Otherwise it binds every slice, as before.
  • :2684 PlaneCopyCanBeSparse requires both residencyNonResidentStrict and SparseImageSupported (Texture.cpp:415), with the depth aspect, or the colour aspect for R16_UINT.
  • :2709 Refresh skips layers at or past resident.
  • :2864 backedPlaneLayers sizes backed from the committed ranges.
  • :4744-4745 recreates the copy when it has fewer resident layers than min(backed, layers) needs.
  • Conventions.
    • No comments are added.
    • The debt fragment is present.
    • tools/check_conventions.py --base aa11bb9111 and tools/debt_fold.py --check pass on the merge.

Why this GPU takes the fallback.

  • I added fprintf lines to PlaneCopyCanBeSparse and SparseImageSupported on the merge, ran agc_driver_depth_plane_sampling once, then reverted them.
  • These checks pass:
    • residencyNonResidentStrict is 1;
    • sparseResidencyImage2D is 1;
    • the sparse queue and its mutex are set.
  • This check fails: vkGetPhysicalDeviceImageFormatProperties for format 126 (VK_FORMAT_D32_SFLOAT), 256 layers, usage 0x6 (TRANSFER_DST | SAMPLED), with SPARSE_BINDING | SPARSE_RESIDENCY. It returns -11 (VK_ERROR_FORMAT_NOT_SUPPORTED).
  • This is a driver capability, not a bug in the PR. The fallback is the intended behaviour, and the test accepts both paths (DepthPlaneSampling.cpp:527-529, :545-547).
  • For contrast, on the same device agc_driver_texture_sparse_levels gets sparse requirements for a 2048x2048 BC1 colour image (block 512x256) and passes.

Negative control.

  • I copied only the PR's DepthPlaneSampling.cpp onto main aa11bb9111. It does not build: 'DepthPlaneCopyCanBeSparse' is not a member of 'AgcDriver::Graphics' at :527 and :545.
  • I made no runtime mutation. On this machine the sparse branch is never entered, so mutating it would show nothing here.

GPU. Head 73e3c65537, merged cleanly onto main aa11bb9111 as 24a87289c9:

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_(depth_plane_sampling|depth_plane_sampling_evicting|texture_sparse_levels)$" -V
run depth_plane_sampling depth_plane_sampling_evicting texture_sparse_levels
main Passed Passed Passed
main + PR test does not build does not build not run
head 1, 2, 3 Passed Passed Passed
main, sync validation Passed Passed Passed
head, sync validation Passed Passed Passed
  • On the head, every run printed depth plane copy of uncommitted slices: every slice bound, 33554432 bytes and depth plane copy with committed slices after a gap: every slice bound, 67108864 bytes held after it. The evicting run printed every slice bound for both cases, with 33554432 bytes each.

Validation.

  • Insert instance layer "VK_LAYER_KHRONOS_validation" appears 3 times on main and 3 times on each head run: once in each test.
  • No log contains was not found but was requested by env var VK_INSTANCE_LAYERS.
  • VUID- lines: 0 on main, and 0, 0 and 0 on the head runs.
  • With VK_KHRONOS_VALIDATION_VALIDATE_SYNC=true added, both main and the head have 0 SYNC-HAZARD- lines and 0 VUID- lines.

Host:

  • GPU: AMD Radeon AI PRO R9700 (gfx1201, 1002:7551), driver 32.0.31044.16, Vulkan 1.4.349
  • Validation layer: Khronos validation layer 1.4.363 (LunarG SDK)
  • CPU: Ryzen 9 9950X3D
  • OS: Windows 11 Pro 26300
  • Toolchain: WinLibs GCC 15.2, Release
  • Commits: main aa11bb9111, head 73e3c65537, merged as 24a87289c9

AI-assisted: yes

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 24, 2026
@oneandonlydean
oneandonlydean dismissed MarcZX10’s stale review November 25, 2026 21:51

Checked at 73e3c65. Counting gap layers inside the backed prefix is safe and intended. The sparse copy binds a prefix of layers (below resident), so a committed range after a gap needs every layer up to it bound; a contiguous-only prefix would drop that later committed data. Staging a gap layer reads through ReadCommitted, whose copyCommitted (GuestMemory.cpp:3745 to 3752) zero-fills the destination and copies only CommittedRanges, so no uncommitted page is read. The cost is binding a few extra layers in that layout. The author explained this and added the gap case on 21 Nov, and MarcZX10's own later review of 73e3c65 lists no blocking findings. The request was on 3eca88d.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

This passed review on 73e3c65, but it now conflicts with main in DepthSurface.cpp, DepthPlaneSampling.cpp. Please merge main into the branch and push; it goes back to the merge queue on the new head.

@ligmaSec ligmaSec left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

A shared mip tail can bind the layers that Refresh skips. If the driver reports imageMipTailFirstLod == 0 with VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT, PlanSparseLevels binds the one opaque tail for every declared array layer even when passed a smaller layer count. DepthPlaneCopy still sets resident to the smaller count, and Refresh skips all layers at or above it. Those layers have bound, uninitialized depth texels, so residencyNonResidentStrict cannot supply zeroes for them. Could DepthPlaneCopy fall back to a fully initialized copy when its only mip shares a tail across layers, and cover that requirements shape in the sparse-plan test? Vulkan sparse mip tail rules

Source review of 73e3c65537. The current integration has conflicts in the depth copy and its test.

AI-assisted: yes.

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* docs needs rebase Conflicts with main, rebase needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants