Skip to content

fix(shader): preserve vector destinations through TYPE 2 and 3 buffer descriptors - #22628

Open
JJenkx wants to merge 18 commits into
boykopovar:mainfrom
JJenkx:fix/agc-typed-buffer-loads-keep-destination
Open

JJenkx wants to merge 18 commits into
boykopovar:mainfrom
JJenkx:fix/agc-typed-buffer-loads-keep-destination

Conversation

@JJenkx

@JJenkx JJenkx commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

What

Vector buffer loads through a TYPE 2 or 3 V# preserve their destination registers instead of throwing buffer descriptor uses an unsupported type. The existing PS5 CFI-1115B firmware 12.20 measurement covers the single-dword case. For raw loads of two, three and four dwords, local RX 6650 XT (gfx1032) hardware-oracle measurements cover both wave32 and wave64, mapped descriptors and distinct prior destination words. The PS5 multi-dword case remains unmeasured.

The materializer retries eligible shaders as typedBufferLoads variants. A per-buffer specialization constant makes TranslationContext::bufferLoad select the prior value of each destination register; the descriptor is bound as null. TYPE 0 shader emission keeps its existing path. The variant, snapshot and prepared-shader cache keys include the preservation state; the shader disk cache format is 102. Split table-call parts also retry typed loads; readable TYPE 0 FORMAT 0 descriptors do not acquire destination-preservation state.

Split-part preparation now rechecks converted-sample, layer-row and typed-load requirements under the part mutex before publishing its handle. An outdated preparation is discarded and retried, and a concurrently published valid handle is reused. A required-variant exception is terminal only when the failing invocation already requested that variant; another caller enabling it no longer makes the retry throw or discard the valid cached handle.

Multi-dword support is limited to raw 32-bit loads from read-only buffers. Packed D16 loads explicitly remain refused, including the single-component form. Preservation variants with MUBUF LDS are also refused. Formatted multi-component loads, mixed read/write multi-dword buffers, atomics, TYPE 1, typed accesses, FORMAT above 77, GCN, image aliases and runtime descriptors retain their refusals.

Overlap: #21199 is an alternative implementation of TYPE 2/3 preservation, using additional operands on buffer-load IR operations and a broader formatted-load scope. This branch uses the staged variant and specialization path instead. The two should not be combined as dependencies; whichever approach is selected needs to retain the other measured cases and regression coverage.

Tested

December 3 Linux qualification at the merged head 10cd3099ca5c on main 3ff040106481. The cache format is now 102 to invalidate caches from both parents. All 13/13 selected main checks and 15/15 selected branch checks passed. The two additional branch checks exercise typed split-table calls under GPU and CPU round selection. The 10 main and 12 merged-branch Vulkan cases each selected the RX 6650 XT and inserted Khronos validation 1.4.363. Both runs completed with zero skips, VUIDs or synchronization hazards. Linux 7.3.6, RADV Mesa 26.3.1-arch1.3, GCC 16.2.1 Release, shader cache disabled. The runs cover the focused shader and cache fixtures.

Concurrent variant publication at 7e17fa50740f7d867232481c484a2364d2edc56c (2026-11-27 UTC): fixed the stale-handle publication race raised in review4714647567, including the same race for converted/layer-row variants and the related concurrent retry check.

Follow-up check Result
Exact old function bodies from b722a101463c, controlled two-thread schedules 10 expected race failures; 3 already-requested-error guards pass
Exact candidate function bodies, same schedules 13/13 pass
Rebuilt candidate, real focused CTests 13/13 pass
Frozen main 9e576183ebe9, fresh focused CTests 11/11 pass

The scheduling harness extracts the exact two production function bodies and substitutes compilation, interface-key matching and memory capture. Its seven publication schedules cover every nonempty combination of the three flags; three schedules make two callers request the same missing variant, and three check that already-requested errors still propagate. This is attached local evidence, not a committed CI regression or a real concurrent GPU dispatch test.

The real CTests use the unchanged committed descriptor, unsupported-buffer, shader-cache and split-call fixtures from the preceding qualification; both CPU/GPU round-selection strategies execute on the RX 6650 XT. Linux 7.3.5, GCC16.2.1 Release, SPIRV-Tools disabled. Required physical hardware, disabled shader cache and Khronos validation1.4.363 (headers335) enforced. Zero skips, VUIDs or SYNC-HAZARDs; 21/17 actual layer insertions. Selected loader traces initialize each arm's raw driver. Source, executable and driver hashes remain unchanged; 49 matching recursive dependency pins (optional test262 uninitialized on both). Original CTest history remains intact, no fixture processes remain, and each whole FIFO arm released its sentinel after terminal cleanup. The final build and both GPU arm services exited0.

Conventions and whitespace checks pass. Current main 583b6fc6bfd7 has a clean source-only merge preview; it was not rebuilt. The baseline is the frozen build named above. This adds no fresh Windows, native-title, console, hardware-oracle or performance qualification. Earlier reports below retain their original revision scope.

Reproducer source, exact-function hashes, commands, complete logs/JUnit and cleanup receipts — 112 payloads, anonymous download and every payload hash verified; SHA-256 80b149d747a5c66fb1e6112895372138873a6ff5e532b372ddb4530549ed01b7.

Review fixes at b722a101463c0cd0d1ffb527a63b7a01e9c3b8ca (2026-11-27 UTC): TYPE 0 FORMAT 0 loads still return zero when typed-load mode is enabled. Split table-call parts now track typed mode per part, apply it to their prepared invocation, and retry both capture and materialization. An already-enabled part is not retried indefinitely.

Focused qualification Result
Candidate b722a101463c 13/13 pass
Pre-fix implementation with the identical strengthened fixtures, e320c2ca6b05 10 pass, 3 expected failures
Pinned main 9e576183ebe9, original committed fixtures 11/11 pass

The pre-fix control returns 0xa1a2a3a4 instead of zero for a TYPE 0 FORMAT 0 load in typed mode; both typed split-call cases fail with a vector buffer load reads through a TYPE 2 or 3 V#. The fixed candidate passes those exact cases. The width 1–4 fixture covers valid TYPE 0 and zero-format TYPE 0 in typed mode; split callees exercise TYPE 2/3 under both GPU and CPU round-selection strategies. Both strategies execute on the physical GPU. Eleven common test names use each arm's own committed fixtures; the two new typed split cases are absent from main.

Linux 7.3.5-arch1-1, Ryzen 9 7950X, RX 6650 XT / RADV Mesa 26.3.1-2, GCC 16.2.1 Release, SPIRV-Tools disabled. Required hardware, disabled shader cache and Khronos validation 1.4.363 (headers335) enforced. Zero skips and zero VUIDs on all three arms; 21/21/17 actual layer insertions. Selected loader traces initialize each arm's own raw driver. All source/executable/driver hashes remain unchanged, 49 matching recursive dependency pins, and no fixture processes remain. Each whole arm used the shared FIFO and released its sentinel after terminal cleanup. All build and validation services exited0; the control's three software failures are expected outcomes.

