Repository navigation
feat(agc): sample 1D arrays past maxImageArrayLayers as rows of a 2D image - #12246
Conversation
…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>
MarcZX10
left a comment
There was a problem hiding this comment.
The uncompressed 1D-array path is well scoped and has focused GPU evidence, but the runtime mode currently also admits block-compressed descriptors.
|
@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
#9318 changes the |
|
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.
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.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MarcZX10
left a comment
There was a problem hiding this comment.
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.
|
Windows run of this head
AI-assisted: yes (Claude Code) |
|
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- |
MarcZX10
left a comment
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
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
maxImageArrayLayersslices (stays a 1D array) and one ofmaxImageArrayLayers + 1(rows path); the current test only reachesmax + 3and a base-2 view. The description and the debt entry still say "at leastmaxImageArrayLayers", 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 alayerRowsvariant 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,cachedTexturesignature vs #9318): please rebase.
…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>
|
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. |
|
Manual follow-up to the skipped comparisons in the overlap report (comment6461081639). Target head: Reviewed the listed shared-file patches for all 106 candidates, including refreshed #9852 at 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
AI-assisted: yes (Codex). Current-target delta addendum (October 28): target 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 The refreshed bot's compared rows are already covered by comment6475865833. Among its retained manually reviewed candidates, #11920 moved to 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). |
|
Follow-up to the actual compared conflicts in overlap comment 6461081639, for #12246 at head 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 @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). |
|
@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: We're adding #12246 to #10064's Depends on, merge order only. |
|
@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). |
|
@B-Howell thanks for applying the public-header dependency fix. I checked the source at 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 Four-line proposal 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
left a comment
There was a problem hiding this comment.
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 --logResults
| 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
- New transitive include at reviewed head
- ResourcePlan header at reviewed head
- Exact-head hosted Windows job and log
- Declared dependency and qualification limits
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.
|
@Amoenus Thanks for identifying the public-header dependency. I applied the transitive include-directory fix on |
✅ NVIDIA GPU test: passedPR head
Unstable on main (3, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (3, not counted against this PR)Validated but not compared (1, not in the main baseline's validation pass)Validation IDs already present on main (4 IDs in 497 tests)Skipped (45)ReproduceAutomated 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. |
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>
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>
What
A sampled 1D-array view with more than
maxImageArrayLayersslices throwsan image view of more array slices than maxImageArrayLayers is not implementedinArrayLayerWindow. That limit is 2,048 on the tested NVIDIA GeForce RTX 4080 SUPER. God of War Ragnarök stops there: compute shader0x10527b8200samples a linear 1D array 256 texels wide with 5,120 slices, using nineimage_sample_lzwithDIM = 1D_ARRAY.Such a view is now bound as a 2D image with each viewed slice stored in two adjacent rows.
image_sample_lzorimage_sample_lreceives thelayerRowsruntime 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.ResourceMaterializerpicks that mode only when the T#'s viewed slice count (last_array - base_array + 1) is more than the device'smaxImageArrayLayers. The newSpirvTarget::maxImageArrayLayerscarries the device's value and is part of the cache key. The shader keepsuand replaces the layer withv = (2 * NClamp(RoundEven(layer), 0, L - 1) + 1) / (2 * L), where2Lis the image height fromOpImageQuerySizeLod.cachedTexturebuilds 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:
ImageArrayWindowPastLayerLimitexpects 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.450NClamp).v·H = 2r + 1. Linear filtering then takes rowsfloor(v·H - 0.5) = 2rand2r + 1, both copies of slice r. Nearest takesfloor(v·H) = 2r + 1. Either holds for any coordinate error under half a texel. At most 2 × 8192 = 16,384 rows (13-bitlast_array), so fp32 rounding plusOpFDiv's 2.5 ULP (Vulkan SPIR-V precision) stays below 0.01 texel. That is also well inside the minimumsubTexelPrecisionBitsof 4. Addressing, filtering and borders inuare the sampler's own, unchanged.image_sample_lzsamples level 0 (RDNA2 ISA, MIMGIMAGE_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 thanmaxImageDimension2D.RequestSerializeris not changed, so a request replayed withShaderReplaycarries no limit and still throws; the debt entry records that too.The preceding functional repair candidate
6adb491cd99bb8ff4411b1bbbab15ac82b5cef5adescends from an ordinary two-parent merge5fbb979d2bf84420dd2c55178d429187580b4634of published PR head987fb3206f0315c59a19d9b38a88b76d929d78e3and frozen mainf776fddcffd1cfece220ecdd894371988b164f6a. 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 fromregisteredBytes / 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_loadsupport: 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(treea8c33fd50b81f2e23d28bc7e72e1e3fad5a8eaad). Candidate6adb491cd99bb8ff4411b1bbbab15ac82b5cef5a(tree0cc10959b23c25bf3d264f0444adccacdc62b0cd) descends from the ordinary merge of that main with published PR head987fb3206f0315c59a19d9b38a88b76d929d78e3, 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
b12250acache and at most two build jobs. The frozen-main arm builtagc_shader_memory_testsandagc_driver_image_table_tests; the candidate built those plusagc_driver_image_array_rows_past_layer_limit_tests. All selected CTest names resolved to real compiled executables.agc_shader_memory(CPU)agc_driver_image_table(GPU)agc_driver_image_array_rows_past_layer_limit(GPU)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 localVK_LAYER_PATH, andVK_LOADER_DEBUG=layer;APS5_NO_TEXTURE_CACHEwas unset. Each log positively records Khronos instance and device layer insertion and the selected GPU. There were noVUID-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.hppinclude paths in standalone AGC tests. This repair exports the shader recompiler's public include directories throughlibSceAgcDriver, matching the public headers' dependency without propagating link libraries or compiler options. At commit6440cbcbd09fea05114afc706b92cace8b997591(parent6adb491cd99bb8ff4411b1bbbab15ac82b5cef5a), all six affected standalone targets compiled and linked in the existingb12250aRelease/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, andagc_driver_recorder_tests.The focused CTest
^agc_driver_cmask_fast_clear$passed 1/1. It ran serially under the existing GPU lock withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, the verified localVK_LAYER_PATH, andVK_LOADER_DEBUG=layer;APS5_NO_TEXTURE_CACHEwas unset. The log records Khronos instance and device insertion on the NVIDIA GeForce RTX 4080 SUPER, with no skips, missing-layer warnings, orVUID-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
6440cbcbd09fea05114afc706b92cace8b997591and the then-current #9318 head8ed6ddb40781f559cf60b855a99c1e794147b42d. The true merge base was951e5963a4dc4905913931a3c17d87c172ce4624; #9318 remained open with its five-file, +67/-3 topic unchanged. The oneShaderResources.cppconflict 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 wasb0b57dcdd6884d8238f92b4f983f42973ad4615e; 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 retainedImageOneDimensionalArrayand addedImageArrayRowsPastLayerLimit, compiling the real Rows fixture source rather than its skip stub. The selected targets wereagc_driver_graphics_testsandagc_driver_image_array_rows_past_layer_limit_tests.agc_driver_graphicsTextureTiling.cppchecksagc_driver_image_array_rows_past_layer_limitThe 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 localVK_LAYER_PATH, andVK_LOADER_DEBUG=layer;APS5_NO_TEXTURE_CACHEwas unset. Its log positively records Khronos instance and device insertion, with noVUID-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(tree11490d4c1cdcc3a116647e4723b000e22b579dd4). Candidate:987fb3206f0315c59a19d9b38a88b76d929d78e3(tree93172b8afc975cec4041ddbfc9f2c1e003276c9b), composed from frozen main and this PR's owned source changes. The candidate excludes the separate unmerged #9318 TextureTiling policy patch. The existingb12250aRelease/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_graphicsCPU/mock test andagc_driver_image_tableGPU test on both arms. The newagc_driver_image_array_rows_past_layer_limitregression uses a capture API absent from main, so it ran only on the candidate.agc_driver_graphics(CPU/mock)agc_driver_image_table(GPU)agc_driver_image_array_rows_past_layer_limit(GPU)All three GPU calls ran serially under the existing GPU lock on an NVIDIA GeForce RTX 4080 SUPER (
0x10de:0x2702) withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1andVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation;APS5_NO_TEXTURE_CACHEwas unset. Each raw log records insertion of the Khronos validation layer at both instance and device levels. No requested-layer-missing diagnostic, skip orVUID-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-overreaddiagnostics on main and candidate and an unresolved candidate-Wfree-nonheap-objectdiagnostic inVulkanDevice.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
1dee304edc78556cb5df1b9c4154f59b72c6ef06was qualified against frozen mainf25279c0ca4cb068370df4baaa46de7b4f4741c7: 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 candidate929bf9731f337575bbbc35b40ad0c761d0d0e9c4or 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
main; no other open PR implements the same functionsf776fddcffd1cfece220ecdd894371988b164f6a(treea8c33fd50b81f2e23d28bc7e72e1e3fad5a8eaad). The earlier 0836 qualification remains documented above with its original pins. The bounded open-PR source review found no duplicate primary behavior for this implementation.RecompileResultguard; after fix(recompiler): check the encoder struct sizes only where they were measured #12250 lands, this PR rebases to drop its duplicate guard. Historical source findings retain their recorded pins.NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)AI-assisted: Claude Code and Codex.