Skip to content

feat(agc): sample 1D arrays past maxImageArrayLayers as rows of a 2D image - #12246

Merged
oneandonlydean merged 23 commits into
boykopovar:mainfrom
B-Howell:feat/agc-1d-array-layer-rows
Nov 2, 2026
Merged

oneandonlydean merged 23 commits into
boykopovar:mainfrom
B-Howell:feat/agc-1d-array-layer-rows

Conversation

@B-Howell

@B-Howell B-Howell commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

What

A sampled 1D-array view with more than maxImageArrayLayers slices throws an image view of more array slices than maxImageArrayLayers is not implemented in ArrayLayerWindow. That limit is 2,048 on the tested NVIDIA GeForce RTX 4080 SUPER. God of War Ragnarök stops there: compute shader 0x10527b8200 samples a linear 1D array 256 texels wide with 5,120 slices, using nine image_sample_lz with DIM = 1D_ARRAY.

Such a view is now bound as a 2D image with each viewed slice stored in two adjacent rows.

  • Recompiler. An image resource whose every access is image_sample_lz or image_sample_l receives the layerRows runtime image mode only after capture encounters a view larger than the device limit. The registered shader is prepared again with that mode, and subsequent oversized or within-limit views reuse the promoted artifact. A shader that has only seen within-limit views keeps its original descriptor interface. This excludes depth comparison, gather, gradients, offsets, loads, stores, queries, tables, 128-bit T#s and packed formats. ResourceMaterializer picks that mode only when the T#'s viewed slice count (last_array - base_array + 1) is more than the device's maxImageArrayLayers. The new SpirvTarget::maxImageArrayLayers carries the device's value and is part of the cache key. The shader keeps u and replaces the layer with v = (2 * NClamp(RoundEven(layer), 0, L - 1) + 1) / (2 * L), where 2L is the image height from OpImageQuerySizeLod.
  • Driver. cachedTexture builds that image from a guest-memory snapshot: W × 2·slices rows, one level, with each slice copied into rows 2i and 2i+1. Storage-image views and native depth surfaces at the same address are not used for it. A depth surface there throws. The descriptor-set revalidation walk looks the texture up the same way.

Semantics and their sources:

  • Layer selection. The layer is rounded half to even and clamped to the view. That is Vulkan's array layer selection, which the existing path for 1D arrays within the limit already gets from the host driver. ImageArrayWindowPastLayerLimit expects the same rule (nearbyint, clamp). How RDNA rounds a slice coordinate that lies exactly halfway is not measured; the debt entry says so. A NaN layer reads slice 0 (GLSL.std.450 NClamp).
  • Filtering never reaches another slice. The sample point lies on the boundary between the two copies of one slice, at v·H = 2r + 1. Linear filtering then takes rows floor(v·H - 0.5) = 2r and 2r + 1, both copies of slice r. Nearest takes floor(v·H) = 2r + 1. Either holds for any coordinate error under half a texel. At most 2 × 8192 = 16,384 rows (13-bit last_array), so fp32 rounding plus OpFDiv's 2.5 ULP (Vulkan SPIR-V precision) stays below 0.01 texel. That is also well inside the minimum subTexelPrecisionBits of 4. Addressing, filtering and borders in u are the sampler's own, unchanged.
  • LOD. image_sample_lz samples level 0 (RDNA2 ISA, MIMG IMAGE_SAMPLE_LZ). Only a view of level 0 alone is accepted, so an explicit LOD selects the same single level as in a 1D array. A view of other levels throws.

What still throws is listed in docs/dev/debt/libSceAgcDriver.md: other uses of such a view, block-compressed and RGBA8-expanded formats, native depth surfaces, and more rows than maxImageDimension2D. RequestSerializer is not changed, so a request replayed with ShaderReplay carries no limit and still throws; the debt entry records that too.

The preceding functional repair candidate 6adb491cd99bb8ff4411b1bbbab15ac82b5cef5a descends from an ordinary two-parent merge 5fbb979d2bf84420dd2c55178d429187580b4634 of published PR head 987fb3206f0315c59a19d9b38a88b76d929d78e3 and frozen main f776fddcffd1cfece220ecdd894371988b164f6a. It retains the registered-allocation effective-window and cache-key corrections, and excludes the separate unmerged #9318 TextureTiling policy changes. The still-rows oracle computes complete registered slices from registeredBytes / layerBytes, checks captured geometry before dispatch, and retains actual first, last and beyond-limit ClampEdge readbacks. Two focused-test CMake follow-ups add Vulkan headers and the three existing Graphics implementation units required to compile and link the ShaderMemory target.

The existing oversized-window regression gains a sample-only row-plus-DCC-clear case with a nonzero base slice. It checks the clear key, actual sampled output and, in cached mode, the sampled-clear counter. This does not add over-limit image_load support: the original mixed-access unsupported boundary remains, and ordinary within-limit sample/load coverage stays separate. Main's pending-clear/recorder behavior and the existing row-mode resource identity/revalidation paths are retained.

Tested

Earlier matched Windows standalone qualification — 2026-10-31

The matched control used frozen main f776fddcffd1cfece220ecdd894371988b164f6a (tree a8c33fd50b81f2e23d28bc7e72e1e3fad5a8eaad). Candidate 6adb491cd99bb8ff4411b1bbbab15ac82b5cef5a (tree 0cc10959b23c25bf3d264f0444adccacdc62b0cd) descends from the ordinary merge of that main with published PR head 987fb3206f0315c59a19d9b38a88b76d929d78e3, followed by the reviewed focused-test CMake dependency change. Relative to frozen main, the candidate diff is 37 files (+1,214/-104). The candidate keeps the owned registered-window and cache-key changes and does not include the unmerged #9318 policy patch.

Windows / WinLibs GCC 15.2.0 r7 / Ninja / Release, using the existing warm b12250a cache and at most two build jobs. The frozen-main arm built agc_shader_memory_tests and agc_driver_image_table_tests; the candidate built those plus agc_driver_image_array_rows_past_layer_limit_tests. All selected CTest names resolved to real compiled executables.

CTest Frozen main Candidate
agc_shader_memory (CPU) 1/1 pass, exit 0 1/1 pass, exit 0
agc_driver_image_table (GPU) 1/1 pass, exit 0 1/1 pass, exit 0
agc_driver_image_array_rows_past_layer_limit (GPU) Not run on main; the reviewed capture API is candidate-only 1/1 pass, exit 0

The three GPU calls ran serially under the existing GPU lock on the NVIDIA GeForce RTX 4080 SUPER. Each process had ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, the verified local VK_LAYER_PATH, and VK_LOADER_DEBUG=layer; APS5_NO_TEXTURE_CACHE was unset. Each log positively records Khronos instance and device layer insertion and the selected GPU. There were no VUID- entries, missing requested-layer warnings, skips, or unreleased locks. CPU and GPU scopes are reported separately. This matched-source comparison is focused component evidence, not a game run or full-suite result; its source did not include #9318, whose separate current-pin integration gate is recorded below.

Windows standalone test header qualification — 2026-10-31

The Windows hosted build exposed missing ResourcePlan.hpp include paths in standalone AGC tests. This repair exports the shader recompiler's public include directories through libSceAgcDriver, matching the public headers' dependency without propagating link libraries or compiler options. At commit 6440cbcbd09fea05114afc706b92cace8b997591 (parent 6adb491cd99bb8ff4411b1bbbab15ac82b5cef5a), all six affected standalone targets compiled and linked in the existing b12250a Release/Ninja cache with WinLibs GCC 15.2.0 r7: agc_driver_cmask_fast_clear_tests, agc_shader_fusion_tests, agc_driver_frame_capture_eop_tests, agc_driver_mesh_tests, agc_driver_key_miss_tests, and agc_driver_recorder_tests.

The focused CTest ^agc_driver_cmask_fast_clear$ passed 1/1. It ran serially under the existing GPU lock with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, the verified local VK_LAYER_PATH, and VK_LOADER_DEBUG=layer; APS5_NO_TEXTURE_CACHE was unset. The log records Khronos instance and device insertion on the NVIDIA GeForce RTX 4080 SUPER, with no skips, missing-layer warnings, or VUID- entries. The other five targets were compile/link checked only; this is not a complete hosted build or full-suite result.

Current-pin #9318 joint integration gate — 2026-10-31

The deferred integration check used a private two-parent composition with this PR's published repair head 6440cbcbd09fea05114afc706b92cace8b997591 and the then-current #9318 head 8ed6ddb40781f559cf60b855a99c1e794147b42d. The true merge base was 951e5963a4dc4905913931a3c17d87c172ce4624; #9318 remained open with its five-file, +67/-3 topic unchanged. The one ShaderResources.cpp conflict was resolved using the reviewed composition that preserves both the row-mode handling and #9318's complete registered-window behavior. The resulting private integration tree was b0b57dcdd6884d8238f92b4f983f42973ad4615e; it was used only for these checks and was not pushed.

Windows / WinLibs GCC 15.2.0 r7 / Ninja / Release, ANYPS5_ENABLE_SPIRV_TOOLS=OFF. The focused cache retained ImageOneDimensionalArray and added ImageArrayRowsPastLayerLimit, compiling the real Rows fixture source rather than its skip stub. The selected targets were agc_driver_graphics_tests and agc_driver_image_array_rows_past_layer_limit_tests.

CTest Scope Result
agc_driver_graphics CPU/mock helper; includes TextureTiling.cpp checks 1/1 pass, exit 0 (15.23s child / 15.40s CTest total)
agc_driver_image_array_rows_past_layer_limit GPU integration and row sampling 1/1 pass, exit 0 (0.78s child / 0.92s CTest total)

The Rows call ran under the serial GPU lock on the NVIDIA GeForce RTX 4080 SUPER with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, the verified local VK_LAYER_PATH, and VK_LOADER_DEBUG=layer; APS5_NO_TEXTURE_CACHE was unset. Its log positively records Khronos instance and device insertion, with no VUID- entries, missing requested-layer warnings, skips, or unreleased lock. The graphics helper result is CPU/mock evidence and makes no GPU-layer claim.

This is bounded current-pin integration evidence for the #9318 helper and the #12246 still-rows path. It is not the full #9318 suite, validation of every view-policy case, a console or title run, or evidence that #9318 has landed.

Historical matched Windows focused qualification