Conventions, debt-fold and topic whitespace checks pass. Later main ad7582bad4aec merges cleanly by source-only preview. The optional inactive-exec-lane assertion remains unadded. No new full SDK, Windows, native-title, console, hardware-oracle or performance qualification.

Exact source patches, commands/environments, complete logs, JUnit, provider and cleanup receipts — 102 payloads, anonymously downloaded and every hash verified; SHA-256 721b6fcad4762c9dd033d851b12481654949a316023bdb925677fa99ba021919.

Earlier Linux refresh (2026-11-26), head 9e71d3ca3b8653956d5367c0a3d667b9af09dee9 merged with main 9e576183ebe9971f8018c078449d850a417a1a0e: the only merge conflict is the cache format number. Format 101 invalidates both old branch format 99 and pinned main format 97; main's specialized-cache code and the 13-field buffer / 52-field image schema are retained.

The same nine focused CTests pass on both arms: seven physical RX 6650 XT GPU cases and two CPU cache cases, zero skips, 13 validation-layer insertions per arm, no VUIDs. Linux 7.3.5-arch1-1, RADV/Mesa 26.3.1, GCC Release, SPIRV-Tools disabled; required hardware, disabled shader cache and validation 1.4.363 (headers 335) enforced. Independent source/build trees use 49 matching recursive dependency pins. Source, fixture binaries and raw-driver hashes stay unchanged; ldd resolves each arm's own build. Conventions, debt-fold and topic whitespace checks pass.

The tested main is the pin above. A later fetched main a725d3f948da991d01cc482ed80070bc8df3ef36 merges cleanly in a source-only preview; it was not rebuilt. This adds no new full SDK, native-title, Windows, PS5 multi-dword, hardware-oracle or FPS qualification. The initial local-reference fetch hit unresolved Git pack deltas; it was preserved and replaced by an independent network clone. The first whitespace check included unchanged main whitespace; the topic diff against main passes without unrelated edits.

Exact source/resolution patches, commands, pins, complete build/test logs, JUnit and hash/loader receipts — 73 payloads, anonymous download and every payload hash verified; SHA-256 a6c4d16445b106d866a3f567736cbdcbe6be10d6b17661cc3c6bd0216c56ad2b.

Earlier qualifications below retain their original heads and cache versions.

Earlier Linux qualification (2026-11-24), head 0c47c6076a7e on main e68be05111f4: resolves the cache-schema merge conflict by retaining the 13-field buffer schema and current main’s 52-field image schema. The cache round-trip fixture now sets typedLoads = true so losing that flag is observable. Cache format 99 remains distinct from this main’s format 96.

The same nine focused CTest cases pass on main and the changed tree: seven physical RX 6650 XT GPU cases and two CPU cache cases per arm, zero skips, 13 validation-layer insertions per arm and no VUIDs. Linux 7.3.5-arch1-1, RADV/Mesa 26.3.1, GCC 16.2.1, Release, SPIRV-Tools disabled; required Vulkan, disabled shader cache and validation 1.4.363 were enforced. Source, fixture executable and raw driver hashes remain unchanged. These focused builds are not a new full raw/patched SDK, title, Windows, PS5 or FPS qualification.

A separate CPU-only sensitivity check omits typedLoads from both encoder and decoder in a private archive copy. The unchanged qualified fixture object detects the loss (entry round trip: shader info differs); fixed controls pass before and after (exit 0 / 1 / 0). Qualified source, archive, executables and modules are unchanged. The initial baseline preflight stopped at missing local registrations for already-correct nested dependencies; after registration, all 47 dependency commits were verified and the baseline built successfully. Both attempts are retained in the evidence.

The refreshed branch-overlap scan still reports shared lines and incomparable branches, including the documented alternative #21199 and cache-format/schema edits. No compatibility claim is made for combining these PRs. The candidate merges cleanly with the separately inspected main f898d20ab064; execution results above use main e68be05111f4.

Source patch, exact commands, complete build/test/mutation logs and provenance (SHA-256 80d1fe47a8e5d9a1e439f019de5d21caec47ab215da26c5662cbe50baea90c87; downloaded archive and all 85 payload hashes verified).

Earlier qualifications below retain their original heads.

Additional Windows NVIDIA qualification (reported 2026-11-24): maskym’s head-matched retest applies ae8b35b7de alone to main 2b09db6f11. Windows 11 26300, i7-12700K, RTX 2070 SUPER, WinLibs GCC 15.2.0, Release; the GPU driver version is not specified. With required Vulkan, shader-cache disabling and validation 1.4.366, both main and the PR pass 2170/2171 AGC/VideoOut/pad checks, with 1966 layer insertions per tree, no missing-layer reports and no VUIDs. The shared failure is agc_driver_store_over_untracked; the contributor reports every test added or changed by this PR passing in that run. These are contributor-reported compatibility results, not an all-green full suite, console measurement or performance result.

Refresh 2026-11-21: four topic commits rebased onto main 729981cb5aa1; qualified head ae8b35b7deae. Merge-only commits were dropped; the existing specialization ranges and all refusal boundaries are retained. The disk cache format is 99 (main at the tested base is 96), invalidating earlier branch entries.

Linux, RX 6650 XT, RADV/Mesa 26.3.1, GCC 16.2.1, Release, SPIRV-Tools enabled. Full raw/patched SDK, relinker and replay tools build on both main and the change. The same nine focused CTest cases pass on both: seven physical-GPU cases and two cache cases, 13 validation-layer insertions per arm, no skips or VUID errors. Vulkan validation 1.4.363, required hardware and shader-cache disabling were enforced. The tested driver and fixture binary hashes remain unchanged after each full SDK build. These are additional compatibility checks; no fresh title, PS5 multiword-oracle or FPS result is claimed.

Commands, source patch, build/test logs and numeric provenance (SHA-256 4d80bfd24c86d4ffeae90fc9ab8e3ad11b7ccf91c8cb54cee99b2eb4006f9b42; downloaded again and every payload hash verified). Latest-main merge-tree check at publication: 123765a75afa, clean. Earlier measurements below remain scoped to their original heads.