Control: frozen main 0836dfdf4fecb1e0326100c490476e15d3a74da5 (tree 11490d4c1cdcc3a116647e4723b000e22b579dd4). Candidate: 987fb3206f0315c59a19d9b38a88b76d929d78e3 (tree 93172b8afc975cec4041ddbfc9f2c1e003276c9b), composed from frozen main and this PR's owned source changes. The candidate excludes the separate unmerged #9318 TextureTiling policy patch. The existing b12250a Release/Ninja cache used WinLibs GCC 15.2.0 r7; exact selectors, source pins, build settings and selected test artifacts are preserved in the qualification evidence.

The paired checks used the common agc_driver_graphics CPU/mock test and agc_driver_image_table GPU test on both arms. The new agc_driver_image_array_rows_past_layer_limit regression uses a capture API absent from main, so it ran only on the candidate.

CTest Frozen main Candidate
agc_driver_graphics (CPU/mock) 1/1 pass, exit 0 1/1 pass, exit 0
agc_driver_image_table (GPU) 1/1 pass, exit 0 1/1 pass, exit 0
agc_driver_image_array_rows_past_layer_limit (GPU) Not applicable: candidate-only capture API 1/1 pass, exit 0

All three GPU calls ran serially under the existing GPU lock on an NVIDIA GeForce RTX 4080 SUPER (0x10de:0x2702) with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation; APS5_NO_TEXTURE_CACHE was unset. Each raw log records insertion of the Khronos validation layer at both instance and device levels. No requested-layer-missing diagnostic, skip or VUID- message was present, and the lock was released. A post-run host metadata query reports Windows 11 Pro build 26300 and NVIDIA driver 32.0.16.2101; those version values were not emitted by the test processes.

Child test time and full CTest time are distinct. In main/candidate order, the Graphics child/CTest totals were 14.15/14.88s and 14.23/14.62s; ImageTable totals were 1.35/1.49s and 1.20/1.34s; candidate Rows totals were 0.75/0.88s.

The main build exited 0; its streamed output was not retained as a raw log. The candidate build exited 0 and compiled the real Rows and ImageTable fixtures before linking the selected targets. GCC emitted -Wstringop-overread diagnostics on main and candidate and an unresolved candidate -Wfree-nonheap-object diagnostic in VulkanDevice.cpp/PrebuildGraphicsLibraries. These warnings were retained without suppression and are not claimed to be false positives or inherited.

This is focused component qualification on the recorded Windows host. It is not a title run or a claim of joint validation against the separate unmerged #9318 policy patch.

Historical qualification — separate pins

Published head 1dee304edc78556cb5df1b9c4154f59b72c6ef06 was qualified against frozen main f25279c0ca4cb068370df4baaa46de7b4f4741c7: 15 focused executions across the recorded Windows/Linux configurations. Those component, codec and GPU results retain their original source/toolchain/device limits; they do not qualify candidate 929bf9731f337575bbbc35b40ad0c761d0d0e9c4 or current main. This update's qualification is Windows-only.

Earlier title runs removed the reported oversized-view refusal but produced black frames without reaching gameplay. They establish neither correct rendering nor a performance gain. No new title run is claimed. RDNA halfway-coordinate behavior, other GPU vendors and the remaining unsupported-view/debt cases remain unverified. Historical source-overlap findings likewise retain their reviewed pins; they are not whole-PR integration or runtime clearance.

Checklist

AI-assisted: Claude Code and Codex.

…image

A sampled 1D array view with at least maxImageArrayLayers slices, read
only by image_sample_lz or image_sample_l, gets a runtime image mode that
binds a 2D image holding each viewed slice in two adjacent rows. The
shader rounds and clamps the layer as Vulkan array layer selection does
and samples on the boundary between the two copies, so filtering never
reaches another slice. Other uses keep throwing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the unblocks title Names a title ID on the Unblocks line label Oct 28, 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.

The uncompressed 1D-array path is well scoped and has focused GPU evidence, but the runtime mode currently also admits block-compressed descriptors.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@B-Howell thanks, the sampling math holds up: the sample point sits on the seam between the two copies of a slice, so nearest and linear both stay inside one slice, and the new gate matches the old ArrayLayerWindow throw exactly (last - base >= maxImageArrayLayers). Three things before this lands:

  1. The description and the debt entry say "at least maxImageArrayLayers slices", but the code takes the rows path only for more than maxImageArrayLayers slices (a view of exactly the maximum stays a 1D array). Please fix the wording and add a test for a view of exactly maxImageArrayLayers slices and one of maxImageArrayLayers + 1, and one case with image_sample_l and an explicit LOD.
  2. Other shaders change too. RuntimeImageModes adds the layerRows mode to every 1D-array image that is sampled only with image_sample_lz/image_sample_l, whenever the device limit is nonzero, so those shaders get an extra image binding and a different SPIR-V and cache entry even when no view ever exceeds the limit. Please say so in the description, and either show the extra binding count and compile cost for such a shader (for example one in a captured title), or restrict the extra mode to where it can be needed.
  3. The title run is not evidence yet. It gets past the old error, but 43 presents in 422 s (about 10 s a frame) with black frames does not show that the rows path is correct or cheap. Please report how many rows textures are built per frame and what they cost (APS5_PROFILE_DRAW), and what the shader output looks like once the other blockers for that title are out of the way, or say it is not yet checked.

#9318 changes the cachedTexture signature, so whichever lands second needs a rebase.

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

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

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6804 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp L304, L311, L316, L395
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp L604, L660, L663
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp L5056, L5063-5064, L5179-5180, L5183-5184, L5623
PR 7395 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp L1779, L1786
PR 8939 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp L1779, L1786
PR 9457 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp L1779, L1786
PR 9633 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp L1779, L1786
PR 9749 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp L1779, L1786
PR 9790 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp L1779, L1786
PR 9889 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp L360
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp L104
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp L230-232
core/shader/recompiler/ShaderDiskCache.cpp L98, L144, L813, L924
PR 9891 core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp L137-138
PR 9897 core/shader/recompiler/ShaderDiskCache.cpp L90-91, L97-98, L143-144
PR 9969 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp L1779, L1786
PR 10492 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L3593
PR 10497 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L3593
PR 10556 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp L143
PR 11444 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L3676
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp L360-361
PR 13646 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp L359-360
PR 13863 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp L5623
PR 13920 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp L5623

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 907 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 1368 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 1395 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
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 1896 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
PR 2434 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceAgcDriver.md
PR 4040 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4472 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5021 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 5371 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 5609 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/DrawCache.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 5925 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6186 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 6187 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6188 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/DrawCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/Execution/src/ShaderMemory.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/shader/recompiler/Recompiler.hpp
PR 6192 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6194 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6197 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6209 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6223 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6235 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.hpp
PR 6273 docs/dev/debt/libSceAgcDriver.md
PR 6280 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6412 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ResourcePlan.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6481 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6488 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ResourcePlan.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 6501 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6548 docs/dev/debt/libSceAgcDriver.md
PR 6808 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 6858 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6924 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6970 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6987 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6989 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6995 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7002 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7085 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7223 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ResourcePlan.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7275 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7410 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 7449 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
docs/dev/debt/libSceAgcDriver.md
PR 7457 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7464 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7508 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7514 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 7604 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7642 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/DrawCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/DispatchLookup.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_shader_memory_tests.cmake
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7668 docs/dev/debt/libSceAgcDriver.md
PR 7682 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 7684 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 7689 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 8004 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 8212 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 8246 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 8484 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 8592 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
docs/dev/debt/libSceAgcDriver.md
PR 8707 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9012 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 9020 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/libSceAgcDriver.md
PR 9183 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 9335 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/DrawCache.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/libSceAgcDriver.md
PR 9356 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9387 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9489 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 9508 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/DrawCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_shader_memory_tests.cmake
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9592 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9672 docs/dev/debt/libSceAgcDriver.md
PR 9673 docs/dev/debt/libSceAgcDriver.md
PR 9675 docs/dev/debt/libSceAgcDriver.md
PR 9700 docs/dev/debt/libSceAgcDriver.md
PR 9712 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 9748 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/libSceAgcDriver.md
PR 9852 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 9875 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 9884 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 9895 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9898 core/libs/prx/libSceAgcDriver/Execution/src/ShaderMemory.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9915 docs/dev/debt/libSceAgcDriver.md
PR 9950 docs/dev/debt/libSceAgcDriver.md
PR 10049 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10064 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10069 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 10193 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/DrawCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/DispatchLookup.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_shader_memory_tests.cmake
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10233 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10249 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 10256 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10359 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/libSceAgcDriver.md
PR 10442 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 10757 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 10867 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 10894 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 10920 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 11351 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 11435 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 11436 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 11442 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 11483 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 11485 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 11551 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/debt/libSceAgcDriver.md
PR 11825 docs/dev/debt/libSceAgcDriver.md
PR 11901 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 11995 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 11998 docs/dev/debt/libSceAgcDriver.md
PR 12120 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceAgcDriver.md
PR 12323 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 12324 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Recompiler.cpp
PR 12548 core/shader/recompiler/Recompiler.cpp
PR 12565 docs/dev/debt/libSceAgcDriver.md
PR 12567 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceAgcDriver.md
PR 12575 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 12662 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 12746 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 12790 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 12828 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 12840 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/shader/recompiler/Recompiler.cpp
docs/dev/debt/libSceAgcDriver.md
PR 12921 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 12944 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 12980 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 13148 core/libs/prx/libSceAgcDriver/CMakeLists.txt
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 13262 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 13599 docs/dev/debt/libSceAgcDriver.md
PR 13707 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 13928 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/DrawCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/DispatchLookup.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_shader_memory_tests.cmake
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13929 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Dispatch/DispatchCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/DrawCache.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/DispatchLookup.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/Draw.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Shaders.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_shader_memory_tests.cmake
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13963 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14005 docs/dev/debt/libSceAgcDriver.md
PR 14032 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_shader_memory_tests.cmake
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 14085 docs/dev/debt/libSceAgcDriver.md
PR 14212 docs/dev/debt/libSceAgcDriver.md
PR 14217 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 14261 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 14262 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 14302 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14311 core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14344 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/Texture.hpp
docs/dev/debt/libSceAgcDriver.md
PR 14561 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/libSceAgcDriver.md
PR 14621 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14702 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 14853 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ResourcePlan.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 14871 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 14943 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14944 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_shader_memory_tests.cmake
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14976 docs/dev/debt/libSceAgcDriver.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added shader core/shader docs agc libSceAgc* labels Oct 28, 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.

The new block-compressed guard resolves my earlier finding, and the added image_sample_l GPU case improves coverage. I’m not approving yet: there is still no boundary test for a view of exactly maxImageArrayLayers slices, and the existing test covers max + 3 (with its base-slice view at max + 1). The runtime-mode generation also adds a layerRows variant for every eligible 1D-array resource, while the description does not quantify the extra binding/compile cost. The GoW run is correctly scoped as inconclusive (43 presents over 422 seconds, black frames, no gameplay); it does not provide the requested texture-build cost. Please address the exact-limit boundary and the outstanding mode-cost evidence raised in the existing review thread. Also refresh onto current main: main has advanced from the PR base ee5e247 to 87b810a and adds fields to the same CacheKey.hpp and Recompiler.hpp files plus an update to the same debt entry.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 28, 2026
@babyhuey

Copy link
Copy Markdown
Contributor

Windows run of this head 706d1fa4e36, merged onto main 0cd07dc4ab2 (clean merge, local only), with the selection CI's skipped Windows product job uses: Windows 11, Ryzen 7 5800X, RTX 3080, WinLibs GCC 15.2, Release, BUILD_TESTING=ON. The tree was configured fresh after the merge, then select_tests.py select / ninja -f select.ninja selected / --target libs / select_tests.py ctest --parallel 4 --timeout 120.

  • Selected 1658 tests: 936 pass, 0 fail, 722 skip. No failures. 0cd07dc4ab2 itself skips the same tests on this machine.

AI-assisted: yes (Claude Code)

@MarcZX10

Copy link
Copy Markdown
Contributor

The GPU validation report is useful, and the description now correctly limits the tested behavior. My earlier open questions remain: there is still no exact-maxImageArrayLayers boundary case, and no evidence/analysis of the extra layerRows variant's binding and compile cost. In addition, GitHub currently reports this head as CONFLICTING / DIRTY with main (706d1fa4e363); the last review discussion already identified overlapping cache-key, recompiler and debt edits on the advancing base. Please rebase onto current main, resolve those conflicts, add the exact-limit boundary coverage, and address the mode-cost question. The current hosted Windows/conventions checks do not validate a clean merge of this head.

@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.

The GPU validation report is useful, and the description now correctly limits the tested behavior. My earlier open questions remain: there is still no exact-maxImageArrayLayers boundary case, and no evidence/analysis of the extra layerRows variant's binding and compile cost. In addition, GitHub currently reports this head as CONFLICTING / DIRTY with main (706d1fa4e363); the last review discussion already identified overlapping cache-key, recompiler and debt edits on the advancing base. Please rebase onto current main, resolve those conflicts, add the exact-limit boundary coverage, and address the mode-cost question. The current hosted Windows/conventions checks do not validate a clean merge of this head.

@adriadam10 adriadam10 self-assigned this Oct 28, 2026