Linux, Ryzen 9 7950X, RX 6650 XT, RADV/Mesa 26.2.7, GCC 16.2.1, Release, ANYPS5_ENABLE_SPIRV_TOOLS=OFF.

  • Exact publication head 5af6a9bbc726 and upstream 76b03d3a6a88: full SDKs built independently and frozen; the same 23 focused CTest cases pass on both (23/23 each, no skips). This includes buffer descriptors, refused-draw modes, LDS wave32/wave64 loads, guarded memory, tessellation, graphics and selected libc/SSL regressions. ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, Khronos validation and loader-layer logging were enabled. Each log has 17 validation-layer insertions, a selected physical RX 6650 XT and zero VUID errors. The final fixture also checks that preservation variants with LDS loads are refused while a TYPE 0 LDS load still dispatches.
  • Raw HSA hardware oracle, not AnyPS5 translation: 48 cases, 3,072 lane rows, widths 1/2/3/4, wave32/wave64, TYPE 0/2/3 and FORMAT 0/valid format. TYPE 2/3 preserve all prior destination words; TYPE 0 reads valid-format data and returns zeros for FORMAT 0. Distinct neighboring destination words catch a partial preservation error. Settings and every row/output are in the evidence. This is gfx1032 evidence; PS5/gfx1013 multiword behavior is not measured.
  • Additional negative control: the new private 6daf3cbf0a9f fixture linked against the earlier 0a3d0fa0c72c production SDK fails its unmeasured packed-load acceptance check; the other 16 cases pass, with 14 validation-layer insertions and zero VUID errors. This exposed the packed D16 boundary rather than treating the broader load family as covered.
  • Octopath Traveler II (PPSA09809): upstream 27beeee0a8fc and that main plus the original b8741f6999 both abort on a pixel-stage TYPE 2 buffer_load_dwordx2, buffer 3 at PC 0x130. The isolated private raw-multiword extension 6daf3cbf0a9f clears that refusal: authenticated retained cache plans for the same original shader hashes contain destination-preserving variants. It then aborts at 368.3 s on a different refusal, unnormalized coordinates with anisotropic filtering. The transition remains dark/inverted and gameplay is unverified; no FPS gain or title unblock is claimed. Final publication head additionally has the LDS refusal above, verified in its own GPU gate. Every native run restored assets, saves/settings seeds, SDK hashes, overlays and kernel settings, with no leftover native process.
  • tools/check_conventions.py: passed. Official overlap report records shared-file conflicts and the alternative fix(shader): keep the destination of a buffer load through a TYPE 2 or 3 V# #21199; it is not a clean-overlap claim. A local merge-tree check against current upstream 92b7c3747dc1 is clean.

Download logs, synthetic oracle kernels/results, source patch and reviewed native metadata (SHA-256 904dfeb66c91656f76a8e9be9566ac00766cf85a2150fb53465a53a8ac3c2bc5; downloaded again and all 80 payload hashes verified). No original shaders, modules, saves or game files are included.

The original head b8741f6999 has independent contributor-reported NVIDIA results: RTX 3070 and RTX 4090. The latter reports 103/103 focused tests passing on both sides and both negative-control runs failing with main production files, with Khronos validation loaded and no VUID errors. Those runs cover the original single-dword scope, not this raw multiword extension.

This changes the shader disk cache field counts and format as #22583 does; whichever merges second needs to rebase the cache version.

Integration follow-up with viewport PR #20827: controllable Agnea tavern gameplay and full evidence on private c5b9a1688519. Movement across the stage and down its stairs, camera tracking and gameplay HUD are verified; native exit 0 at 573.3 s. This is combination evidence, not a standalone title-unblock claim for this PR. Captured 4K gameplay remains about 5.23 presented FPS; no speedup or audio/full-game stability claim.

Independent AMD Windows validation reported by Helldiverr: current head ae8b35b7de merged onto main efc6f9c3ba as 1b75e192bc, R9700/gfx1201, driver 32.0.31044.16, Windows 11, validation 1.4.363. The contributor reports three passing focused runs with no VUIDs, a failing new-fixture main control, and four detected mutations. Native gfx1201 TYPE 2/3 loads preserve destinations for the measured forms, including forms this PR still conservatively refuses; gfx1013 remains unmeasured. The shader-memory test was not run because of the host's post-link objcopy failure. The review also records composition conflicts and overlapping specialization-ID allocations with other open PRs; the individual PR runs do not validate those compositions. These are contributor-reported results.

Hosted Windows CI for this refreshed head 0c47c6076a7e, merged onto main 199c91cf36a1, has completed: 4,098 passed, 1,622 skipped, zero failed out of 5,720 registered tests. Windows Server 2025 (26100), WinLibs GCC 15.2.0 UCRT r7, Release/Ninja. All five agc_shader_disk_cache* cases pass, including the cache round trip with typedLoads = true.

The seven BufferDescriptorRuntime/DrawUnsupportedBufferType GPU cases are skipped in this hosted host-only path; the full SDK and video-output steps are skipped too. This adds Windows host-build/cache coverage, not a new physical-GPU, validation-layer, native-title or FPS result. Earlier physical Windows results remain scoped to their recorded heads.

Completed job; full log, exact per-test rows and provenance, SHA-256 2eae6ca8d18c499f602b2f0b5df9d07f89dc1f7fa4386b49c9a26572991d2408; all 7 payload hashes verified after download.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: AMD Radeon RX 6650 XT, RADV Mesa 26.3.1-2, Linux 7.3.5-arch1-1 (latest focused qualification); earlier contributor-reported NVIDIA GeForce RTX 2070 SUPER, driver unspecified, Windows 11 26300 (head-scoped report under Tested)
  • AI-assisted: yes

Summary by CodeRabbit

  • New Features
    • Improved compatibility for supported typed-buffer loads by preserving existing shader values where required.
    • Added coverage for multiword buffer loads and split-table-call scenarios.
  • Bug Fixes
    • Shader recompilation can now retry with typed-buffer loads when needed, helping supported shaders retain expected results.
    • Unsupported buffer-load formats and cases are rejected more consistently.
  • Documentation
    • Clarified which buffer load and store cases are supported, measured, or still unhandled.

@JJenkx

JJenkx commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Game runs (120 s, Cross every 15 s from 30 s, APS5_PIPELINE_DRAIN_LABELS=1 to keep a separate descriptor-table race out of the way), RX 6650 XT, RADV:

Build Title Result
this PR alone PPSA02630 30 s: unnormalized coordinates with anisotropic filtering (before any TYPE 2/3 load)
this PR alone PPSA02630 20 s: buffer descriptor uses an unsupported type (buffer 2 V# 20d05700 c3800000 00ffc0ff 91b00f2e)
this PR + #22583 + #22602 PPSA02306 20 s: unnormalized coordinates with anisotropic filtering
this PR + #22583 + #22602 PPSA02306 16 s: unnormalized coordinates with MC_COORD_TRUNC

So neither title gets further with this PR yet. PPSA02630's TYPE 2 V# (FORMAT 0) is still refused, which means its access is not the measured single-dword, single-component form; I am checking which form it is, and it stays refused until that form is measured on a PS5. PPSA02306's remaining stops are unnormalized samplers (MC_COORD_TRUNC is what #20891/#20944 add), not this PR.

AI-assisted: yes

@JJenkx

JJenkx commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

PPSA02630's refused access, with a local diagnostic that lists the buffer's accesses: buffer 2 (V# 20d09300 c3800000 00ffc0ff 91b00f2e, TYPE 2, FORMAT 0, first used at pc 0x90) is read only, through raw untyped loads of 3 and 4 dwords (buffer_load_dwordx3 / buffer_load_dwordx4). Those are outside the PS5 measurement this PR relies on (single-dword loads), so they stay refused here.

Supporting data from an RX 6650 XT (gfx1032, tools/hw-oracle, wave32), V# over known dwords with word 3 31016fac and TYPE set to 0, 2 or 3, destination registers preset to aaaa0000-aaaa0003:

Load TYPE 0 TYPE 2 TYPE 3
buffer_load_dwordx4 reads the 4 dwords all 4 destinations kept all 4 destinations kept
buffer_load_dwordx3 reads the 3 dwords all 3 destinations kept all 3 destinations kept

(16 rows each, every row the same.) RDNA2 is not a PS5 proxy here: TYPE 1 faults on a PS5 but is a no-op on this GPU. If someone can run buffer_load_dwordx3 and buffer_load_dwordx4 through a TYPE 2 or 3 V# on a PS5, the same change can cover them by dropping the single-dword limit.

AI-assisted: yes

@tablefrogpillow

Copy link
Copy Markdown
Contributor

Real-AMD coverage — the unsupported-V#-TYPE handling (destination VGPR left unchanged) holds across GCN5, RDNA2 and RDNA3. Head b8741f69, Khronos validation 1.4.363, ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1; agc_driver_buffer_descriptor_runtime + the six agc_driver_draw_unsupported_buffer_type* cases:

GPU arch result
RX Vega 56 (RADV VEGA10, gfx900, Wave64) GCN5 both binaries pass, 0 VUID
Ryzen 7000 iGPU (RADV RAPHAEL, gfx1036) RDNA2 7/7 pass
RX 7900 GRE (RADV NAVI31, gfx1100) RDNA3 7/7 pass, 0 VUID
lavapipe SW 7/7 pass

On Vega the unsupported-type V# is detected and rejected as expected ("buffer descriptor uses an unsupported type") with the destination VGPR left unchanged. VGPR destination state is one of the Wave64-vs-Wave32-divergent spots, so the clean GCN5 Wave64 pass is worth having beyond your RX 6650 XT (RDNA2) run.

AI-assisted: yes

@JJenkx

JJenkx commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Regression check at b8741f69991d, 70 s each, Cross every 15 s from 30 s, RX 6650 XT (RADV): PPSA01886 exit 0, 3,917 frames; PPSA02664 exit 0, 3,579 frames; PPSA05975 exit 0, 2,730 frames. No failure or stop; frame counts are not a performance comparison (the host is under background load).

AI-assisted: yes

@JJenkx

JJenkx commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

Correction to the title evidence in this PR's description. The PPSA02306 and PPSA02630 descriptors it cites (image words in buffer and sampler slots) appear to come from pixel programs the driver should not run (draws whose color write masks reach no formatted target); I have not traced each descriptor to its draw, but the stops disappear when those programs are skipped. With only #21747's one-line change to PixelProgramSkipped (ColorWriteMask(cx) == 0 instead of CB_TARGET_MASK & CB_SHADER_MASK) on main 8db3d3761785, and none of my descriptor PRs, 120 s with Cross every 15 s from 30 s on an RX 6650 XT: PPSA02306 (2,725 frames), PPSA02630 (1,531) and PPSA05626 (4,099) each ran the full 120 s with exit 0 (one run each). On main these titles stop within 18 to 72 s on such descriptors.

So these titles do not need this PR once #21747 is merged, and the description's "stops on it" no longer motivates it. What remains is the hardware behaviour this PR implements, measured as the description states; it applies only when a program really samples or loads through such a descriptor. I am leaving the PR open on that basis, and the maintainers may reasonably decide it is not worth the code without a title that needs it.

AI-assisted: yes

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed — no blocking findings

The reviewed changes in head b8741f69991d40298625115cc4d49a60f48aab0f have no verified blocking defects; the staged retry, null-descriptor binding, destination preservation, and specialization path are consistent in the code inspected.

What I ran

No build or tests were run in this review. I read the supplied description, commits, diff, manifest, and targeted source ranges through repo_read.py.

Results

Check Result Note
Source review passed Key changed paths inspected
Build and tests not run No commands executed

Findings

Blocking

None.

Non-blocking

None.

Not verified

The review manifest lists 23 changed files, all marked included. The changed files read were ResourceMaterializer.cpp, BufferInstructions.cpp, and SpirvMemoryInstructions.cpp; the remaining changed files were not read in full. files.json and the ruling file were unavailable through the reader, so excluded-file details and full-file coverage are not verified. Builds, automated tests, and console behavior were not verified.

To get this to a good state

Nothing is required.

@github-actions

github-actions Bot commented Nov 18, 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 22546 core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_split_table_call_driver_tests.cmake
PR 28936 core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_split_table_call_driver_tests.cmake

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 5609 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 5925 core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 6188 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/Recompiler.hpp
PR 6280 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/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 6412 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/DescriptorBindingBuilder.cpp
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/ShaderDiskCache.hpp
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/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 6924 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 7085 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/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 7392 core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
PR 7642 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.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/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
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/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 7689 core/libs/prx/libSceAgcDriver/tests/execution/DrawUnsupportedBufferType.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 9356 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 9387 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 9508 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DrawUnsupportedBufferType.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 9563 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 9633 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 9749 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 9790 core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 9852 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 9897 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 9969 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 10193 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.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/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 10351 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 10359 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/include/Translation/InstructionTranslator.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 10867 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 11442 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 11483 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 11551 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/PipelineSpecialization.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 12324 core/shader/recompiler/Recompiler.cpp
PR 12828 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 12944 core/shader/recompiler/IntermediateRepresentation/src/IrOpcode.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 13928 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.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/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 13929 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.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/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 14032 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 14217 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrOpcode.hpp
core/shader/recompiler/IntermediateRepresentation/src/IrOpcode.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterInstructions.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
core/shader/recompiler/Translation/include/Translation/InstructionTranslator.hpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 14218 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterInstructions.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 14853 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 14871 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 14944 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 14964 core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
PR 15343 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 15456 core/libs/prx/libSceAgcDriver/tests/execution/DrawUnsupportedBufferType.cpp
PR 15499 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 15548 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 15555 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 16260 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 16321 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 16391 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 16415 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/BufferDescriptorRuntime.cpp
PR 16472 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 16631 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 16812 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 16814 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 16935 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 16953 core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
PR 17056 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 17611 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 17623 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 18082 core/shader/recompiler/ShaderDiskCache.cpp
PR 18106 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 18107 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 19096 core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
PR 19181 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 19429 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 19479 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 19710 core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 19821 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.hpp
PR 19852 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 20010 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 20030 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 20111 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Optimization/src/TessellationLowering.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 20130 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 20131 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 20153 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 20248 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/BufferDescriptorRuntime.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 20519 core/shader/recompiler/CacheKey.hpp
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
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
PR 21199 core/libs/prx/libSceAgcDriver/tests/execution/BufferDescriptorRuntime.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DrawUnsupportedBufferType.cpp
core/shader/recompiler/IntermediateRepresentation/src/IrOpcode.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
core/shader/recompiler/Translation/src/MemoryInstructions/BufferInstructions.cpp
docs/dev/debt/changes/fix-type23-multi-dword-stores.md
PR 21240 core/shader/recompiler/ShaderDiskCache.hpp
PR 21745 core/shader/recompiler/ShaderDiskCache.hpp
PR 21763 core/shader/recompiler/ShaderDiskCache.hpp
PR 21776 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/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 21970 core/shader/recompiler/ShaderDiskCache.hpp
PR 21971 core/shader/recompiler/ShaderDiskCache.hpp
PR 22034 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrOpcode.hpp
core/shader/recompiler/IntermediateRepresentation/src/IrOpcode.cpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterInstructions.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 22071 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 22251 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Optimization/src/TessellationLowering.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 22328 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Optimization/src/TessellationLowering.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 22424 core/shader/recompiler/CacheKey.hpp
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
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
PR 22434 core/libs/prx/libSceAgcDriver/tests/execution/DrawUnsupportedBufferType.cpp
PR 22439 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/IntermediateRepresentation/src/IrOpcode.cpp
core/shader/recompiler/Optimization/src/TessellationLowering.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterInstructions.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/Translation/include/Translation/InstructionTranslator.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 22446 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrOpcode.hpp
core/shader/recompiler/IntermediateRepresentation/src/IrOpcode.cpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterInstructions.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 22546 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_split_table_call_driver_tests.cmake
core/libs/prx/libSceAgcDriver/tests/execution/SplitTableCallDriver.cpp
PR 22647 core/libs/prx/libSceAgcDriver/tests/execution/DrawUnsupportedBufferType.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 22675 core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 22690 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/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 22692 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 22703 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/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 22944 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
PR 23004 core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 23242 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ResourcePlan.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/ShaderDiskCache.hpp
PR 23244 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 23258 core/shader/recompiler/Recompiler.hpp
PR 23281 core/shader/recompiler/Recompiler.hpp
PR 23409 core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 23545 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 23553 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.hpp
PR 23818 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 24049 core/shader/recompiler/Recompiler.hpp
PR 24294 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 24523 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/CacheKey.hpp
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
PR 24704 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 24714 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 24781 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 25010 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 25404 core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterInstructions.hpp
PR 25419 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrOpcode.hpp
core/shader/recompiler/IntermediateRepresentation/src/IrOpcode.cpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 25489 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Optimization/src/TessellationLowering.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 25767 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 25978 core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 26012 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 26099 core/shader/recompiler/IntermediateRepresentation/src/IrOpcode.cpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterInstructions.hpp
PR 26100 core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 26101 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrOpcode.hpp
core/shader/recompiler/IntermediateRepresentation/src/IrOpcode.cpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterInstructions.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 26365 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 26686 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
PR 26756 core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 27133 core/libs/prx/libSceAgcDriver/tests/execution/DrawUnsupportedBufferType.cpp
PR 27744 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 27782 core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 27811 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 27812 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
PR 27872 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
PR 27887 core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 27915 core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
PR 28070 core/shader/recompiler/PipelineSpecialization.hpp
PR 28077 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28090 core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 28095 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 28102 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/BufferDescriptorRuntime.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 28142 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28176 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/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28197 core/shader/recompiler/Recompiler.hpp
PR 28220 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 28228 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28252 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 28262 core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 28279 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 28280 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 28289 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/libs/prx/libSceAgcDriver/tests/execution/SplitTableCallDriver.cpp
PR 28295 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/BufferDescriptorRuntime.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterInstructions.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 28296 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/BufferDescriptorRuntime.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 28316 core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
PR 28332 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 28350 core/shader/recompiler/Recompiler.hpp
PR 28372 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28376 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/Translation/include/Translation/InstructionTranslator.hpp
core/shader/recompiler/Translation/include/Translation/TranslationContext.hpp
core/shader/recompiler/Translation/src/InstructionTranslator.cpp
PR 28384 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28387 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/BufferDescriptorRuntime.cpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 28390 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/BufferDescriptorRuntime.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/PipelineSpecialization.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/include/SpirvBackend/SpirvEmitterInstructions.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvMemoryInstructions.cpp
PR 28400 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.hpp
PR 28403 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ResourcePlan.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 28410 core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 28411 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.cpp
PR 28414 core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 28470 core/shader/recompiler/CacheKey.hpp
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
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
PR 28487 core/shader/recompiler/CacheKey.hpp
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
core/shader/recompiler/ShaderDiskCache.hpp
core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
PR 28488 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28490 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/BufferDescriptorRuntime.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 28520 core/libs/prx/libSceAgcDriver/tests/ShaderDiskCache.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/ShaderDiskCache.hpp
PR 28525 core/shader/recompiler/SpirvBackend/src/SpirvFlowEmitter.cpp
PR 28564 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
Report truncated: 52 more lines omitted.

@Doorriiaann

Copy link
Copy Markdown
Contributor

NVIDIA run of the Tested selection: no regression.

Setup: RTX 3070 8 GB, NVIDIA 610.57.04, Ryzen 5 5600X, Debian 13 (kernel 6.12.115), GCC 13.3.0 Release, validation layer 1.4.335. Base is the merge-base 9b262cc, head is b8741f6. ANYPS5_GPU=NVIDIA ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer ctest -R '(buffer|shader_memory|shader_disk_cache|tess)' -V, 3 runs each: 103 tests on both sides, including agc_driver_buffer_descriptor_runtime and agc_driver_draw_unsupported_buffer_type.

base this PR
103 tests 309/309 pass 309/309 pass

Every run selects the RTX 3070; every Vulkan test's log shows the layer inserted, none reports it missing, and no log has a VUID- line.

AI-assisted: yes

@domx4q

domx4q commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Ran the description's buffer test pattern on NVIDIA's proprietary Linux driver with the Khronos validation layer; the AMD runs in the thread cover RADV only.

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

WAYLAND_DISPLAY=wayland-1 XDG_RUNTIME_DIR=/run/user/1000 DISPLAY=:0 ANYPS5_REQUIRE_DISPLAY=1 \
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer \
ctest --test-dir build -R 'buffer|shader_memory|shader_disk_cache|tess' -V
main 1ccc399b17 this PR
Result 103/103 passed 103/103 passed
Insert instance layer "VK_LAYER_KHRONOS_validation" 61 61
was not found but was requested by env var VK_INSTANCE_LAYERS 0 0
VUID- none none

Main runs its own versions of BufferDescriptorRuntime.cpp and DrawUnsupportedBufferType.cpp, without the new TYPE 2 and 3 load cases. On this PR, agc_driver_buffer_descriptor_runtime and the six agc_driver_draw_unsupported_buffer_type* tests pass with them. Every device selection picked the RTX 4090.

Negative control: this PR's build with main's versions of the 23 non-test files fails agc_driver_buffer_descriptor_runtime deterministically (2 of 2 runs) with ShaderRecompiler::Recompile: buffer descriptor uses an unsupported type (buffer 0 V# ... 91000fac) first used at pc 0x8, as the description says. The six agc_driver_draw_unsupported_buffer_type* tests still pass, and neither run logs a VUID-.

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

AI-assisted: yes (Claude Code)

@JJenkx
JJenkx force-pushed the fix/agc-typed-buffer-loads-keep-destination branch from b8741f6 to 5af6a9b Compare November 18, 2026 15:01
@JJenkx JJenkx changed the title fix(shader): keep the destination of single-dword vector loads through TYPE 2 and 3 V#s fix(shader): preserve vector destinations through TYPE 2 and 3 buffer descriptors Nov 18, 2026
@JJenkx

JJenkx commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

Updated to 5af6a9bbc726, rebased onto upstream 76b03d3a6a88, with raw two-/three-/four-dword destination preservation and explicit packed-D16/LDS-variant refusals. The description now separates the original PS5 single-dword measurement from the new local gfx1032 evidence.

  • 48 raw HSA oracle cases / 3,072 lane rows cover both wave sizes and FORMAT 0/valid descriptors.
  • Exact-head full SDKs built; matched main/change focused gates pass 23/23 each, 17 real validation-layer insertions each, zero skips/VUID errors.
  • Octopath's private raw-multiword run clears the original two-dword descriptor failure and reaches a different sampler refusal at 368.3 s. No gameplay or FPS gain claimed.

The description links the hash-verified evidence archive and explains the alternative implementation in #21199. Earlier independent NVIDIA results apply to the old single-dword head, not the extension.

AI-assisted: yes

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed — looks good

Nothing blocks this change; the points below are optional.

What I ran

Reviewed head 5af6a9bbc726cb703359017d6af085a638ad4ac1 using the supplied diff and the pinned repo_read.py reader. No commands or tests were run in this review.

Results

Check Result Note
Changed-code review passed All 25 changed files read
Programmatic checks not run No builds or tests run here

Findings

Blocking

None.

Non-blocking

None.

Not verified

The author reports Linux/RX 6650 XT tests and hardware-oracle measurements in the PR description; these were not independently reproduced. No PS5 multi-dword measurement is claimed. No excluded files were listed in the available review-folder inventory.

To get this to a good state

Nothing is required.

Optional: retain the stated scope limitation that PS5 multi-dword behavior remains unmeasured.

@maskym

maskym commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Windows + NVIDIA result for head 5af6a9bbc7, merged alone into main 6286d36449 (the PR's Tested section names no Windows run).

Host: Windows 11 26300, Intel i7-12700K, NVIDIA GeForce RTX 2070 SUPER, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, r6), Release, BUILD_TESTING=ON, Ninja. main itself fails to compile one test on Windows at this commit (UploadCacheReadOnlyFlush.cpp:177, setenv; #19899 fixes it), so both trees were built with ninja -k 0.

Validation-layer protocol on main and on this PR (ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation 1.4.366, VK_LOADER_DEBUG=error,warn,layer, ctest -R '^(agc|guest_video_out|video_out|pad_sdl)' --parallel 4 -V):

Tree Passed Layer inserted was not found but was requested VUID- set
main 2050/2054 1856 0 none
this PR 2051/2054 1856 0 identical

agc_driver_upload_cache_read_only_flush is Not Run on both trees because of the main build break above. No new validation errors and no new failures. The failures on this PR's tree (agc_driver_stencil_plane_memory, agc_driver_msaa_dcc_unwatch) also fail on main here. agc_driver_store_over_untracked failed in the main run but passed in this PR's run.

The tests this PR adds or changes (agc_driver_buffer_descriptor_runtime, agc_driver_draw_unsupported_buffer_type, agc_driver_draw_unsupported_buffer_type_draw_pipeline, agc_driver_draw_unsupported_buffer_type_plan_verify, agc_driver_draw_unsupported_buffer_type_skip_refused, agc_driver_draw_unsupported_buffer_type_skip_refused_draw_pipeline, agc_driver_draw_unsupported_buffer_type_skip_refused_finisher) pass in the full validation-layer run. Not run on a PS5.

AI-assisted: yes (Claude Code), the runs and the numbers above are from this machine.

@JJenkx

JJenkx commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

Merged main 26604382a5 into the branch (head e795b3ae9ffa) to clear the conflict in core/shader/recompiler/ShaderDiskCache.hpp: main raised FormatVersion to 90, and the branch now uses 98. The value is above main and differs from the values used by my other open shader PRs, so cached entries from either are rejected. No other file conflicted.

Linux, RX 6650 XT, RADV Mesa 26.2.7, GCC 16.2.1, Release: of the tests matching shader|spirv|recompiler|agc_driver_(image|sample|buffer|typed|format), 276 of 277 pass; agc_driver_image_table_packed_guards also fails on main built the same way. tools/check_conventions.py passes.

AI-assisted: yes

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

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed — no blocking findings

The inspected changes show no verified blocking defect, but this review is incomplete because not every changed file was read and no checks were run.

What I ran

Reviewed head e795b3ae9ffa774c4010d8fd9dc8bbe61914bfe6 using the prepared review bundle and repo_read.py. No commands or tests were run.

Read: description.md, commits.md, manifest.json, diff.patch, ShaderRegistry.cpp, BufferInstructions.cpp, ResourceMaterializer.cpp, Recompiler.cpp, DescriptorBindingBuilder.cpp, SpirvMemoryInstructions.cpp, and CacheKey.hpp. The file listing showed 25 changed files, all included. The other changed files were not read; excluded files were not confirmed.

Results

Check Result Note
Diff and description review passed Prepared bundle inspected
Tests and build not run No checks performed
Full changed-file review not run 7 of 25 changed files read

Findings

Blocking

None verified in the inspected code.

Non-blocking

None.

Not verified

The remaining 18 changed files, excluded-file list, build and test results, runtime behavior, and the full claims in the description were not independently verified.

To get this to a good state

Nothing is required. The points above describe the incomplete review and are not merge requirements.

@maskym

maskym commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Retested head e795b3ae9f on Windows + NVIDIA (the head moved since my earlier run), merged alone into main e35c90cfe3.

Host: Windows 11 26300, Intel i7-12700K, NVIDIA GeForce RTX 2070 SUPER, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, r6), Release, BUILD_TESTING=ON, Ninja. main itself fails to compile one test on Windows at this commit (UploadCacheReadOnlyFlush.cpp:177, setenv; #19899 fixes it), so both trees were built with ninja -k 0.

Validation-layer protocol on main and on this PR (ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation 1.4.366, VK_LOADER_DEBUG=error,warn,layer, ctest -R '^(agc|guest_video_out|video_out|pad_sdl)' --parallel 4 -V):

Tree Passed Layer inserted was not found but was requested VUID- set
main 2054/2058 1858 0 none
this PR 2054/2058 1858 0 identical

agc_driver_upload_cache_read_only_flush is Not Run on both trees because of the main build break above. No new validation errors and no new failures. The failures on this PR's tree (agc_driver_stencil_plane_memory, agc_driver_store_over_untracked, agc_driver_msaa_dcc_unwatch) also fail on main here.

The tests this PR adds or changes (agc_driver_buffer_descriptor_runtime, agc_driver_draw_unsupported_buffer_type, agc_driver_draw_unsupported_buffer_type_draw_pipeline, agc_driver_draw_unsupported_buffer_type_plan_verify, agc_driver_draw_unsupported_buffer_type_skip_refused, agc_driver_draw_unsupported_buffer_type_skip_refused_draw_pipeline, agc_driver_draw_unsupported_buffer_type_skip_refused_finisher) pass in the full validation-layer run. Not run on a PS5.

AI-assisted: yes (Claude Code), the runs and the numbers above are from this machine.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 19, 2026

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed — comments

A formal decision is not justified because I inspected the diff and targeted source ranges, but did not read every changed file or run the checks.

What I ran

Reviewed head 63edf19dd8f3889c09fad89f1df5c74863d60f3d using the prepared review materials and repo_read.py; no commands or tests were run.

Results

Check Result Note
Diff and description review passed Prepared materials inspected
Targeted source review passed Six changed source files inspected
Tests not run Author-reported results were not rerun

Findings

Blocking

None identified in the inspected code.

Non-blocking

No specific code issue identified in the inspected ranges.

Not verified

The manifest lists 29 changed files, all included in the review folder. I read targeted ranges from core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp, core/shader/recompiler/Translation/src/MemoryInstructions/BufferInstructions.cpp, core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp, core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp, core/shader/recompiler/PipelineSpecialization.hpp, and core/shader/recompiler/Recompiler.cpp. I did not read the other 23 changed files in full or run tests. No changed files were excluded by the manifest.

To get this to a good state

Nothing is required. Optional: complete inspection of the remaining changed files and run the relevant checks before making a formal decision.

@JJenkx

JJenkx commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

Windows at this head (63edf19dd8f3): agc_driver_buffer_descriptor_runtime, agc_driver_draw_unsupported_buffer_type, agc_driver_split_table_call_driver, agc_driver_draw_unsupported_buffer_type_skip_refused, agc_driver_draw_unsupported_buffer_type_skip_refused_finisher, agc_driver_draw_unsupported_buffer_type_skip_refused_draw_pipeline, agc_driver_draw_unsupported_buffer_type_draw_pipeline, agc_driver_draw_unsupported_buffer_type_plan_verify, agc_driver_split_table_call_driver_typed_gpu_rounds, agc_driver_split_table_call_driver_typed_cpu_rounds, agc_shader_disk_cache, agc_shader_disk_cache_pack_ownership, agc_shader_disk_cache_large_file, agc_shader_disk_cache_long_paths, agc_shader_disk_cache_host_stderr, agc_driver_split_table_call_driver_gpu_rounds, agc_driver_split_table_call_driver_cpu_rounds pass, 3/3 runs. These are the CTests built from the changed ShaderDiskCache.cpp, BufferDescriptorRuntime.cpp, DrawUnsupportedBufferType.cpp, SplitTableCallDriver.cpp.

Setup:

  • Windows 11 22621, Ryzen 9 5950X, MinGW-w64 GCC 15.2 UCRT r7, Release.
  • The exact PR head was built (not merged into main).
  • 3 runs through the shared FIFO.

The added test lines have no platform guard.

AI-assisted: yes.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 29, 2026
# Conflicts:
#	core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
#	core/shader/recompiler/PipelineSpecialization.hpp
@JJenkx

JJenkx commented Nov 29, 2026

Copy link
Copy Markdown
Contributor Author

I merged main into this PR as 845ac053015c.

The conflict was in PipelineSpecialization.hpp: main's new StorageReadBase took specialization ID 58560, which this PR's BufferKeepsDestinationBase also used. BufferKeepsDestinationBase now starts at 58752 and spans 256 IDs. That leaves 58688-58751 free for #27670's ScaleUnnormalizedBase, so the two PRs no longer collide with each other either. The static_assert chain in DescriptorBindingBuilder.cpp checks the new ordering. Nothing else changed.

Linux check at 845ac053015c: Arch Linux 7.3.5, GCC 16.2.1 Release, RX 6650 XT / RADV, Khronos validation layer loaded.

  • ctest -R 'agc_shader_disk_cache|split_table_call|buffer_descriptor_runtime|draw_unsupported_buffer_type|spirv|recompiler': 34 pass, 0 skipped.
  • No VUID- or SYNC- messages.

AI-assisted: yes

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

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed — looks good

Nothing blocks this change; the points below are optional.

What I ran

Reviewed head 845ac053015c41a1bfc6d75286fd1ec30eb333bd from the prepared diff and the pinned repository reader. No build or tests were run in this review.

Results

Check Result Note
Diff and changed-file review passed All 25 changed files were included and read
Build and tests not run Contributor-reported checks are not review runs
Reader context passed Touched retry and materialization paths inspected

Findings

Blocking

None.

Non-blocking

  • The description reports that multi-dword TYPE 2/3 behavior remains unmeasured on PS5 hardware. A PS5 measurement would strengthen confidence in the newly supported 2–4 dword cases.

Not verified

No tests, build, merged-preview check, physical console behavior, or hardware measurements were run by this review. All changed files listed in the manifest were read; no changed files were excluded.

To get this to a good state

Nothing is required. Optional: measure the multi-dword cases on PS5 and add the results to the qualification evidence.

@JJenkx

JJenkx commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Windows at this head (845ac053015c): agc_driver_buffer_descriptor_runtime, agc_driver_draw_unsupported_buffer_type, agc_driver_split_table_call_driver, agc_driver_draw_unsupported_buffer_type_skip_refused, agc_driver_draw_unsupported_buffer_type_skip_refused_finisher, agc_driver_draw_unsupported_buffer_type_skip_refused_draw_pipeline, agc_driver_draw_unsupported_buffer_type_draw_pipeline, agc_driver_draw_unsupported_buffer_type_plan_verify, agc_driver_split_table_call_driver_typed_gpu_rounds, agc_driver_split_table_call_driver_typed_cpu_rounds, agc_shader_disk_cache, agc_shader_disk_cache_pack_ownership, agc_shader_disk_cache_large_file, agc_shader_disk_cache_long_paths, agc_shader_disk_cache_host_stderr, agc_driver_split_table_call_driver_gpu_rounds, agc_driver_split_table_call_driver_cpu_rounds pass, 3/3 runs. These are the CTests built from the changed ShaderDiskCache.cpp, BufferDescriptorRuntime.cpp, DrawUnsupportedBufferType.cpp, SplitTableCallDriver.cpp.

Setup:

  • Windows 11 22621, Ryzen 9 5950X, MinGW-w64 GCC 15.2 UCRT r7, Release.
  • The exact PR head was built (not merged into main).
  • 3 runs through the shared FIFO.

The added test lines have no platform guard.

AI-assisted: yes.

@maskym

maskym commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Retested head 845ac05301 on Windows + NVIDIA (the head moved since my earlier run), merged alone into main 63ee1c120a.

Host: Windows 11 26300, Intel i7-12700K, NVIDIA GeForce RTX 2070 SUPER, WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, r6), Release, BUILD_TESTING=ON, Ninja. Build clean.

Validation-layer protocol on main and on this PR (ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation 1.4.366, VK_LOADER_DEBUG=error,warn,layer, ctest -R '^(agc|guest_video_out|video_out|pad_sdl)' --parallel 4 -V):

Tree Passed Layer inserted was not found but was requested VUID- set
main 2465/2465 2214 0 none
this PR 2466/2467 2218 0 identical

agc_driver_idle_store_resumes also failed in this PR's parallel run but passes 3 of 3 rerun alone on this PR's tree, so I read it as load-dependent, not caused by this change. No new validation errors and no test failures on this PR's tree.

The tests this PR adds or changes (agc_driver_buffer_descriptor_runtime, agc_driver_draw_unsupported_buffer_type, agc_driver_draw_unsupported_buffer_type_draw_pipeline, agc_driver_draw_unsupported_buffer_type_plan_verify, agc_driver_draw_unsupported_buffer_type_skip_refused, agc_driver_draw_unsupported_buffer_type_skip_refused_draw_pipeline, agc_driver_draw_unsupported_buffer_type_skip_refused_finisher, agc_driver_split_table_call_driver, agc_driver_split_table_call_driver_cpu_rounds, agc_driver_split_table_call_driver_gpu_rounds, agc_driver_split_table_call_driver_typed_cpu_rounds, agc_driver_split_table_call_driver_typed_gpu_rounds, agc_shader_disk_cache, agc_shader_disk_cache_host_stderr, agc_shader_disk_cache_large_file, agc_shader_disk_cache_long_paths, agc_shader_disk_cache_pack_ownership) pass in the full validation-layer run. Not run on a PS5.

AI-assisted: yes (Claude Code), the runs and the numbers above are from this machine.

@JJenkx

JJenkx commented Dec 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged main 3ff040106481 into this branch at 10cd3099ca5c. The single conflict was the shader disk-cache format. Format 102 invalidates formats 99 and 101 from the two parents while retaining the typed-load field in the cache round trip.

On Linux/RADV, all 13/13 main cases and 15/15 candidate cases passed, with no skips. All physical cases selected the RX 6650 XT and used Khronos validation 1.4.363, with zero VUIDs or synchronization hazards. The typed GPU fixture recorded GPU round counts of 1 and 4 across its batches.

AI-assisted: yes

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed — comments

Nothing blocks this; the points below are optional.

What I ran

Reviewed head 10cd3099ca5ccbe3046a4f5d43b0e97e0d78f9c4. Read the prepared description, commits, manifest, diff, and files list. Inspected relevant hunks and available file snapshots, including buffer translation, resource materialization, shader preparation, cache keys, and focused tests. No tests or builds were run.

Commands used:

cat description.md commits.md manifest.json diff.patch files.json
rg '^diff --git|^@@' diff.patch
python3 repo_read.py search disabledBufferAccesses core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp

The reader search returned results; the subsequent reader call failed because it could not write its read log in this read-only workspace.

Results

Check Result Note
Prepared review inputs passed Read
Pinned source context not run Reader logging failed
Tests and build not run No execution

Negative control

Not run; no tests were run.

Findings

Blocking

None identified in the hunks inspected. This is not a complete source review: not every changed file was read in full.

Non-blocking

The description explicitly limits multi-dword preservation measurements to RX 6650 XT hardware and says the PS5 multi-dword case remains unmeasured. Keep that boundary clear in any claims about console support.

Sources

Not verified

The full text of every changed file and repository callers beyond the inspected hunks were not reviewed. The reader did not provide further source context because it could not write its log. No tests, negative controls, builds, PS5 multi-dword measurements, or runtime behavior were verified. The manifest lists 29 changed files, all included in files/; files.json lists no excluded files. Focused source review covered BufferInstructions.cpp, ResourceMaterializer.cpp, ShaderRegistry.cpp, DescriptorBindingBuilder.cpp, Recompiler.cpp, and selected cache and execution-test hunks. Other files were not individually read.

To get this to a good state

Nothing is required. If a formal approval is needed, complete the source review of the remaining changed files and rerun the reader when its log can be written.

@JJenkx

JJenkx commented Dec 3, 2026

Copy link
Copy Markdown
Contributor Author

Linux check at the new head 10cd3099ca5c (main merge plus refreshed typed-load cache format): 34 of 34 pass, with none skipped and 0 Vulkan validation errors. Same suite as the previous check at 845ac053015c.

Setup: Linux 7.3.6, RX 6650 XT (RADV, Mesa 26.3.1), Release, Khronos validation layer inserted. ctest filter: agc_shader_disk_cache|split_table_call|buffer_descriptor_runtime|draw_unsupported_buffer_type|spirv|recompiler.

AI-assisted: yes

@ligmaSec ligmaSec left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The runtime buffer-descriptor, scalar-buffer, and split-table GPU-rounds CTests passed on main and the patched tree. The added typed-load GPU and CPU rounds also passed on the patched tree. All Vulkan runs used the same Linux lavapipe device with Vulkan required, shader cache disabled, and validation layer 1.4.369. The logs show layer insertion and contain no missing-layer diagnostic or VUID- entry.

AI-assisted: yes.

@B-Howell

B-Howell commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Windows tester result at head 10cd3099ca5c, merged onto main de4730493ab4: pass.

  • Windows 11 Pro 26300, NVIDIA GeForce RTX 4080 SUPER (621.14), WinLibs GCC 15.2.0 r7, Release.
  • agc_driver_buffer_descriptor_runtime_tests, agc_driver_draw_unsupported_buffer_type_tests, agc_driver_split_table_call_driver_tests, agc_shader_disk_cache_tests, agc_driver_graphics_tests and three other AGC test targets (113 tests, including the new agc_driver_split_table_call_driver_typed_gpu_rounds and _cpu_rounds): 113/113 pass, 3 runs out of 3.
  • Control with main's production files and this PR's tests: agc_driver_split_table_call_driver_typed_gpu_rounds and _cpu_rounds abort with compute shader 0xfc00000000 split into 5 table call parts: buffer descriptor uses an unsupported type (buffer 1 V# 00002000 000000fc 00000700 91016fac), the PPSA09809 refusal. The BufferDescriptorRuntime.cpp and ShaderDiskCache.cpp test changes do not compile against main, so those are compile-only.
  • With ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation: the layer was inserted on main (111 tests) and on the PR (113), never "not found", and 0 VUID- on either.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Dec 3, 2026

This branch has not been deployed

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.