@adriadam10 adriadam10 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks, the seam argument holds and the refusals (block-compressed, depth, other levels) look right. Still open, mostly what @oneandonlydean and @MarcZX10 already asked:

  • Boundary tests. Add a view of exactly maxImageArrayLayers slices (stays a 1D array) and one of maxImageArrayLayers + 1 (rows path); the current test only reaches max + 3 and a base-2 view. The description and the debt entry still say "at least maxImageArrayLayers", while the code (last - base >= max, ResourceMaterializer.cpp:231; ShaderResources.cpp:4864) means more than.
  • Extra mode for every eligible shader. RuntimeImageModes (ResourceMaterializer.cpp:2085) adds a layerRows variant to every 1D-array image sampled only with _lz/_l, even when no view can exceed the limit. State that in the description and either show the extra binding/compile cost on such a shader, or restrict the mode to where it can be needed.
  • Title evidence. 43 presents in 422 s with black frames does not show the rows path is correct or cheap: report rows textures built per frame and their cost (APS5_PROFILE_DRAW), or say it is not yet checked.
  • Conflicts with main (cache key, recompiler, debt, cachedTexture signature vs #9318): please rebase.

B-Howell and others added 3 commits October 28, 2026 08:59
…ast the limit

A 1D-array resource sampled only by image_sample_lz/image_sample_l no longer
gets the layerRows runtime mode up front. The capture throws
LayerRowSamplesRequired when a view of more than maxImageArrayLayers slices
reaches a shader prepared without it, and the shader is prepared again with
GuestContext::layerRowSamples, as converted samples are. Shaders that never
see such a view keep the interface they have without this path.

Test views of exactly maxImageArrayLayers and maxImageArrayLayers + 1 slices,
with image_sample_lz and image_sample_l, and report each layer-row texture
built under APS5_PROFILE_DRAW.

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

Copy link
Copy Markdown
Contributor Author

Addressed the remaining boundary and mode-generation review items in cff4943, including Claude's lazy-mode change, and integrated main 750cf6c while retaining the published branch's ancestry.

The GPU test now covers exactly maxImageArrayLayers and max+1 for image_sample_lz and explicit-LOD image_sample_l, then registered capture-triggered promotion, repeated oversized views and return to within-limit views. It checks actual texels and preparation/variant reuse. Prepared image modes are 15 before promotion and 18 after; materialized descriptor elements remain 4. The earlier descriptor-growth assertion was incorrect and now checks the actual prepared mode set.

Same-machine, identical-test-source protocol: main 5/6 (expected unsupported oversized-view failure), change 6/6, no skips. Both logs confirm Khronos validation insertion at instance/device level for all six tests, no missing/failed layer and zero VUID messages. Shader-memory and disk-cache tests pass 2/2. Conventions and independent static plus focused GPU review pass. The locally adapted validation-layer setup remains disclosed in the description.

Rows-texture construction is now logged by APS5_PROFILE_DRAW, but its per-frame title cost and correct title rendering remain unmeasured; no gameplay or performance claim is made. The description has been updated accordingly.

AI-assisted: Claude Code and Codex.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 28, 2026
@B-Howell

B-Howell commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor Author

Manual follow-up to the skipped comparisons in the overlap report (comment6461081639). Target head: cff49430b93b2ac58fd04544ae91a3b3ceeed7d5.

Reviewed the listed shared-file patches for all 106 candidates, including refreshed #9852 at 470cbe5b01a3d55e2698086ecb47059f3ded6b73. The table records scoped patch dispositions and integration requirements, not a blanket no-overlap conclusion.

There are real shared-code integration points: #7682 changes the same ShaderRegistry::InvocationFor retry/memo lifecycle; #6280 changes sampled mip/extent handling; #9889 changes image dimension/resource classification, modes, emitters and serialization; #9012/#10894 affect revalidation. Preserve layerRows cache identity, checked image geometry, codec field counts/order, and exclusions for table/storage/depth/sRGB-expanded cases. Table and coordinate-folding work needs its own integration checks. This audit does not establish that the PR is ready or that all these features have been combined.

For the three originally truncated ShaderResources.cpp patches (#7642/#9508/#10193), the review used full source at each exact head and its GitHub merge base. #7642/#10193 have identical source/diff at their shared merge base. No pairwise merge or combined build/test is claimed. Existing CI, current-head validation, dependency coordination and re-review obligations remain separate.

Candidate heads, shared files and manual dispositions
Candidate Reviewed head Shared files Disposition
#907 593ffa19a31f8ac628492ef3c5a420124489aaf0 ResourceMaterializer.cpp, SpirvImageEmitter.cpp Color depth-compare emulation shares image-sampling machinery; target layer-row eligibility rejects depthCompare and its emitter only handles sample_l/sample_lz with the new y-coordinate fold. Keep this guard and test color-compare path after integration.
#1368 42d1193c467f12a58a09249235929d893a5a30dc Texture.hpp, Texture.cpp Adds an overload that wraps a supplied depth VkImage with a configurable view type and layer count. Target's layerRows route creates a new 2D sampled color image; the depth overload is separate, but never route depthCompare/depth-image descriptors to row-image construction.
#1395 cedec6e1d5765800c2ffb039d8675d864d27cd57 VulkanDevice.cpp, Texture.hpp, Texture.cpp Depth-clear/copy recognition changes a separate depth constructor/device path. Keep depth surfaces excluded from layerRows; merge constructor overload selection without changing the target sampled 1D-array route.
#2434 aae40a8d2def3780ce7c77aa941ffd917af7a1f7 VulkanDevice.cpp, libSceAgcDriver.md Adds a const forwarding accessor for the GuestBufferMemory dma-buf import policy; it does not touch buildTarget, ShaderResources, texture creation, or image planning. The only shared source file is VulkanDevice.cpp at Device() accessors, so no layerRows interaction is shown. The shared debt-doc change is a Linux host-import/write-watch explanation, independent of the oversized sampled-image limit.
#4040 366c6e4148c0b6267898fda5982b0b75094dc822 VulkanDevice.cpp Adds output-gamma postprocessing and transfer-source swapchain usage/resize setup. These are presentation-chain operations, while #12246 adds maxImageArrayLayers to buildTarget. Same device class, different state and functions; verify both new Vulkan state fields coexist without altering image target limits.
#4448 ea55323d5d88b822af96454540abe5da700a7be3 Texture.hpp, Texture.cpp, libSceAgcDriver.md Switches storage-image tracking from HostImportFor to StorageImportFor in specific storage upload/copy paths and records when guest ranges become unwatched. #12246 row images are sampled Texture objects and explicitly avoid StorageTexture reuse; retain that gate so imported writable storage surfaces do not enter the row-image constructor/cache.
#4449 1f7640bad2417f0bfd287507ec6c4675f94349f7 libSceAgcDriver.md Debt subjects: Sparse dma-buf imports, dma-buf imports. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#4472 c58f968028ccef496eb2270918aac49579780d6d VulkanDevice.cpp Adds the device-type integratedGpu context boolean for buffer pooling policy. #12246 changes VulkanDevice::buildTarget maxImageArrayLayers, a distinct return structure/member; ensure both context and target report their own device capabilities.
#5021 151294f979ab00aaff2f702314425caf61a72790 VulkanDevice.cpp, Recompiler.cpp, SpirvImageEmitter.cpp On Apple, initializes Vulkan portability extensions; in shader preparation it parameterizes ConstantFolder with host subgroup size; in SPIR-V it adds a device-scope acquire/release image barrier before atomic emission. The target’s MakeSampleSetup coordinate rewrite is a different emitter function; however resource preparation and target-key/capability state are shared, so preserve maxImageArrayLayers/layerRowSamples while merging subgroup and atomic changes.
#5371 273e2695e4df17f5036cef403b761ebb406547cf Resources.hpp, ResourceMaterializer.hpp, ResourceMaterializer.cpp, SpirvImageEmitter.cpp sRGB emulation adds a runtime image mode and custom sample emission. Target explicitly disallows sRGB-expanded layer-row textures; preserve mode precedence and verify emitted sampling does not apply LayerRowsCoord to the emulated-sRGB branch.
#5372 30868735e82c6f9f95d7c3385205214c3549c6ec libSceAgcDriver.md Debt subjects: Host imports. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#5609 09238da8206e0aa70d8966c69f822c297da36308 Texture.cpp, Recompiler.cpp, Recompiler.hpp, ShaderDiskCache.cpp Specialized binding-plan cache records share disk-cache result/plan structures. Compose encoder/decoder changes and field-count/version contracts; target adds layerRowSamples/maxImageArrayLayers to cache identity/plan.
#5925 3339ddd3af77cfc336148966657c0d14e87b6ae1 VulkanDevice.cpp, Recompiler.hpp, ShaderDiskCache.cpp, libSceAgcDriver.md Pipeline compilation work adds ShaderInvocation state and changes EncodeResult. Same persisted result ABI and invocation record: merge serialization/field-count changes together, ensure new layer-row cache key fields survive round-trip.
#6185 1dea194b7a093b0f5f878c94fea9860cdd568772 libSceAgcDriver.md Debt subjects: Device-local staging, Write-back conflicts with CPU stores. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#6186 13d09412b4ac5eb5459819d8e801aa356b227fa6 libSceAgcDriver.md Debt subjects: Device-local staging, Write-back conflicts with CPU stores, Guarded DCC key stores. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#6187 a049317f3e4d538805b9e81a90d5552d791ab3bf Texture.cpp Changes storage untracked-comparison cacheability to use per-range ForgetStamp and an in-progress forgetting guard. It does not alter sampled Texture construction or cachedTexture. Target layerRows bypasses storage texture sources; ensure row-mode cannot inherit a stale StorageTexture comparison memo.
#6188 aa699de9126da33d654d20c27553138549269546 ShaderRegistry.cpp, VulkanDevice.cpp, Texture.cpp, Recompiler.hpp Uncached draw compilation changes ShaderRegistry invocation and descriptor/recompile structures. Confirm layer-row context participates in same invocation identity and new fields are serialized; distinct async scheduling otherwise.
#6192 2d030407eb8f3ac7fb8078e1fd0d48d95acf450f ShaderResources.hpp, ShaderResources.cpp, Texture.cpp Fast validation proves surfaces using stamps; target revalidateFull recomputes layerRows and resolve-image identity. Ensure a cached proof cannot reuse a texture when layerRows mode changes; compare validation key inputs.
#6194 8bb130068023741ae244df30c74ddef5bc386644 ShaderResources.hpp, ShaderResources.cpp, libSceAgcDriver.md Changes storage-image cache budget growth/eviction using heap/budget/usage and storageCacheBytes. Target changes cachedTexture for sampled images and blocks storage-source reuse when layerRows is enabled. Keep row images on sampled cache accounting and out of storage budget/eviction logic.
#6197 d7f5ffb043d61c9d1ed40469f0622089ba9d04d9 Texture.cpp Replaces HostImportFor with HostImportSpanning for storage image ranges that cross import windows. This affects StorageTexture’s import decision, not sampled Texture row generation; preserve target’s storage exclusion and do not use a joined storage import as row image backing.
#6209 b00f936b31fe9ba4946ee35dd3fd9f9bc707806c Texture.cpp Changes the comparison stamp to GuestMemory::ForgetStamp(address, bytes) and disables memo caching while GuestMemory::ForgetSerial is odd. Target's cachedTexture path may reuse sampled Texture but layerRows refuses the StorageTexture source; ensure no storage comparison memo is used as proof for row-image descriptor contents.
#6223 8729fc234fa533a66974ca77971a4759f4fca34c ShaderResources.hpp, ShaderResources.cpp, libSceAgcDriver.md Image-table descriptor reuse shares resolver/cache implementation. Target deliberately excludes table bindings from layerRows; retain that exclusion and verify table cache keys do not inherit layerRows texture identity.
#6235 911920f04450f7e063235a988fe79681d210e261 CacheKey.hpp, Recompiler.hpp Raw fragment-export cache distinction adds a key field in shared CacheKey. Independent specialization dimension, but merge key serialization so layerRowSamples is neither lost nor aliased.
#6273 a78974c844e584a579829b5d6f4c54cbbeeb0f3b libSceAgcDriver.md Debt subjects: Widened epoch collects on Windows. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#6280 0e1f2ab53b596a4d33ec8426097bda2c05b82068 Texture.cpp, Resources.hpp, ResourceMaterializer.hpp, ResourceMaterializer.cpp, ResourceTracker.cpp, ShaderDiskCache.cpp, SpirvImageEmitter.cpp, libSceAgcDriver.md Mip-chain shape normalization modifies sampled-image construction and runtime image modes. Target builds a one-mip 2D row image and rejects non-level-0 views; same conversion/construction flow is a direct integration hotspot. Merge mip guards and ensure target does not silently bypass mip extent rules.
#6300 c11074be82d89ef53008d15cdd0f34076a2432e4 libSceAgcDriver.md Debt subjects: Native multisampled depth sampling. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#6412 c050c17557af9c9dd4275b97c8adcb9586a66c5c ShaderResources.hpp, ShaderResources.cpp, ResourcePlan.hpp, Resources.hpp, ResourceMaterializer.hpp, ResourceMaterializer.cpp, Recompiler.cpp, Recompiler.hpp, ShaderDiskCache.cpp, libSceAgcDriver.md Guarded read-only static V# changes image/table and binding metadata plus cache schema. Compose all struct field counts and table mode serialization; verify layerRows flags are kept per non-table image and do not alter guarded static-V handling.
#6481 1be24da14e8a0e9afecfa4f558018ce19d1bd895 Texture.hpp, ShaderResources.cpp, Texture.cpp, libSceAgcDriver.md Table-entry device/guest-limit validation has the same descriptor/table resolution and image-limit boundary. Target row fallback applies only ordinary non-table sampled arrays; ensure it does not mask/fault-diverge table entries and preserve per-entry validation.
#6488 a48c5a7c7321f1b47ae02a44fb110982e9a26770 ResourcePlan.hpp, ResourceMaterializer.cpp, ResourceTracker.cpp, Recompiler.cpp, ShaderDiskCache.cpp, SpirvImageEmitter.cpp Waterfall table support changes table resource plan and emitter. Target excludes table resources but adds ImageResource/plan fields in shared codecs; merge schema counts and keep row mode unavailable for lane/table-selected descriptors.
#6548 89fb35adf1cf5b906fabb1e2a5febef11531057c libSceAgcDriver.md Debt subjects: Host import memory types. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#6549 7c9dd449fef83b1ce49fec1458a960ab0ec22188 libSceAgcDriver.md Debt subjects: COPY_DATA to or from GDS. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#6743 b3ce8e1bd9ef620d1a6548e8d13f6dd26607b69b ShaderRegistry.cpp, libSceAgcDriver.md Lazy preparation changes pipeline ABI entry points, while target retries invocation capture at first use. Preserve lazy/eager contract and ensure row-mode retry is performed within the same preparation lifecycle.
#6804 705f916e7a16ea3865f0800ae7dbcdb3bf003c38 VulkanDevice.cpp, ShaderResources.hpp, ShaderResources.cpp, libSceAgcDriver.md Border-colour table lookup touches image binding and table resolution, but target row mode is for image dimensions. Keep border-colour bindings on existing table path and preserve layerRows eligibility exclusions.
#6808 734edb5c279d2f9de101d8ecf555f55b6f40d613 libSceAgcDriver.md Debt subjects: Native multisampled depth sampling, Guest reuse of a written native multisample depth owner. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#6924 d36ab7db8e3195a68b799e9ef8428e11c75785c8 Recompiler.cpp, ShaderDiskCache.cpp Specialized module cache adds persisted binding plans and cache entry kinds. Target changes cache keys and resource-plan serialization in the same persistent cache; integrate both codecs, equality rules and stale-entry handling.
#6960 36df6631b6bccbe789dd5146989c00816912222e VulkanDevice.cpp, Texture.hpp, Texture.cpp Adds pending guest-completion tracking and CPU-won-store handling for StorageTexture writes; VulkanDevice label checks invoke StoreBeforeGuestCompletion. Target layerRows is a sampled 2D image with no storage backing, so ensure no storage write/retirement behavior is routed through it.
#6970 438978e2a4dcfffbbfdd2a26023f1969520f13a6 ShaderResources.cpp, Recompiler.hpp, ShaderDiskCache.cpp Inline per-element image flags change descriptor binding layout and codec; target reads per-element imageDepthCompare and adds eligibility metadata. Must preserve per-element indexing and update both field-count assertions/encode/decode ordering.
#6971 f65cecddabd9bf40a49960b48873ca938754c1d6 Texture.hpp, Texture.cpp Read-only multisampled-target layout uses a separate multisample storage-backed path. Target row texture is one mip/single-sample 2D and excludes storage/depth modes; retain those guards and avoid aliasing views.
#6977 45625370e478b2afc4732ea77b72f9feadb8f9ed ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, Texture.cpp, libSceAgcDriver.md Multisample target construction adds sample view behavior in same Texture implementation but on depth/storage path. Target explicitly rejects depth compare and layer-row path is single-sample; preserve branch guards and constructor overload semantics.
#7256 5589752147fe73b1487bce01b985b83e70f42b15 Texture.hpp, Texture.cpp, libSceAgcDriver.md Layered depth views share Texture depth-view constructor and view selection. Target transforms sampled 1D color arrays, rejecting depth-compare/storage cases. Keep row-mode type guard so depth attachment views do not enter this conversion.
#7275 2934c1bf9587a0f86b3dbfc9b9cc0553b19bb93a VulkanDevice.cpp Adds opt-in non-solid fill-mode feature availability to device state/context. Target updates buildTarget.maxImageArrayLayers, not fill-mode support; merge the separate capability fields and leave row-mode selection based on image-array limit only.
#7369 562f9107f7c61970079b48159f4830145bcb0bae VulkanDevice.cpp Adds a diagnostic accessor returning draw-recipe cache hits. It does not alter pipeline creation, shader resource plans, Texture constructors or layerRows cache keys; no behavior overlap shown.
#7449 fa32376e3a6562ea19b32fd5f9d4b6bf43ad5f1f VulkanDevice.cpp, Texture.hpp, libSceAgcDriver.md Plans to skip a UAV clear dispatch when it clears a depth mirror and adds a StorageTexture format accessor. Target only changes sampled 1D-array row images and has explicit depth/storage exclusions. Preserve those guards; the candidate’s StorageImages scan must not include layer-row sampled textures.
#7464 b30eec4e85081471977424984422085bca2f31ba VulkanDevice.cpp Adds queue-0 synchronization logic for CPU-written labels into unimported guest memory. Target’s change is buildTarget and sampled texture/resource planning, not label submission. No image-layer or shader cache overlap appears in the actual WriteLabelOnGpu hunks.
#7514 61a91de9bb6f08ed51bc5747f7a4ae43327fefbd Texture.hpp, Texture.cpp StorageTexture indexing affects surface reuse/refresh, not sampled Texture::cachedTexture row conversion. Same Texture file only; keep storage registry key distinct from new sampled layerRows cache dimension.
#7604 0e5269cceea624cfb8b59529a646fd7e6f8ed7d5 Texture.hpp, Texture.cpp, libSceAgcDriver.md Adds APS5_TRACE_WATCH counters and stores GuestMemory::TrackerGeneration per pending storage-image layer, then reports ranges whose saved bytes were forgotten. layerPendingGeneration tracks guest write-watch generations; it is unrelated to PreviousSampled.layerRows. Preserve strict type separation and keep row textures out of StorageTexture pending-layer tracking.
#7642 67c1aea6b83e15cf83c9c3a39879044a7e33c7c8 ShaderRegistry.hpp, ShaderRegistry.cpp, VulkanDevice.cpp, ShaderResources.hpp, Texture.hpp, ShaderResources.cpp, Texture.cpp, CacheKey.hpp, Resources.hpp, ResourceMaterializer.hpp, ResourceMaterializer.cpp, ResourceTracker.cpp, Recompiler.cpp, Recompiler.hpp, ShaderDiskCache.cpp, SpirvImageEmitter.cpp, libSceAgcDriver.md Full image-table implementation overlaps ShaderResources resolution, cache identity and resource-plan serialization. Target’s NoTable eligibility is a critical boundary; ensure table-selected images stay on table path and codecs compose. Full source/diff provenance verified in full-source-completion.json.
#7682 01b2bf1045c0cd73ba2f26b27ab9a02a7a0489bd ShaderRegistry.cpp Failed-preparation memo edits the same function target uses to set layerRowSamples and recapture on LayerRowSamplesRequired. Direct same-function integration: preserve failure memo identity while allowing the target’s intentional retry/rebuild path, and test no stale memo suppression.
#7684 cbc4606a7906e51c379f8d9552449584398e9e31 ResourceMaterializer.cpp, ResourceTracker.cpp, ShaderDiskCache.cpp Bounds table snapshots by key ranges and changes serialized plan. Target adds row-mode shape to ordinary ImageResource/plan; merge codecs and retain the no-table row-mode constraint.
#7922 4844a289c2d2461bdae7ef1e1e77e7f3d1dae047 VulkanDevice.cpp Changes when compute subgroup spanned waves are enabled, in VulkanDevice construction. It does not touch buildTarget or recompiler image resources; target maxImageArrayLayers and resource plan stay independent of the compute execution policy.
#8004 72a5b7c7cb8ca4150b79c936257ff195f0a90707 VulkanDevice.cpp, CacheKey.hpp, Recompiler.cpp, Recompiler.hpp Adds subgroup-size flexibility and a spannedAnySubgroup target field serialized into RecompileCacheKey; Recompiler emits hostSubgroupSize=0 for any-subgroup variants. #12246 also adds SpirvTarget.maxImageArrayLayers and layerRowSamples key words. Merge key order/hash and target fields together so row variants cannot alias subgroup-flexible variants.
#8223 331399d903d7a4454685a3f446598cab86196dcc libSceAgcDriver.md Debt subjects: Multisampled color targets. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#8319 d23704854b4d25e7cfa496055c5005e6bad3d669 libSceAgcDriver.md Debt subjects: Native multisampled depth import. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#8395 f4a27403bfb7e648b7b10d9ec87a659bc2992588 libSceAgcDriver.md Debt subjects: GS_FAST_LAUNCH geometry. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#8484 b57c5be9da28c662b78645a50f07ce5219f49615 Texture.hpp, Texture.cpp Adds a GPU-direct single-key DCC expansion path inside StorageTexture::upload and counters. Target’s layerRows path explicitly disables storage-source reuse and is built as sampled Texture; the storage upload optimization must not be selected for row images.
#8542 cb2ba9969359d5706704dbe3b1c18add29dfd225 libSceAgcDriver.md Debt subjects: Pipeline journal. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#8592 16dab33e389a5d398d0184421ab67788085da4c9 ShaderRegistry.cpp, libSceAgcDriver.md Wraps nested ShaderPreparationTransaction acquisition and destruction with balanced KernelBegin/EndHostSignalDeferral, including constructor exception cleanup. Target can throw/retry while CaptureInvocation recaptures row-mode shaders. These edits are not in InvocationFor, but transaction lifetime is shared: ensure every LayerRowSamplesRequired retry unwinds the transaction and signal-deferral depth exactly once.
#9012 19191f4ea263d1024ae136ef00595a8d02756d4b ShaderResources.hpp, ShaderResources.cpp Cached-template audit shares revalidation lifecycle; target recomputes layerRows in full revalidation. Ensure audit cache cannot authorize stale row-mode texture state and preserve validation proof semantics.
#9020 5f7287406a069f053e70a86b4e79220d12f2fece CacheKey.hpp, Recompiler.cpp, Recompiler.hpp, libSceAgcDriver.md Adds target-merge packing, blendControl, layered and slice bounds to graphics specialization identity and hash. Target separately adds layerRowSamples and image-layer maximum to cache identity; ensure both independent key dimensions are appended/hashed and not omitted by key serialization.
#9335 976fc9c3e53e40ba108b5fce08cafd0b1ab24c9e CacheKey.hpp, Recompiler.cpp, Recompiler.hpp, libSceAgcDriver.md Adds the same target-merge packing/blend/layer/slice fields as #9020 for alpha-tested merge passes. These fields are separate from layerRowSamples but share key/hash code; compose all cache dimensions in both constructors/hash paths.
#9356 f49a25ae9f036a1d27e6418faeac7c812be5773e VulkanDevice.cpp, CacheKey.hpp, Recompiler.cpp, Recompiler.hpp, ShaderDiskCache.cpp, libSceAgcDriver.md Mesh fallback adds target capability bits and cached artifact fields. Target adds maxImageArrayLayers to the same target/cache identity and codec; merge target-field serialization and avoid cache aliasing.
#9387 73641399d35dafa6576e1c974bff65e207f1bd20 VulkanDevice.cpp, CacheKey.hpp, Recompiler.cpp, Recompiler.hpp, ShaderDiskCache.cpp, libSceAgcDriver.md Mesh barycentric fallback shares the target capability and disk-cache identity records. Co-compose maxImageArrayLayers with barycentric fields in target encoding/keying.
#9432 f2928f44d427ff146e00b80683785feabdb5a16e ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, Texture.cpp, libSceAgcDriver.md PS4 command-buffer integration changes the GuestTextureResource construction family and device submission. Validate target eligibility is limited to supported descriptor/layout cases; PS4 tiled/depth geometry must not be row-materialized.
#9489 7a5dd181fd76afc94060f8afbeb962d00ae9b50e VulkanDevice.cpp Adds optional wide-line rasterization support and exposes it through Graphics::Context. Target adds maxImageArrayLayers in buildTarget; no common field or row-mode condition. Keep wideLines capability independent.
#9508 6275369b6ccca5d093129e77c5d739f34cf0fa9f ShaderRegistry.hpp, ShaderRegistry.cpp, VulkanDevice.cpp, ShaderResources.hpp, Texture.hpp, ShaderResources.cpp, Texture.cpp, CacheKey.hpp, Recompiler.cpp, Recompiler.hpp, ShaderDiskCache.cpp, SpirvImageEmitter.cpp, libSceAgcDriver.md Full source patch changes ordinary bind and table descriptor handling, broad overlap with target ShaderResources caching/resolution. Target row path must remain distinct from descriptor-heap/table modes; preserve layerRows eligibility and cache invalidation. Full source/diff provenance verified.
#9592 477226b9dc8d7375811bee3cce7a11f0929ef1a0 ShaderResources.hpp, ShaderResources.cpp, libSceAgcDriver.md Index synchronization changes ResourceCache list-node removal, distinct from sampled texture resolver and image mode key. Same header/implementation only; check no new sampled-cache entries bypass index removal.
#9672 244e1da99bcc742ce765e07852f8154316fe7fa1 ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, Texture.cpp, libSceAgcDriver.md The PS4 depth path makes sampled extent smaller than padded depth backing in the guest-texture constructor. Target row conversion must remain color-only and retain depth plane/padded extent semantics; same constructor family warrants explicit branch integration.
#9673 3840ec60b17a5a8d6e991f12f9d042887cac2b86 ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, Texture.cpp, libSceAgcDriver.md PS4 scanout CPU detiling changes guest-texture construction and detiler path. Ensure row mode activates only for eligible 1D-array descriptors after detiling/layout classification, not scanout or tiled resources.
#9674 7478d4b44d9dc58292ce4e2fda820d7df582e54d ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, ShaderResources.cpp, Texture.cpp, libSceAgcDriver.md PS4 tile-mode-19 layout modifies sampled texture geometry and written-storage tracking. Direct constructor integration: validate row conversion eligibility after tile-layout decoding and preserve array-slice upload offsets.
#9675 f6f04e92a879c92f08c898a6b58623b0c4cf2a9d ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, Texture.cpp, libSceAgcDriver.md PS4 render-to-array-slice path uses array slice/view geometry in the same texture implementation. Verify row texture representation does not leak into attachment/render-target views; layerRows remains sampled-only.
#9676 004c63b5015eefec18ee76552cc8550bb68e1976 ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, Texture.cpp, libSceAgcDriver.md The reported feature is packet reporting/waiting, but shared-file patch also touches GuestTextureResource constructor path. Review that constructor hunk specifically; preserve target row eligibility at the call boundary.
#9700 802f23b930245103e3e9b410c266886055367456 libSceAgcDriver.md Debt subjects: Multisampled color targets, Multisampled target guest access, EQAA color targets. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#9712 4e93e34d8e0929f29032c4a81712e4dd899e65f7 ShaderResources.cpp Requests context.SnapshotProperties() for draw snapshot buffers, affecting their host memory properties. Target’s ShaderResources hunks change sampled texture caching, previous-sampled identity and revalidateFull, not DrawBindings snapshot allocation; no direct layerRows behavior overlap. Verify row image allocations remain accounted by sampled-image budget.
#9748 16a82db7af80158594b47341820f9e7c269ed573 CacheKey.hpp, Recompiler.cpp, Recompiler.hpp, libSceAgcDriver.md Adds packed unorm target merge specialization fields to the same RecompileCacheKey and snapshotHash sites as #9020/#9335. Must compose with target’s layer-row key words and avoid cache collisions; format feature itself is separate.
#9842 efeba42f30665ae59c29ab1eeae36f0a5ff77e95 ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, Texture.cpp, libSceAgcDriver.md PS4 POW2_PAD mip-chain row padding changes sampled constructor extent. Target row conversion is level-0-only and sets one host mip; preserve padded guest-byte accounting while deriving row-image extent.
#9852 470cbe5b01a3d55e2698086ecb47059f3ded6b73 ShaderResources.hpp, ShaderResources.cpp, Resources.hpp, ResourceTracker.cpp, Recompiler.hpp, ShaderDiskCache.cpp Semantic features are separate in the shared implementation files. #9852 adds BufferResource.plain, DescriptorBinding.bufferAtomicOnly, Allocation.atomicOnly/atomicOnlyRanges and derives them during ShaderResources::buildPrepare. #12246 adds PreviousSampled.layerRows; in ShaderResources.cpp its hunks are cachedTexture/revalidateFull/resolveImageBinding, not buildPrepare. ResourceTracker changes buffer access aggregation, while target changes image-resource planning/capture. In ShaderDiskCache.cpp both touch the schema machinery but disjoint structs: #9852 updates DescriptorBinding size and BufferResource field count/encoding; #12246 updates ImageResource and IrResourcePlan counts and row fields. Preserve all counts and both encode/decode paths. No layerRows/atomicOnly semantic conflict identified; verify resource cache validation keeps image-mode identity independent from guest-buffer access metadata.
#9889 68a68256b3e322dc1a15f017206e6dcebf497312 Resources.hpp, ResourceMaterializer.cpp, ResourceTracker.cpp, ShaderDiskCache.cpp, SpirvImageEmitter.cpp GCN image-dimension inference shares the exact classification, runtime mode, serialized resource metadata and emitter path. Direct semantic overlap: target row conversion must require actual guest 1D-array descriptor classification and must not override GCN-derived dimensions; merge metadata/codecs and test both.
#9891 375f5630ba0e7639d2b1fda7cebc609eb7767daf ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, Texture.cpp, libSceAgcDriver.md PS4 base and thin-tiled 3D decoding changes the same sampled construction and descriptor geometry. Ensure target only receives correctly decoded 1D-array views and cannot reinterpret a PS4 tiled 3D resource as rows.
#9892 545e2b5b3f83fed05a1a34fb21b1fdfda0c0707a ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, Texture.cpp, libSceAgcDriver.md PS4 multisampled color handling shares texture creation but targets multisample render surfaces. Preserve sample count and attachment view semantics; row conversion must be limited to single-sample sampled 1D arrays.
#9893 781ffafe9f9fc04d5a6758d7de785dbd25518536 ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, Texture.cpp, libSceAgcDriver.md Despite the RELEASE_MEM title, shared patch changes GCN vertex table-callee admission, GCN display-buffer dimension checks, Texture guest-layer offsets/depth-copy eligibility, copy element geometry, and PS4 storage mip/layout guards. These are relevant to layerRows eligibility: do not apply it to table-backed GCN vertex resources, depth-copy resources, or GCN/PS4 tiled/mipped layouts; require the final descriptor shape/layout after decoding.
#9895 3e32049166cb89ae1de8e76b0ea92afba67e507d ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, Texture.cpp, libSceAgcDriver.md PS4 depth-plane coherence changes texture and depth backing. Target excludes depth comparison/storage and is sampled color-row conversion; retain those guards and test the PS4 depth path unaffected.
#9897 7ecf14ef124094e993240cb2fa04ae26ea4c34cf ShaderResources.hpp, ShaderResources.cpp, Resources.hpp, ResourceTracker.cpp, Recompiler.hpp, ShaderDiskCache.cpp Vertex range metadata shares descriptor binding structure and codec but changes buffer bounds, not image shape. Update shared binding field counts with target and ensure resource tracker uses image row metadata only for images.
#9898 0a08a3b019ccac0cd15dbf78339a79f9746e7e54 VulkanDevice.cpp, libSceAgcDriver.md Looks up an UnregisteredHostImport only when no writer/store hazard exists, retains it in the recorder, and uses existing pending-completion predicates before writing labels. The target changes buildTarget, sampled images and shader cache keys; it does not modify label writes/import lifetime. No row-mode overlap is shown.
#9950 875fa29033c500a0f49af4c50cf3970d37fd2229 libSceAgcDriver.md Debt subjects: Native multisampled depth sampling. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#10049 6d3bc5e2a134633b85c0469efc4a2b3078bed476 ShaderResources.hpp, ShaderResources.cpp, Recompiler.hpp, ShaderDiskCache.cpp, libSceAgcDriver.md Storage-image retirement shares build/cache/descriptor handling, but target explicitly excludes storage images. Preserve no-storage row-mode rule and merge descriptor codec field counts.
#10069 242de41f4b4f72fa48fbc491b852b54fe727ebbd VulkanDevice.cpp Runs a startup probe to decide whether float32 DenormPreserve can be requested and logs probe outcomes. Target adds maxImageArrayLayers in buildTarget; both are Vulkan capability decisions but separate properties and paths. Ensure the probe’s Target() call compiles with the added target field and cache key remains distinct.
#10193 7880ded9daac0e71bfc35b1015c16893d193da29 ShaderRegistry.hpp, ShaderRegistry.cpp, VulkanDevice.cpp, ShaderResources.hpp, Texture.hpp, ShaderResources.cpp, Texture.cpp, CacheKey.hpp, Resources.hpp, ResourceMaterializer.hpp, ResourceMaterializer.cpp, ResourceTracker.cpp, Recompiler.cpp, Recompiler.hpp, ShaderDiskCache.cpp, SpirvImageEmitter.cpp, libSceAgcDriver.md Full table implementation overlaps resolver, cache identity and resource plan. Target’s NoTable eligibility must keep row conversion out of table/lane-key paths. Full source/diff provenance verified; source/diff byte-identical to #7642 at same merge base.
#10194 f2deb238a43e7b718c8a96e6643452d4f8c788c9 VulkanDevice.cpp, ShaderResources.cpp, Texture.cpp Adds MemoryAccounting Allocate/Free/Record calls and sampled/storage memory-budget reporting, with Texture.cpp hunks in denormal probe and StorageTexture attachment proxy/release paths. Target creates an additional sampled row image, so its allocation/free path should be accounted if covered by this instrumentation; do not route it into storage budget. Verify byte counters include the row image’s doubled height once.
#10233 a463aacbc5da2ed8a3687ab168f239e41c59d024 ResourceMaterializer.cpp, libSceAgcDriver.md FMASK support edits the same descriptor-inspection function used to derive image type/shape. Target layerRowsCompatible must consume the post-FMASK classification and exclude multisampled/FMASK descriptors; preserve mode ordering and cache serialization.
#10249 a4d01ff96ffaf96a9b7afa45f05cecaffbb0e4f9 Texture.cpp Adds bounded arithmetic to storage slice windows; target computes row count, doubled height and upload offsets in sampled Texture construction. Not same hunk, but the invariant is directly relevant: use checked bounds for maxImageDimension2D/2 and row byte/offset products before allocation/copy.
#10333 e3e47a939c278dcf992482bd6465057fe9f71d1e libSceAgcDriver.md Debt subjects: Driver-store pieces of a 64 KiB block. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.
#10359 41c4ec81a31476b4b549db52673e055a8fc274fa CacheKey.hpp, Recompiler.cpp, Recompiler.hpp, libSceAgcDriver.md Adds BaseInstance input SGPR to graphics translation and cache identity, rejecting unsupported stage/mesh/tessellation paths. Target’s layerRows mode adds independent cache-key state. Preserve both inputs in the same RecompileCacheKey append/hash sequence; no image-coordinate overlap.
#10435 cedf987d5ba4ee2f0c4c0184599ad5b3f8705d1c ShaderRegistry.cpp, VulkanDevice.cpp, Texture.hpp, Texture.cpp, libSceAgcDriver.md PS4 depth HTILE sizing changes texture depth backing and same guest-texture constructor family. Keep depth/HTILE resources excluded from layerRows and preserve corrected allocation geometry.
#10442 77fe6e4d65af36605aa4be5d7b2ab3e8b8f3165b VulkanDevice.cpp, ShaderResources.hpp, ShaderResources.cpp Stores draw snapshot allocation indices in DrawBindings, filters snapshotted ranges from guest-memory reads, and passes bindings into MarkGpuWrites; VulkanDevice::WriteLabelOnGpu uses new early-label state. Target edits cachedTexture/revalidateFull/resolveImageBinding, not these writeback paths. A row-mode sampled descriptor should not add guest write ranges or alter the draw snapshot set.
#10652 3036ca6a5bd427c7790cd9a14182ca737635cc25 VulkanDevice.cpp, CacheKey.hpp, Recompiler.cpp, Recompiler.hpp, SpirvImageEmitter.cpp Adds a MoltenVK capability to buildTarget, carries it through SpirvTarget and RecompileCacheKey, then inserts an image memory barrier inside EmitAtomicOp. Target also modifies buildTarget, SpirvTarget and RecompileCacheKey to add maxImageArrayLayers/layerRowSamples, but edits sample-coordinate emission rather than EmitAtomicOp. Co-compose target/key fields and preserve barrier policy independently of layer-row eligibility.
#10678 f32df519ac088a9480353477706982d94d519c80 VulkanDevice.cpp Extracts DrawContentKey from Draw to compute a draw resource-cache key before committer submission. Target’s layerRowSamples belongs to RecompileCacheKey and shader resource texture identity; no same key builder is patched. Confirm draw content key does not replace shader cache identity when image row mode varies.
#10757 bdca440d390c7b833a14e15ee38664e16a902033 Recompiler.cpp, Recompiler.hpp Result storage reuse changes compile-result allocation lifetime, not image planning or sampler emission. Shared Recompiler.cpp only; ensure new layerRows plan/result objects obey ownership but no behavioral overlap found.
#10894 0c6bca70d9bdabb2ffa803c42de896cb8b72529b ShaderResources.hpp, ShaderResources.cpp Cached resource reuse explicitly rebuilds sampled textures across descriptor changes, same full revalidation path modified by target. Direct interaction: include layerRows in cache identity/revalidation comparisons or stale row-vs-array views can be reused.
#10941 a22a46931e80c6c53792f482f22e25813e269c13 Recompiler.cpp Enables Float64 translation based on target capability in PrepareResourceProgram. Target’s resource capture also uses RecompileRequest and target capability but different fields; keep float64 and image-layer parameters as independent compile inputs.
#11351 022565f9f06088e57471c220e71f6f8bf5e6569a VulkanDevice.cpp, CacheKey.hpp, Recompiler.cpp, Recompiler.hpp Native f16 denorm capability adds target/key dimensions in the same objects as maxImageArrayLayers. Merge key/hash and disk-cache versioning; feature behavior itself is separate.
#11483 5a8a216c9bc83e622dd5b096a152f7211c764a7e VulkanDevice.cpp, CacheKey.hpp, Recompiler.cpp, Recompiler.hpp Denorm mode selection adds target/key fields shared by layer limit. Co-compose target serialization/key fields; keep denorm decisions independent of row-mode eligibility.
#11554 91382605720d5730ae712a4f0b5a78d978125989 VulkanDevice.cpp Loads libvulkan.1.dylib on macOS, enumerates portability drivers and enables VK_KHR_portability_subset. These are device initialization paths; target maxImageArrayLayers is populated in buildTarget after device selection. Ensure new target field is read from selected device limits, but no direct patch collision.
#11920 b4d74563d5ab21e3c5000e5bdcc1fd1f1a8dafbe VulkanDevice.cpp, ShaderResources.cpp, Texture.cpp Replaces Context::Function(vkCreateImageView) with Context::Resolved(DeviceFunctions::createImageView) in sampled/storage view construction, ShaderResources build preparation, and Texture constructor view setup. Target adds a row-image creation/view path; it must use the resolved function table consistently, including any new image-view creation, while retaining existing dispatch fallback/error behavior.
#12051 f5cf0db16c28ee4a7575c7cd1dda342fd01a9fe6 ResourceMaterializer.hpp, ResourceMaterializer.cpp, ShaderDiskCache.cpp Decoded table record replay modifies table snapshots and persistent serialization; target excludes table images but adds image/resource plan schema. Merge schema field counts and ensure table cache never treats row-mode as a table descriptor flag.
#12132 909503bd19d61c0c3eaca413f3ed88449dc5161f ResourceTracker.cpp Descriptor lane-index/texel folding shares the image-coordinate lowering path with LayerRowsCoord. Direct semantic integration risk: fold ordering and y/layer remap must preserve lane index vs texel coordinates; test ordinary and lane-keyed paths (target should reject table/lane case).
#12238 016855f6a5db4055dda56d76070cb83da44fd1ef libSceAgcDriver.md Debt subjects: Depth planes in guest memory. Only the listed debt changes were reviewed; implementation compatibility was not assessed. Preserve both entries and their qualifications.

AI-assisted: yes (Codex).

Current-target delta addendum (October 28): target bf9f1b0febe35cf39e7d4c2bed58d34ea667f5f5, integrated main e4da19aff06e25ae16b90f460dff22e8ac1eb786. The historical table above keeps its original target and candidate pins.

I compared the original contribution against its merge base with the published contribution against integrated main. All production, cache, shader and debt additions/removals are unchanged. The only contribution adjustment is in ImageArrayRowsPastLayerLimit.cpp: compute baseWithin = Layers - limit and basePast = baseWithin - 1 instead of fixed bases 3/2, then use those bases for the exact-limit, oversized and repeated/reused-view cases. Thus the selected views retain exactly limit and limit + 1 slices even when Layers is capped by MaxGuestLayers; the existing size/limit guards, promotion, cache/variant and explicit-LOD assertions remain.

The refreshed bot's compared rows are already covered by comment6475865833. Among its retained manually reviewed candidates, #11920 moved to dd7a4d164c3dd315fd49ade448132b63ab04d662 on main 319621ba2e578bd053b0baba2877fe70520e0737. I rechecked its complete scoped VulkanDevice.cpp, ShaderResources.cpp and Texture.cpp patches: their added/removed lines are identical to those reviewed at b4d74563d5ab21e3c5000e5bdcc1fd1f1a8dafbe; only base/context changed. Preserve its resolved device-function calls, unchanged Vulkan arguments and thread-local lookup counter when composing the row-mode paths. This is a scoped source delta review, not a combined #11920/#12246 build or GPU result.

The confirmed order remains #12246 → #10064 → #7085, with #9884 → #10064 retained; #9884 relative to #12246 and other unconfirmed proposals remain open. The published current-head paired qualification stays separate: candidate GPU 6/6, main GPU 5/6 with the expected unsupported oversized-array case, cache 2/2 each and zero VUIDs. This addendum adds no runtime, title or performance claim and does not turn historical approvals into new-head review. Other overlap/integration and incomplete hosted-CI obligations remain.

AI-assisted: yes (Codex).

@B-Howell

B-Howell commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor Author

Follow-up to the actual compared conflicts in overlap comment 6461081639, for #12246 at head cff49430b93b2ac58fd04544ae91a3b3ceeed7d5.

I reviewed the fresh scoped patches at the candidate heads below. This addresses the compared-conflict rows, not the separate skipped-comparison rows.

Confirmed pair (acceptance): #12246 before #10064, with #10064 taking the later merge. Remaining proposed local ordering requests: #9852 before #12246; #9318 → #12246; #10867 → #12246; #11551 → #12246; #11740 → #12246; and #9884 → #12246 → #10064 → #7085. These remain proposals except for the separately confirmed #12246-before-#10064 pair; please confirm or suggest another sequence for the remaining pairs before I record Depends on changes. The #12246 re-review block remains outstanding. This review does not establish clean merges or combined test results; the combined descriptor, cache roundtrip, staging, revalidation, and GPU checks remain unrun.

@EdouardSence, @MarcZX10, @Amoenus, @thuanquang, @Felipebmaitan, @imellag: please confirm the relevant proposed order(s), or suggest a different order. I will update dependency declarations only after agreement. No agreement is claimed here.

Existing prerequisites and orders remain untouched, including #11551's body-reported #11507-first order, #10773 before #9884, #7085's #6280/#9999 requirements, and #10064's recorded prerequisites. The 49-field calculation above applies only to #11551 + #12246; composing #7085's additional levelUses field as well gives 50 on that same 45-field baseline. Neither count is a claim that the combined branch has been built or tested.

AI-assisted: yes (Codex).

@EagleBearerYS

Copy link
Copy Markdown
Contributor

@B-Howell, for #10064 (ours, still a draft): #12246 can go ahead of it, so the order from our side is #12246 → #10064, and #10064 takes the merge. #10064's existing orders stay as they are: #9884 before #10064, and #10064 before #7085. Where #12246 goes relative to #9884 and #7085 is for you and their authors.

Whichever of the two lands second keeps both paths:

The source check: git merge-tree of #10064 at 131bc657ca and #12246 at cff49430b9, each merged onto main 2199ee0d47. It conflicts in three files: Texture.hpp (the constructor declaration), ShaderResources.cpp (the two texture constructions in cachedTexture) and Texture.cpp (the constructor definition, and the upload's barrier and copy regions). Each conflict is one PR's addition next to the other's. The combined tree hasn't been built or run.

We're adding #12246 to #10064's Depends on, merge order only.

@Amoenus

Amoenus commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

@B-Howell For #7085, agreed: #12246 can land before ours. Following #10064's author's reply, the compatible order from our side is #12246 → #10064 → #7085, with #9884 → #10064 unchanged. The position of #9884 relative to #12246 remains for its author to confirm.

Our #6280 functional prerequisite and #9999-first agreement remain; downstream #7085 → #10743 also stays. I have added #12246 to #7085's dependency declaration as merge order only.

When restacking #7085 after its prerequisites land, I will keep sampled-1D-array row-mode metadata independent of extra-mip backing, preserve both encoder/decoder paths, recompute the combined field counts and encoded record widths, and bump the cache format above then-current main. Cache round trips and the relevant row-array/extra-mip GPU fixtures will be checked on that combined head.

This confirms merge order only; no combined build or GPU qualification is claimed. AI-assisted: yes (Codex).

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 31, 2026
@Amoenus

Amoenus commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

@B-Howell thanks for applying the public-header dependency fix. I checked the source at 6440cbcbd09fea05114afc706b92cace8b997591: libSceAgcDriver now forwards the recompiler's interface include directories while retaining its private link dependency. That addresses the source change proposed below; our separate fork proposal no longer needs applying.

Your follow-up reports six targets building/linking and the focused Cmask test passing on RTX 4080 SUPER. This sweep checked the source only; I have not independently rerun that head's builds or GPU test. Our #12246 → #10064 → #7085 dependency order remains unchanged while the prerequisites are open.

Original reproduction and source-pinned proposal

@B-Howell I reproduced the remaining IR-header failures at then-current head 6adb491cd99 using Windows / WinLibs GCC 15.2.0 r7. ShaderFusion, FrameCaptureEop, KeyMiss and Mesh compile on main 3818919, then all fail at ShaderResources.hpp:10 (ResourcePlan.hpp not found) on 6adb. The ShaderMemory-specific CMake repair leaves these other consumers unchanged.

Four-line proposal b5a95a667e, based directly on your published head, forwards the existing recompiler include paths through libSceAgcDriver’s interface. All four compile again; conventions pass against parent and main. Original PR authorship is retained.

Source pins, compiler commands, logs and limitations. These are translation-unit compilation checks only, with SPIRV-Tools OFF. Linking, Linux, GPU, title and full-suite validation remain open; the independent SPIRV-Tools ON Linux build needs rerunning. Our agreed #12246 → #10064 → #7085 order is unchanged.

@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.

Re-checked — new head, changes requested

The exact current head fails the Windows changed-test build because the new transitive ResourcePlan.hpp include is unavailable to an existing AGC test target.

What I ran

Reviewed head 6adb491cd99bb8ff4411b1bbbab15ac82b5cef5a against PR base f776fddcffd1cfece220ecdd894371988b164f6a; the merge preview against current main b08c539c505c48341146c705bc72d9b603cdb3a7 was clean. Environment: Debian GNU/Linux 12, x86_64, Python 3.11.2, GCC 12.2.0. I ran the repository no-build precheck and inspected the exact-head hosted Windows build log; I did not build locally.

git diff --check f776fddcffd1cfece220ecdd894371988b164f6a...6adb491cd99bb8ff4411b1bbbab15ac82b5cef5a
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 12246
gh api repos/boykopovar/AnyPS5/actions/runs/41250228672 --jq '{head_sha,conclusion,status}'
gh run view 41250228672 --repo boykopovar/AnyPS5 --job 124684557254 --log

Results

Check Result
Diff check and conventions Passed
Merge previews Clean against current main for PR #12246, #9318, and #12250; the declared dependency heads are not included in #12246
No-build precheck Completed; relevant source checks passed. Build-dependent C++ checks were not run locally. Optional ABI/test-quality helpers were unavailable in the PR snapshot.
Hosted Windows changed-test build Failed on this exact head while compiling agc_driver_cmask_fast_clear_tests
Other hosted jobs The Windows job failure is the blocking result; the focused GPU qualification in the description is author-reported evidence and does not override this compile failure
Unedited Windows build failure excerpt
windows	Build and run changed guest core/libs tests	2026-10-31T23:28:52.1743542Z FAILED: [code=1] core/libs/prx/libSceAgcDriver/CMakeFiles/agc_driver_cmask_fast_clear_tests.dir/tests/CmaskFastClear.cpp.obj
windows	Build and run changed guest core/libs tests	2026-10-31T23:28:52.1761703Z                  from D:/a/AnyPS5/AnyPS5/core/libs/prx/libSceAgcDriver/tests/CmaskFastClear.cpp:2:
windows	Build and run changed guest core/libs tests	2026-10-31T23:28:52.1763506Z D:/a/AnyPS5/AnyPS5/core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp:10:10: fatal error: IntermediateRepresentation/IrMetadata/ResourcePlan.hpp: No such file or directory
windows	Build and run changed guest core/libs tests	2026-10-31T23:28:52.1765224Z    10 | #include "IntermediateRepresentation/IrMetadata/ResourcePlan.hpp"
windows	Build and run changed guest core/libs tests	2026-10-31T23:28:52.1765987Z       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
windows	Build and run changed guest core/libs tests	2026-10-31T23:28:52.1766316Z compilation terminated.

Findings

Blocking

ShaderResources.hpp now includes IntermediateRepresentation/IrMetadata/ResourcePlan.hpp, and the existing agc_driver_cmask_fast_clear_tests target includes ShaderResources.hpp through its Pipeline.hpp/VulkanDevice.hpp chain. The Windows compile command has -I core/shader/recompiler but lacks -I core/shader/recompiler/IntermediateRepresentation/include, so the new header cannot be resolved. This makes the hosted changed-test build fail before tests run.

Minimal fix: make the IntermediateRepresentation/include directory available to every target that consumes this transitive header (for example through the appropriate shared CMake target include interface), or restructure the include so unrelated AGC tests do not require an unprovided path. Then rerun the Windows changed-test workflow.

Non-blocking: The PR description explicitly declares #9318 and #12250 as dependencies; its current focused qualification does not claim joint validation with unmerged #9318. Reassess that integration when the dependency lands.

Sources

Not verified

  • Local build or execution of C++ tests; local builds are excluded from the initial review workflow.
  • Combined behavior with #9318, which remains an unmerged declared dependency.
  • Physical-console gameplay or other GPU vendors.

To get this to a good state

Fix the missing include path and rerun the Windows changed-test workflow on the new head. I will recheck the same build result and affected source paths after the update.

@B-Howell

Copy link
Copy Markdown
Contributor Author

@Amoenus Thanks for identifying the public-header dependency. I applied the transitive include-directory fix on libSceAgcDriver, keeping the recompiler link private. The six affected standalone targets (Cmask, shader fusion, frame-capture EOP, mesh, key-miss, and recorder) now compile and link in the Windows Release/Ninja cache. The focused Cmask CTest passed 1/1 on an RTX 4080 SUPER with Khronos validation inserted at instance and device level; no VUIDs or skips. The other five targets were compile/link checked only, and this is not a full hosted CI rerun.

@github-actions github-actions Bot added the build label Nov 1, 2026
@TechLevelZero

TechLevelZero commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

✅ NVIDIA GPU test: passed

PR head 6440cbc merged onto main 88e804b · tested 2026-11-02 13:52 UTC · 33 min

GPU NVIDIA RTX 2000 Ada Generation, driver 595.99.02, Vulkan 1.4.329
Host Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic, container ubuntu:24.04
Logs build and test logs for this run
Build ✅ passed (Release, -DANYPS5_ENABLE_SPIRV_TOOLS=ON)
Tests ✅ 2,557 passed · 6 failed (0 new, 3 also fail on main, 3 unstable on main) · 45 skipped (ANYPS5_REQUIRE_VULKAN=1)
Test setup CPU-only tests without a GPU; GPU tests (and any CPU-only test that failed or skipped without one) once on the GPU with VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1; main ran the same way
Test selection 2,608 of 3,234 tests run: the ones this change can reach, chosen by tools/select_tests.py from main's build graph
Vulkan validation ✅ no new validation IDs vs main (975 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_pipeline_journal 120.1 s, ⚠️ agc_driver_graphics_maps_fallback 30.5 s, ⚠️ agc_driver_graphics 30.2 s
Unstable on main (3, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_pipeline_journal: failed in 2 of the last 10 main runs
agc_submit_progress: failed in 8 of the last 10 main runs
agc_submit_progress_no_timeline: failed in 8 of the last 10 main runs
Failing on main too (3, not counted against this PR)
agc_driver_image_table
guest_mmap_executable
guest_socket_options_multicast
Validated but not compared (1, not in the main baseline's validation pass)
agc_driver_image_array_rows_past_layer_limit
Validation IDs already present on main (4 IDs in 497 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (497 tests): agc_driver, agc_driver_address_passes, agc_driver_alias_copy_label, agc_driver_alpha_to_coverage, agc_driver_array_layer_target, agc_driver_bc_block_copy, agc_driver_bda_anchor_reads, agc_driver_bda_span_reads, and 489 more
VUID-vkCmdCopyImage-srcImage-01548 (7 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_buffer_memory, agc_driver_depth_plane_partial_store, agc_driver_depth_plane_sampling, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, agc_driver_dispatch_move_depth
VUID-vkCmdCopyImage-srcImage-01551 (7 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_buffer_memory, agc_driver_depth_plane_partial_store, agc_driver_depth_plane_sampling, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, agc_driver_dispatch_move_depth
VUID-VkShaderModuleCreateInfo-pCode-08737 (1 test): agc_driver_image_sample_derivatives
Skipped (45)
agc_driver_bda_reads_shadowed_results: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_bda_reads_shadowed_results_per_build: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_sample_order_grid_reference: skipped, the device does not keep depth drawn at custom sample locations at those locations, even after a transition that names them: the composite of uniform renders holds the guest's depth in 0 of 3005 sloped samples, so no path can be compared with it bit for bit
agc_host_import_sparse: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_import_settle_initial_dcc: skipped, the device has no deferred settle of host imports: imports under 1 MiB wait for one only on Windows
agc_unit_shadow_completion_store: skipped, the device reports watched host memory written when it imports or reads it
guest_http_uri_locale: 
guest_net_ctl: skipped, the host has no IPv4 address
guest_video_out_color_space: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_hdr: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_high_frame_rate: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_output_mode: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_resolution_status: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_wqhd_detection: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
video_out_flip_aftergpu: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_backtoback: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_controls: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_cpuflip: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_cpuflip_in_order: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_dcc: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_deferred: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_eop: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_eop_aftergpu: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_eop_main: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_fps_limit: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_o
Reproduce
git fetch origin 6440cbcbd09fea05114afc706b92cace8b997591 88e804b0a7df1f1ac373a9e2f72fb378d925fdd4
git checkout 88e804b0a7df1f1ac373a9e2f72fb378d925fdd4 && git merge --no-ff 6440cbcbd09fea05114afc706b92cace8b997591
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build && cmake --build build --target libs
VK_DRIVER_FILES=/nonexistent/icd.json ctest --test-dir build -E '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 32 --output-on-failure
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 4 --output-on-failure
# failures are then re-run alone: --timeout 360 --parallel 2; new validation IDs: the test alone, twice, --parallel 1

Automated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs.

@oneandonlydean
oneandonlydean merged commit 906597a into boykopovar:main Nov 2, 2026
17 of 18 checks passed
thuanquang added a commit to thuanquang/AnyPS5 that referenced this pull request Nov 3, 2026
Main's boykopovar#12246 added `bool layerRows` before `clear` in the snapshot
Texture constructor and passes it from cachedTexture. The staging
constructor, and the private constructor both public ones delegate to,
take it as well, and cachedTexture passes it on the staging path too,
so a dropped snapshot of a 1D array past maxImageArrayLayers is still
uploaded as rows of a 2D image. Main's boykopovar#10773 moved the tiled and
linear scratch buffers into the recorder and batch branches and picks
the recorder before the staging buffer is made; the staging buffer is
still made and filled from the snapshot there only when the caller
passed none.

Co-Authored-By: Claude <noreply@anthropic.com>
thuanquang added a commit to thuanquang/AnyPS5 that referenced this pull request Nov 3, 2026
Main's boykopovar#12246 lays a sampled 1D array past maxImageArrayLayers out as
rows of a 2D image (`layerRows`), and the merge of a4eca2a passes
that flag through the staging constructor that a dropped snapshot
takes. No test reached that combination: CachedSampledTexture never
passes layerRows, and main's ImageArrayRowsPastLayerLimit samples
static memory outside the write watch, whose snapshot has no
generation and no untracked key and so keeps its vector.

agc_snapshot_read_into_staging now binds a watched linear 1D array as
a 2D image through ShaderResources. The row's own context caps
maxImageArrayLayers at 2048; cachedTexture and the Texture read the
limit from the context they are given. A device that reports 8192 (the
RX 6700 XT on AMD's Windows driver) allows every array a T# can
describe, so without the cap the row would never reach layer rows
there. The array has the capped limit + 1 slices, one more when that
count is even: with an odd count the rows on both sides of the image
centre belong to the centre slice. Its snapshot (2049 slices of 256
bytes at the cap) is over 256 KiB, so cachedTexture drops it, reads it
into a staging buffer and makes a layer-rows Texture from that buffer.
The lookup must park no vector (main's production files park the
snapshot vector after the upload), and the image centre must sample
the centre slice. Without layerRows on the staging path the Texture
refuses the array ("a texture array with more layers than
maxImageArrayLayers is not implemented"). The row prints a "not
tested" line without nullDescriptor or when the rows would exceed
maxImageDimension2D.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc* build docs shader core/shader unblocks title Names a title ID on the Unblocks line

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants