feat(agc): implement image tables loaded through 64-bit pointers #758

Merged
Celegans12 merged 2 commits from upstream-pr/758 into main 2026-10-14 15:53:44 +00:00
Celegans12 commented 2026-10-05 21:12:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-05T21:12:05Z.


What

Stacked on #757; please review the last commit only.

Image and sampler descriptors loaded by s_load at runtime offsets through a 64-bit pointer still fail planning. This enumerates offsets from an independently resolvable base, preserving registration-time compilation and keeping invocation data out of shader and pipeline keys.

Consecutive descriptor reads must share one heap/address handle and an affine offset. Alignment, signed immediates and bounded keys are preserved; invalid, unmapped or overflowing selected entries fault. Each table records its consumed descriptor spans, read in runs like #757's buffer tables. Overlapping buffer or storage-image writes poison that table, while gaps and unrelated tables remain usable.

Pointer columns share #757's column rules: reads with the same access shape share one column, whose key bound is the widest of their keys and whose stored plan keeps the pointer flag and bound. Records that hold a pointer to the T#, and a T# split over two loads of its record, are not planned here; #4475 (stacked on this) adds both. #5466 needs a table-aware rule when it meets this, which its author described there. Persisted invocation ranges advance disk format 32 to 33; runtime ABI 12 is unchanged.

Tested

Based on main 066b58fa with #757. Windows 11 (MinGW-w64 GCC 15.2.0) and Linux: configure -DBUILD_TESTING=ON, full build, --target libs, ctest.

  • Windows, NVIDIA: 1188/1189 tests pass; log_macros also fails on main here.
  • Linux (upstream's job on WSL, lavapipe), merged with main 84b01f9c: 1171/1173; agc_driver_bc_block_copy and agc_driver_depth_compare_copy also fail on main there.

The pointer cases in agc_driver_image_table (masked keys, null and invalid entries, key cap, unmapped entries, overlapping storage writes, two-table isolation), agc_shader_memory and agc_shader_disk_cache (a pointer table's plan round trips) pass on both; they fail to build without this commit. Windows ran counted reuse with write watch; WSL skips it and the two subgroup-32 per-wave cases.

Not tested: graphics-stage pointer tables, native RADV, console behaviour.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: #757
  • Unblocks: PPSA26344 #675
  • GPUs tested: NVIDIA GeForce RTX 3080 Laptop GPU, driver 610.62, Windows 11; llvmpipe (Mesa 25.2.8), WSL Ubuntu 24.04
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4750815145 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-05T21:12:05Z. --- ### What Stacked on #757; please review the last commit only. Image and sampler descriptors loaded by `s_load` at runtime offsets through a 64-bit pointer still fail planning. This enumerates offsets from an independently resolvable base, preserving registration-time compilation and keeping invocation data out of shader and pipeline keys. Consecutive descriptor reads must share one heap/address handle and an affine offset. Alignment, signed immediates and bounded keys are preserved; invalid, unmapped or overflowing selected entries fault. Each table records its consumed descriptor spans, read in runs like #757's buffer tables. Overlapping buffer or storage-image writes poison that table, while gaps and unrelated tables remain usable. Pointer columns share #757's column rules: reads with the same access shape share one column, whose key bound is the widest of their keys and whose stored plan keeps the pointer flag and bound. Records that hold a pointer to the T#, and a T# split over two loads of its record, are not planned here; #4475 (stacked on this) adds both. #5466 needs a table-aware rule when it meets this, which its author described there. Persisted invocation ranges advance disk format 32 to 33; runtime ABI 12 is unchanged. ### Tested Based on `main` 066b58fa with #757. Windows 11 (MinGW-w64 GCC 15.2.0) and Linux: configure -DBUILD_TESTING=ON, full build, --target libs, ctest. - Windows, NVIDIA: 1188/1189 tests pass; `log_macros` also fails on `main` here. - Linux (upstream's job on WSL, lavapipe), merged with `main` 84b01f9c: 1171/1173; `agc_driver_bc_block_copy` and `agc_driver_depth_compare_copy` also fail on `main` there. The pointer cases in `agc_driver_image_table` (masked keys, null and invalid entries, key cap, unmapped entries, overlapping storage writes, two-table isolation), `agc_shader_memory` and `agc_shader_disk_cache` (a pointer table's plan round trips) pass on both; they fail to build without this commit. Windows ran counted reuse with write watch; WSL skips it and the two subgroup-32 per-wave cases. Not tested: graphics-stage pointer tables, native RADV, console behaviour. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: #757 - [x] Unblocks: PPSA26344 #675 - [x] GPUs tested: NVIDIA GeForce RTX 3080 Laptop GPU, driver 610.62, Windows 11; llvmpipe (Mesa 25.2.8), WSL Ubuntu 24.04 - [x] AI-assisted: yes
Celegans12 commented 2026-10-06 03:16:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-06T03:16:21Z.


The Linux failure here (agc_driver_flat_store timing out at 120 s) is the llvmpipe slowdown from #757 that I reported in this comment. The fix is in progress on #757, and this branch will be restacked onto it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6008608173 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6008608173). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-06T03:16:21Z. --- The Linux failure here (`agc_driver_flat_store` timing out at 120 s) is the llvmpipe slowdown from #757 that I reported in [this comment](https://github.com/boykopovar/AnyPS5/pull/757#issuecomment-6008538210). The fix is in progress on #757, and this branch will be restacked onto it.
Pacuka commented 2026-10-09 15:53:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Pacuka on 2026-10-09T15:53:39Z.


Data point from The Smurfs Dreams (PPSA21607, UE): one NGG/mesh shader of its 64-instance layered lighting-volume draws reads a descriptor with s_load through a user-data 64-bit pointer at the offset (ReadConst(srt, 0) << 4) & 0x1f0. That's a draw-uniform key masked after the shift (32 entries of 16 bytes), not the key * S (+ c) + I form, so on #758 it's still reported as scalar address access, offset dynamic (a register offset is not planned by the SRT walker). It then takes the address-based path, and each of those draws mirrors the whole GPU-mapped lease and flushes the pending storage images: about 70-80 ms per draw on an RX 6650 XT (RADV). Would (key << s) & m fit the same column shape (range = the mask's bits)? I can test a build on this title.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6084389355 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6084389355). Originally posted by [Pacuka](https://github.com/Pacuka) on 2026-10-09T15:53:39Z. --- Data point from The Smurfs Dreams (PPSA21607, UE): one NGG/mesh shader of its 64-instance layered lighting-volume draws reads a descriptor with `s_load` through a user-data 64-bit pointer at the offset `(ReadConst(srt, 0) << 4) & 0x1f0`. That's a draw-uniform key masked after the shift (32 entries of 16 bytes), not the `key * S (+ c) + I` form, so on #758 it's still reported as `scalar address access, offset dynamic (a register offset is not planned by the SRT walker)`. It then takes the address-based path, and each of those draws mirrors the whole GPU-mapped lease and flushes the pending storage images: about 70-80 ms per draw on an RX 6650 XT (RADV). Would `(key << s) & m` fit the same column shape (range = the mask's bits)? I can test a build on this title.
Celegans12 commented 2026-10-09 15:56:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-09T15:56:33Z.


Thanks, that's a useful case. I think it fits. When the mask's low s bits are clear, (key << s) & m is the same as (key & (m >> s)) << s. So it's the key * S form with S = 1 << s and a key that the mask already bounds to (m >> s) + 1 entries (32 of 16 bytes here). The walker would have to recognise the shift followed by the and, and accept only a mask that is one contiguous run starting at bit s. Anything else should keep today's refusal.

I'd rather not widen #758 while it's under review, so I'll put this up as a small follow-up on top of it and ping you when it's ready. A run on The Smurfs Dreams would be great.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6084438501 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6084438501). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-09T15:56:33Z. --- Thanks, that's a useful case. I think it fits. When the mask's low `s` bits are clear, `(key << s) & m` is the same as `(key & (m >> s)) << s`. So it's the `key * S` form with `S = 1 << s` and a key that the mask already bounds to `(m >> s) + 1` entries (32 of 16 bytes here). The walker would have to recognise the shift followed by the and, and accept only a mask that is one contiguous run starting at bit `s`. Anything else should keep today's refusal. I'd rather not widen #758 while it's under review, so I'll put this up as a small follow-up on top of it and ping you when it's ready. A run on The Smurfs Dreams would be great.
Mouhand-Kaddo commented 2026-10-10 18:57:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Mouhand-Kaddo on 2026-10-10T18:57:16Z.


Independent focused validation of head c38d9ccd9, stacked on #757 head 9e5fcf29a, applied onto current main 29380369a (local commit 538d3db91). Both cherry-picks applied cleanly; no additional compatibility fixes were included.

  • Windows 11 / MinGW-w64 GCC 15.2.0 / Radeon RX 6900 XT: 6/6 passed (3.06 s).
  • Arch Linux under WSL2 / GCC 16.2.1 / lavapipe LLVM 23.1.1: 6/6 passed (2.95 s). This is software Vulkan validation, not native Linux GPU coverage.
  • Tests: agc_shader_memory, agc_shader_disk_cache, agc_shader_device_profile, agc_driver_image_table, agc_driver_image_table_cache, and agc_driver_image_table_reuse.
  • Verbose output confirms that both sample/read per-wave key cases are omitted: Windows subgroup 64 and Linux subgroup 8 do not match the fixture's required wave32. Linux also reports that counted table reuse is not tested without write watch. Those omissions are not passing coverage. Windows counted reuse completed.
  • Conventions and diff checks pass. No full-suite or game compatibility claim.

I also replayed 17 complete local captured requests against main, #757 alone, and this child stack. All still fail at resource analysis with GetImageResource dword 0 is not a valid runtime value, involving LoadAddressU32 and loop-Phi or ReadLane-derived offsets. These are additional shapes to investigate, not a regression attributed to this PR. The requests remain local.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6101048971 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6101048971). Originally posted by [Mouhand-Kaddo](https://github.com/Mouhand-Kaddo) on 2026-10-10T18:57:16Z. --- Independent focused validation of head `c38d9ccd9`, stacked on #757 head `9e5fcf29a`, applied onto current main `29380369a` (local commit `538d3db91`). Both cherry-picks applied cleanly; no additional compatibility fixes were included. - Windows 11 / MinGW-w64 GCC 15.2.0 / Radeon RX 6900 XT: 6/6 passed (3.06 s). - Arch Linux under WSL2 / GCC 16.2.1 / lavapipe LLVM 23.1.1: 6/6 passed (2.95 s). This is software Vulkan validation, not native Linux GPU coverage. - Tests: `agc_shader_memory`, `agc_shader_disk_cache`, `agc_shader_device_profile`, `agc_driver_image_table`, `agc_driver_image_table_cache`, and `agc_driver_image_table_reuse`. - Verbose output confirms that both sample/read per-wave key cases are omitted: Windows subgroup 64 and Linux subgroup 8 do not match the fixture's required wave32. Linux also reports that counted table reuse is not tested without write watch. Those omissions are not passing coverage. Windows counted reuse completed. - Conventions and diff checks pass. No full-suite or game compatibility claim. I also replayed 17 complete local captured requests against main, #757 alone, and this child stack. All still fail at resource analysis with `GetImageResource dword 0 is not a valid runtime value`, involving `LoadAddressU32` and loop-Phi or ReadLane-derived offsets. These are additional shapes to investigate, not a regression attributed to this PR. The requests remain local.
Mouhand-Kaddo commented 2026-10-10 19:11:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Mouhand-Kaddo on 2026-10-10T19:11:41Z.


Follow-up: I isolated one of the additional rejection shapes in a synthetic test. An eight-dword T# assembled by two four-dword scalar loads is rejected when the second load advances its register offset by 16 bytes while retaining the same metadata offset. The tracker compares metadata offsets separately from the address expression.

A focused fix is prepared in the fork: https://github.com/Mouhand-Kaddo/AnyPS5/tree/prep/agc-split-table-loads. Own commits 5f1f0b929 (regression) and 29c710648 (fix and execution/negative coverage), based on this PR stack rebased to main 4a747c487. It compares the combined affine word address, retains rejection of nonconsecutive words, and recognizes equivalent independently created heap handles.

The regression alone failed on both Windows and Arch WSL2. With the fix, the same six focused tests listed above passed on Windows/RX 6900 XT (6/6, 1.64 s) and Arch/lavapipe (6/6, 1.05 s). The GPU case compares the split-load shader with the single-load shader; the CPU case compares captured entries and consumed ranges. Earlier subgroup/write-watch omissions still apply.

All 17 local captured requests move past resource analysis with this change, but still fail later during runtime-source evaluation. No successful recompilation, rendering or full-suite claim. No upstream PR opened while intake is paused.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6101178341 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6101178341). Originally posted by [Mouhand-Kaddo](https://github.com/Mouhand-Kaddo) on 2026-10-10T19:11:41Z. --- Follow-up: I isolated one of the additional rejection shapes in a synthetic test. An eight-dword T# assembled by two four-dword scalar loads is rejected when the second load advances its register offset by 16 bytes while retaining the same metadata offset. The tracker compares metadata offsets separately from the address expression. A focused fix is prepared in the fork: https://github.com/Mouhand-Kaddo/AnyPS5/tree/prep/agc-split-table-loads. Own commits `5f1f0b929` (regression) and `29c710648` (fix and execution/negative coverage), based on this PR stack rebased to main `4a747c487`. It compares the combined affine word address, retains rejection of nonconsecutive words, and recognizes equivalent independently created heap handles. The regression alone failed on both Windows and Arch WSL2. With the fix, the same six focused tests listed above passed on Windows/RX 6900 XT (6/6, 1.64 s) and Arch/lavapipe (6/6, 1.05 s). The GPU case compares the split-load shader with the single-load shader; the CPU case compares captured entries and consumed ranges. Earlier subgroup/write-watch omissions still apply. All 17 local captured requests move past resource analysis with this change, but still fail later during runtime-source evaluation. No successful recompilation, rendering or full-suite claim. No upstream PR opened while intake is paused.
adriadam10 commented 2026-10-11 10:30:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T10:30:18Z.

Review: CHANGES_REQUESTED


This is stacked on #757, which still has two open test failures from its latest review (agc_driver_bindless_images on RADV, agc_driver_image_table_reuse on an RTX 4090), so this child can't be validated or merged yet.

  • The head also conflicts with current main in logic files, not just adjacency: ResourceMaterializer.cpp, ResourceTracker.cpp, SpirvImageEmitter.cpp, Recompiler.cpp, ShaderDiskCache.cpp/.hpp, DescriptorBindingBuilder.cpp, ImageInstructions.cpp, ResourcePlan.hpp, Resources.hpp, PipelineSpecialization.hpp, Graphics/src/BdaResources.cpp, Graphics/src/ShaderResources.cpp, tests/Graphics.cpp, tests/ShaderDiskCache.cpp. Please rebase once #757 is sorted out and re-run the focused tests.
  • CI on this head shows write-watch (macos-15-intel) failing; please check whether it is caused by the PR.

Thanks to @Mouhand-Kaddo and @Tamalero for the independent runs; they'll be useful once the base lands.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5482956035 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#pullrequestreview-5482956035). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T10:30:18Z. **Review:** CHANGES_REQUESTED --- This is stacked on #757, which still has two open test failures from its latest review (`agc_driver_bindless_images` on RADV, `agc_driver_image_table_reuse` on an RTX 4090), so this child can't be validated or merged yet. - The head also conflicts with current `main` in logic files, not just adjacency: `ResourceMaterializer.cpp`, `ResourceTracker.cpp`, `SpirvImageEmitter.cpp`, `Recompiler.cpp`, `ShaderDiskCache.cpp/.hpp`, `DescriptorBindingBuilder.cpp`, `ImageInstructions.cpp`, `ResourcePlan.hpp`, `Resources.hpp`, `PipelineSpecialization.hpp`, `Graphics/src/BdaResources.cpp`, `Graphics/src/ShaderResources.cpp`, `tests/Graphics.cpp`, `tests/ShaderDiskCache.cpp`. Please rebase once #757 is sorted out and re-run the focused tests. - CI on this head shows `write-watch (macos-15-intel)` failing; please check whether it is caused by the PR. Thanks to @Mouhand-Kaddo and @Tamalero for the independent runs; they'll be useful once the base lands.
Celegans12 commented 2026-10-11 13:39:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-11T13:39:23Z.


Child 1ff81c2416 is one commit on revised #757 e904eb18c7, retaining its allocation/sampler fixes and pointer overlap/isolation tests. Full Windows/Linux checks tested merge 7539635e with main 1e8fff68. Final merge preview 58739d75 differs only by three inherited TechnicalDebt line shortenings; all code and the child topic delta are unchanged.

Neither full suite is green:

  • Windows: 839 total, 830 passed, four failed, five expected skips; CTest 8, skip checker 0, 86.11 s CTest time (95 s phase). guest_kernel_sys, windows_exceptions, agc_driver_emulated_color_compare and guest_filesystem all reproduce on exact main 1e8 (0/4 in 0.59 s).
  • Linux: 841 total, 804 passed, four failed, 33 skipped in 350.93 s; CTest 8, skip checker 1 for unexpected agc_write_tracking. Depth-copy, implicit-LOD plane-address and kernel-stack-protection failures reproduce on exact old main 0f863; emulated-color compare reproduces on exact main 1e8 (0/1). The skip remains rejected.

All 16 focused cases pass inside the merged Windows full run without internal omissions, including counted reuse on the RTX 3080 Laptop GPU and pointer self-write/two-table isolation. Earlier exact-child focused 16 and GPL-OFF three, reuse-OFF one and layout/pool-OFF two cases pass on both platforms. WSL omits counted reuse, heap/import watch proofs and two subgroup-32 per-wave cases; the pointer overlap/isolation cases still execute. No old-child full Linux suite is claimed.

Merged default Recorder passes on NVIDIA but omits watched-import refresh, draw reuse, unit shadows and snapshot patching; storage refresh runs unwatched. llvmpipe Recorder's unchanged-depth fast-proof failure on use 2 also reproduces on exact main 1e8; later checks were not reached. No hidden unexpected native faults were found in either completed merged full run. Both merged Windows draw-cache modes pass, but that does not prove the historical intermittent native fault fixed.

The Intel Mac timeout was in standalone write_watch_threads, unchanged by this stack. The restack inherits main's bounded-stress repair 5d7fc5a342; no local Mac, RADV or RTX 4090 run is claimed.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6109621457 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6109621457). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-11T13:39:23Z. --- Child `1ff81c2416` is one commit on revised #757 `e904eb18c7`, retaining its allocation/sampler fixes and pointer overlap/isolation tests. Full Windows/Linux checks tested merge `7539635e` with main `1e8fff68`. Final merge preview `58739d75` differs only by three inherited TechnicalDebt line shortenings; all code and the child topic delta are unchanged. Neither full suite is green: - Windows: 839 total, 830 passed, four failed, five expected skips; CTest 8, skip checker 0, 86.11 s CTest time (95 s phase). `guest_kernel_sys`, `windows_exceptions`, `agc_driver_emulated_color_compare` and `guest_filesystem` all reproduce on exact main `1e8` (0/4 in 0.59 s). - Linux: 841 total, 804 passed, four failed, 33 skipped in 350.93 s; CTest 8, skip checker 1 for unexpected `agc_write_tracking`. Depth-copy, implicit-LOD plane-address and kernel-stack-protection failures reproduce on exact old main `0f863`; emulated-color compare reproduces on exact main `1e8` (0/1). The skip remains rejected. All 16 focused cases pass inside the merged Windows full run without internal omissions, including counted reuse on the RTX 3080 Laptop GPU and pointer self-write/two-table isolation. Earlier exact-child focused 16 and GPL-OFF three, reuse-OFF one and layout/pool-OFF two cases pass on both platforms. WSL omits counted reuse, heap/import watch proofs and two subgroup-32 per-wave cases; the pointer overlap/isolation cases still execute. No old-child full Linux suite is claimed. Merged default Recorder passes on NVIDIA but omits watched-import refresh, draw reuse, unit shadows and snapshot patching; storage refresh runs unwatched. llvmpipe Recorder's unchanged-depth fast-proof failure on use 2 also reproduces on exact main `1e8`; later checks were not reached. No hidden unexpected native faults were found in either completed merged full run. Both merged Windows draw-cache modes pass, but that does not prove the historical intermittent native fault fixed. The Intel Mac timeout was in standalone `write_watch_threads`, unchanged by this stack. The restack inherits main's bounded-stress repair `5d7fc5a342`; no local Mac, RADV or RTX 4090 run is claimed.
Pipodi commented 2026-10-12 09:17:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Pipodi on 2026-10-12T09:17:43Z.


Data point from Ghost of Yōtei (PPSA26344): the title can't get past its first large compute dispatch on current main without this PR.

Compute shader 0x800027c200 (4,472 code words, wave64, 8×8×1, issued about 30 s after launch) fails resource planning on main, and the exception aborts the process (SIGABRT from a driver worker thread):

  • main 436e310dd, Oct 9 main d70b89989 and Oct 11 main 0f863c102, all without #757: GetImageResource dword 0 is not a valid runtime value, at a ReadConstBuffer at pc 0xdc0.
  • With #757 (753c29396) alone, planning gets further and refuses the descriptor loaded through the 64-bit user-data pointer: dword 0 is LoadAddressU32 at pc 0xe58 from GetAddressResource(GetUserData, GetUserData), at the offset (ReadConstBuffer@0xe0c & mask) << shift. The constant-buffer read's own offset is built from another constant-buffer read, times a loop counter.
  • With #757 + #758 (head cad61e9a7), planning succeeds. An offline replay of the captured request then stops only where the capture has no memory (descriptor evaluation), as any draw/dispatch capture does.

Tested by replaying the dumped request (APS5_DUMP_SHADERS=1) with agc_shader_replay. The passing build was main 6dbc0ea6 with #757 + #758 merged on top of the tessellation stack #4082…#4222, which doesn't touch resource planning. Our earlier Yōtei builds carried #757 and #758 as local picks. In those builds this shader compiles (≈795k SPIR-V words), and the game runs past it into the title-scene load and up to the tessellated terrain draw.

I can't attach the request because it contains the title's shader code, but I'm happy to run any other checks against it.

(AI-assisted: written with Claude.)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6121313799 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6121313799). Originally posted by [Pipodi](https://github.com/Pipodi) on 2026-10-12T09:17:43Z. --- Data point from Ghost of Yōtei (PPSA26344): the title can't get past its first large compute dispatch on current `main` without this PR. Compute shader `0x800027c200` (4,472 code words, wave64, 8×8×1, issued about 30 s after launch) fails resource planning on `main`, and the exception aborts the process (`SIGABRT` from a driver worker thread): - `main` 436e310dd, Oct 9 `main` d70b89989 and Oct 11 `main` 0f863c102, all without #757: `GetImageResource dword 0 is not a valid runtime value`, at a `ReadConstBuffer` at pc `0xdc0`. - With #757 (`753c29396`) alone, planning gets further and refuses the descriptor loaded through the 64-bit user-data pointer: dword 0 is `LoadAddressU32` at pc `0xe58` from `GetAddressResource(GetUserData, GetUserData)`, at the offset `(ReadConstBuffer@0xe0c & mask) << shift`. The constant-buffer read's own offset is built from another constant-buffer read, times a loop counter. - With #757 + #758 (head `cad61e9a7`), planning succeeds. An offline replay of the captured request then stops only where the capture has no memory (descriptor evaluation), as any draw/dispatch capture does. Tested by replaying the dumped request (`APS5_DUMP_SHADERS=1`) with `agc_shader_replay`. The passing build was `main` 6dbc0ea6 with #757 + #758 merged on top of the tessellation stack #4082…#4222, which doesn't touch resource planning. Our earlier Yōtei builds carried #757 and #758 as local picks. In those builds this shader compiles (≈795k SPIR-V words), and the game runs past it into the title-scene load and up to the tessellated terrain draw. I can't attach the request because it contains the title's shader code, but I'm happy to run any other checks against it. (AI-assisted: written with Claude.)
Mouhand-Kaddo commented 2026-10-12 09:34:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Mouhand-Kaddo on 2026-10-12T09:34:46Z.


Linux test findings for #757 (753c29396e4d0c790c6faae216f94fcdc5eda5ca) + this PR (cad61e9a744474d98b25ee2f2f35de864f31441d), integrated locally onto main c36fd0a0eb57c01866befd370c88329ca42df759. Hardware is RX 6900 XT / RADV Mesa 26.2.4. These results are from that current-main integration, not a clean checkout of the PR branch.

All 17 captured Demon's Souls shader requests still fail resource analysis with GetImageResource dword 0 is not a valid runtime value. I minimized the first request (0x2489bea00, 408 code words) and instrumented TryMakeTableColumn:

  • The first s_load_dwordx4 at guest PC 0x288 produces metadata offsets 0,4,8,12 and dynamic offset (key << 5) + 0x6b0.
  • The second load at 0x290 produces metadata offsets 0,4,8,12, but its dynamic offset is 16 + ((key << 5) + 0x6b0).
  • Lane 4 is rejected because memory->offset is 0 rather than the required 16. The later equivalent-dynamic-offset check would also reject this split-load encoding.

ResourceTracker.cpp and ScalarBufferInstructions.cpp in this reproduction are byte-identical to this PR head. Planning executes, and the rejection occurs before registration/module materialization. Any normalization needs to preserve U32 offset wrapping, rather than silently converting the second load's wrapped addition into a 64-bit carry.

Nine of ten focused table/resource/cache/graphics/optimizer checks pass after supplying writable temporary storage. The remaining agc_driver_image_table test crashes in RADV at the first graphics-table draw. Debugger evidence identifies a separate integration issue: current main's split graphics-pipeline-library path omits set 0 from a fragment library even when that fragment reads the new shared ImageTable in set 0. Preserving both sets in a debugger-only experiment makes the whole runtime test pass; a production fix must also include the shared set in the fragment-library cache key. This GPL interaction is absent from the PR branch's original full-layout path, so I am not attributing it to clean upstream PR execution.

No main-menu success is claimed. No validation or fault assertions were disabled. Testing performed with AI assistance.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6121595912 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6121595912). Originally posted by [Mouhand-Kaddo](https://github.com/Mouhand-Kaddo) on 2026-10-12T09:34:46Z. --- Linux test findings for #757 (`753c29396e4d0c790c6faae216f94fcdc5eda5ca`) + this PR (`cad61e9a744474d98b25ee2f2f35de864f31441d`), integrated locally onto main `c36fd0a0eb57c01866befd370c88329ca42df759`. Hardware is RX 6900 XT / RADV Mesa 26.2.4. These results are from that current-main integration, not a clean checkout of the PR branch. All 17 captured Demon's Souls shader requests still fail resource analysis with `GetImageResource dword 0 is not a valid runtime value`. I minimized the first request (`0x2489bea00`, 408 code words) and instrumented `TryMakeTableColumn`: - The first `s_load_dwordx4` at guest PC `0x288` produces metadata offsets `0,4,8,12` and dynamic offset `(key << 5) + 0x6b0`. - The second load at `0x290` produces metadata offsets `0,4,8,12`, but its dynamic offset is `16 + ((key << 5) + 0x6b0)`. - Lane 4 is rejected because `memory->offset` is `0` rather than the required `16`. The later equivalent-dynamic-offset check would also reject this split-load encoding. `ResourceTracker.cpp` and `ScalarBufferInstructions.cpp` in this reproduction are byte-identical to this PR head. Planning executes, and the rejection occurs before registration/module materialization. Any normalization needs to preserve U32 offset wrapping, rather than silently converting the second load's wrapped addition into a 64-bit carry. Nine of ten focused table/resource/cache/graphics/optimizer checks pass after supplying writable temporary storage. The remaining `agc_driver_image_table` test crashes in RADV at the first graphics-table draw. Debugger evidence identifies a separate integration issue: current main's split graphics-pipeline-library path omits set 0 from a fragment library even when that fragment reads the new shared ImageTable in set 0. Preserving both sets in a debugger-only experiment makes the whole runtime test pass; a production fix must also include the shared set in the fragment-library cache key. This GPL interaction is absent from the PR branch's original full-layout path, so I am not attributing it to clean upstream PR execution. No main-menu success is claimed. No validation or fault assertions were disabled. Testing performed with AI assistance.
Mouhand-Kaddo commented 2026-10-12 12:20:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Mouhand-Kaddo on 2026-10-12T12:20:52Z.


Linux follow-up for the tested head cad61e9a744474d98b25ee2f2f35de864f31441d. Demon's Souls (PPSA01342) reached the main menu, with New Game and Settings visible in a native emulator frame and interaction confirmed by the user. Selecting New Game then produced a black screen; gameplay is not validated.

This was a combined integration stack: public-main snapshot c36fd0a0eb57c01866befd370c88329ca42df759, ported #757/#758, #4288, #3991, #4402, the descriptor-layout fix now in #4456, and a local split-descriptor-load correction. It is not an isolated success claim for this PR. The final menu run used GDB to investigate an earlier buffer descriptor uses an unsupported type abort. That earlier failure remains undiagnosed.

The local follow-up recognizes the exact two-four-word image load and preserves each group's U32 offset wrapping during materialization. It does not bypass descriptor-type validation. I am retaining this small dependent patch until the table-support parents land, rather than duplicating them in an own main-target PR.

Reproduction detail: the title run temporarily raised Linux udmabuf size_limit_mb from 64 to 2048 because larger GPU imports failed at the default limit. The user restored 64 afterward and readback confirmed it. Default shader optimization remained enabled. RX 6900 XT/RADV was receiving GPU work; CPU shader compilation was a major startup bottleneck. Game assets were accessed through an enforced read-only view of the Windows gaming drive, without copying the game or changing its inputs. Disposable test caches have now been removed. AI-assisted testing/report.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6124153076 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6124153076). Originally posted by [Mouhand-Kaddo](https://github.com/Mouhand-Kaddo) on 2026-10-12T12:20:52Z. --- Linux follow-up for the tested head `cad61e9a744474d98b25ee2f2f35de864f31441d`. Demon's Souls (PPSA01342) reached the main menu, with New Game and Settings visible in a native emulator frame and interaction confirmed by the user. Selecting New Game then produced a black screen; gameplay is not validated. This was a combined integration stack: public-main snapshot `c36fd0a0eb57c01866befd370c88329ca42df759`, ported #757/#758, #4288, #3991, #4402, the descriptor-layout fix now in #4456, and a local split-descriptor-load correction. It is not an isolated success claim for this PR. The final menu run used GDB to investigate an earlier `buffer descriptor uses an unsupported type` abort. That earlier failure remains undiagnosed. The local follow-up recognizes the exact two-four-word image load and preserves each group's U32 offset wrapping during materialization. It does not bypass descriptor-type validation. I am retaining this small dependent patch until the table-support parents land, rather than duplicating them in an own main-target PR. Reproduction detail: the title run temporarily raised Linux `udmabuf` `size_limit_mb` from 64 to 2048 because larger GPU imports failed at the default limit. The user restored 64 afterward and readback confirmed it. Default shader optimization remained enabled. RX 6900 XT/RADV was receiving GPU work; CPU shader compilation was a major startup bottleneck. Game assets were accessed through an enforced read-only view of the Windows gaming drive, without copying the game or changing its inputs. Disposable test caches have now been removed. AI-assisted testing/report.
Pipodi commented 2026-10-12 12:59:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Pipodi on 2026-10-12T12:59:21Z.


@Celegans12, a follow-up to the Yōtei data above: two more record layouts that Yōtei uses with these tables are now in #4475, a draft stacked on this PR (only its top two commits are new):

  • Records that hold a pointer to the T#: the shader reads a 64-bit pointer from each record, then the T# at an immediate offset behind it (compute shader 0x8000333c00, in a waterfall loop).
  • A T# split over two loads of its record: dwords 0-3 from one s_buffer_load, dwords 4-7 from another at an immediate addend (pixel shader 0x8000296000).

Each commit has an execution test in ImageTable.cpp that fails on this PR alone and passes with the commit; the full suite passes (933/933). If you'd rather fold them into #758, take them as they are and I'll close #4475. Otherwise it can wait until this merges.

(AI-assisted: written with Claude.)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6124755749 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6124755749). Originally posted by [Pipodi](https://github.com/Pipodi) on 2026-10-12T12:59:21Z. --- @Celegans12, a follow-up to the Yōtei data above: two more record layouts that Yōtei uses with these tables are now in #4475, a draft stacked on this PR (only its top two commits are new): - **Records that hold a pointer to the T#:** the shader reads a 64-bit pointer from each record, then the T# at an immediate offset behind it (compute shader `0x8000333c00`, in a waterfall loop). - **A T# split over two loads of its record:** dwords 0-3 from one `s_buffer_load`, dwords 4-7 from another at an immediate addend (pixel shader `0x8000296000`). Each commit has an execution test in `ImageTable.cpp` that fails on this PR alone and passes with the commit; the full suite passes (933/933). If you'd rather fold them into #758, take them as they are and I'll close #4475. Otherwise it can wait until this merges. (AI-assisted: written with Claude.)
Mouhand-Kaddo commented 2026-10-12 21:23:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Mouhand-Kaddo on 2026-10-12T21:23:03Z.


Retest on Linux using updated #4456 head 4f5f6d671cdb0ffd3a9c43eedbdf03e433e80ebe as the integration base. Its six focused PR checks pass three times each; the previous null-shader-module mock failure is reproduced on its parent and fixed on this head.

The title support stack remains #757/#758/#4288/#3991/#4402 plus the local grouped split-load correction. Five integration shader/graphics checks pass. Demon's Souls PPSA01342 rendered language/display settings and the online/offline prompt, then aborted with exit 134:

[videoout] presentation failed: compute shader 0x2489fbb00: runtime image descriptor is invalid

This run did not verify main menu. The earlier c36-based integration did reach it. I have not isolated which rebased-stack change causes the descriptor failure, so this is not a regression attribution to this PR. No memory guard/OOM event stopped the run. One brief debugger snapshot was taken during startup, then detached.

The temporary Linux udmabuf limit was again 2048 MiB for the title run and is now verified back at 64. Assets were read directly through an enforced read-only view of the Windows gaming drive, without copying the game. Original input hashes and timestamps are unchanged. AI-assisted testing/report.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6132858228 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6132858228). Originally posted by [Mouhand-Kaddo](https://github.com/Mouhand-Kaddo) on 2026-10-12T21:23:03Z. --- Retest on Linux using updated #4456 head `4f5f6d671cdb0ffd3a9c43eedbdf03e433e80ebe` as the integration base. Its six focused PR checks pass three times each; the previous null-shader-module mock failure is reproduced on its parent and fixed on this head. The title support stack remains #757/#758/#4288/#3991/#4402 plus the local grouped split-load correction. Five integration shader/graphics checks pass. Demon's Souls PPSA01342 rendered language/display settings and the online/offline prompt, then aborted with exit 134: ```text [videoout] presentation failed: compute shader 0x2489fbb00: runtime image descriptor is invalid ``` This run did not verify main menu. The earlier c36-based integration did reach it. I have not isolated which rebased-stack change causes the descriptor failure, so this is not a regression attribution to this PR. No memory guard/OOM event stopped the run. One brief debugger snapshot was taken during startup, then detached. The temporary Linux udmabuf limit was again 2048 MiB for the title run and is now verified back at 64. Assets were read directly through an enforced read-only view of the Windows gaming drive, without copying the game. Original input hashes and timestamps are unchanged. AI-assisted testing/report.
Dextroid17 commented 2026-10-13 02:00:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Dextroid17 on 2026-10-13T02:00:32Z.


Follow-up to my #757 measurement on Ghost of Yotei (PPSA26344), llvmpipe (LLVM 23.1.1) through lavapipe, no AMD hardware.

With #757 alone the run stopped at compute shader 0x800027c200 (GetImageResource dword 0 is not a valid runtime value, chain starting at LoadAddressU32 on a GetAddressResource pointer). With this PR's patch added on top of the #757 stack (on main 510a2188c; my local copy is 59b01c495, cherry-picked from 1ff81c241, the same patch as head cad61e9a7 per git range-diff), 0x800027c200 appears in 0 log lines instead of 3, the build has no warnings or errors (ctest not run), and the run reaches a new stop:

compute shader 0x8000376e00: samples or gathers an sRGB image the device cannot sample, which is not implemented

Notes:

  • The cherry-pick alone left two conflicts: core/shader/recompiler/ShaderDiskCache.cpp (the static_assert sizes) and docs/dev/TechnicalDebt.md. Merging the PR head cad61e9a7 into that stack conflicted in 21 files, and the PR currently shows as conflicting with main.
  • After the cherry-pick the assertions still read 176 and 384. I set ShaderInvocation to 200 and RecompileResult to 408 for this run (local commit, not in the PR); the build fails otherwise.
  • The new stop matches the "Samples and gathers of 8_SRGB and 8_8_SRGB textures" entry in docs/dev/debt/shader.md. I have not yet checked whether this title's shader needs a translation that is still missing.

One stop on one device; the title does not reach gameplay.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6136459664 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6136459664). Originally posted by [Dextroid17](https://github.com/Dextroid17) on 2026-10-13T02:00:32Z. --- Follow-up to my #757 measurement on Ghost of Yotei (PPSA26344), llvmpipe (LLVM 23.1.1) through lavapipe, no AMD hardware. With #757 alone the run stopped at compute shader `0x800027c200` (`GetImageResource dword 0 is not a valid runtime value`, chain starting at `LoadAddressU32` on a `GetAddressResource` pointer). With this PR's patch added on top of the #757 stack (on `main` `510a2188c`; my local copy is `59b01c495`, cherry-picked from `1ff81c241`, the same patch as head `cad61e9a7` per `git range-diff`), `0x800027c200` appears in 0 log lines instead of 3, the build has no warnings or errors (ctest not run), and the run reaches a new stop: ``` compute shader 0x8000376e00: samples or gathers an sRGB image the device cannot sample, which is not implemented ``` Notes: - The cherry-pick alone left two conflicts: `core/shader/recompiler/ShaderDiskCache.cpp` (the `static_assert` sizes) and `docs/dev/TechnicalDebt.md`. Merging the PR head `cad61e9a7` into that stack conflicted in 21 files, and the PR currently shows as conflicting with `main`. - After the cherry-pick the assertions still read 176 and 384. I set `ShaderInvocation` to 200 and `RecompileResult` to 408 for this run (local commit, not in the PR); the build fails otherwise. - The new stop matches the "Samples and gathers of 8_SRGB and 8_8_SRGB textures" entry in `docs/dev/debt/shader.md`. I have not yet checked whether this title's shader needs a translation that is still missing. One stop on one device; the title does not reach gameplay.
Celegans12 commented 2026-10-13 02:27:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-13T02:27:40Z.


I've restacked this on the reworked #757 and main 37dd4830. The child commit itself is unchanged, apart from two things: pointer tables now read their records in runs like the buffer tables, and the disk format moved to 30. That's because #757 now takes 29 after main took 28. Most of what changed is in #757, and I've summarised it there.

@Mouhand-Kaddo, thanks for minimising the Demon's Souls request. Your two-load case is real: the second s_load_dwordx4 at 16 + ((key << 5) + 0x6b0) is refused because the column wants a single offset expression. @Pipodi's split-load commit in #4475 handles it. I put its tracker change on this head together with your regression test (5f1f0b929). Your test passes with it and fails without it, with the same GetImageResource dword 0 refusal you saw. I didn't check your point about U32 wrapping in that commit separately. Pipodi, could you have a look whether peeling the immediate keeps the 32-bit wrap of the second load's offset? Your fragment-library finding (the table in set 0 dropped from a split fragment library) should be covered twice now. main has your #4456, and #757 puts a fragment stage's table in the fragment set when the sets are split, following @tv7's rebase. The runtime image descriptor is invalid stop on 0x2489fbb00 might be something main fixed on the 11th: 7b9c7ca5 and 37003b7a stop validating images behind a branch the capture doesn't take. Your c36fd0a0 base and #4456's head predate both. I can't run the title, so that's only a guess.

@Pipodi, thanks for #4475 and the Yōtei data. I'd like to keep this PR as it is while #757 is still in review, so I haven't folded #4475 in. One heads-up: the rework of the record reader in #757 will conflict with your first commit in ResourceMaterializer.cpp. Your second commit applies cleanly apart from its test file. I'm glad to rebase #4475 for you once #757 settles, if that helps. For what it's worth, our Yōtei branch has been running your split-load commit since Sunday, and the title gets past the pixel shader at 0x8000296000 with it.

Details
  • Windows NVIDIA (RTX 3080 Laptop): 1,023/1,024 pass; log_macros fails on main too.
  • Linux (upstream's job in WSL, lavapipe), merged with main 0c3dc9ca: 1,006/1,007 pass; agc_driver_depth_compare_copy fails on main too.
  • After the last rebase, the table, bindless, shader-memory, disk-cache, depth and graphics tests, merged with main 495bf91a on Linux: 15/16 pass, and the one failure is the same agc_driver_depth_compare_copy.
  • Split-load check: this head plus the ResourceTracker.cpp part of #4475's split-load commit plus 5f1f0b929: agc_shader_memory and agc_shader_bindless pass. Without the tracker part, both fail on GetImageResource dword 0 is not a valid runtime value at LoadAddressU32@pc=0x34.
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6136869221 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6136869221). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-13T02:27:40Z. --- I've restacked this on the reworked #757 and `main` 37dd4830. The child commit itself is unchanged, apart from two things: pointer tables now read their records in runs like the buffer tables, and the disk format moved to 30. That's because #757 now takes 29 after `main` took 28. Most of what changed is in #757, and I've summarised it there. @Mouhand-Kaddo, thanks for minimising the Demon's Souls request. Your two-load case is real: the second `s_load_dwordx4` at `16 + ((key << 5) + 0x6b0)` is refused because the column wants a single offset expression. @Pipodi's split-load commit in #4475 handles it. I put its tracker change on this head together with your regression test (`5f1f0b929`). Your test passes with it and fails without it, with the same `GetImageResource dword 0` refusal you saw. I didn't check your point about U32 wrapping in that commit separately. Pipodi, could you have a look whether peeling the immediate keeps the 32-bit wrap of the second load's offset? Your fragment-library finding (the table in set 0 dropped from a split fragment library) should be covered twice now. `main` has your #4456, and #757 puts a fragment stage's table in the fragment set when the sets are split, following @tv7's rebase. The `runtime image descriptor is invalid` stop on 0x2489fbb00 might be something `main` fixed on the 11th: 7b9c7ca5 and 37003b7a stop validating images behind a branch the capture doesn't take. Your c36fd0a0 base and #4456's head predate both. I can't run the title, so that's only a guess. @Pipodi, thanks for #4475 and the Yōtei data. I'd like to keep this PR as it is while #757 is still in review, so I haven't folded #4475 in. One heads-up: the rework of the record reader in #757 will conflict with your first commit in `ResourceMaterializer.cpp`. Your second commit applies cleanly apart from its test file. I'm glad to rebase #4475 for you once #757 settles, if that helps. For what it's worth, our Yōtei branch has been running your split-load commit since Sunday, and the title gets past the pixel shader at 0x8000296000 with it. <details><summary>Details</summary> - Windows NVIDIA (RTX 3080 Laptop): 1,023/1,024 pass; `log_macros` fails on `main` too. - Linux (upstream's job in WSL, lavapipe), merged with `main` 0c3dc9ca: 1,006/1,007 pass; `agc_driver_depth_compare_copy` fails on `main` too. - After the last rebase, the table, bindless, shader-memory, disk-cache, depth and graphics tests, merged with `main` 495bf91a on Linux: 15/16 pass, and the one failure is the same `agc_driver_depth_compare_copy`. - Split-load check: this head plus the `ResourceTracker.cpp` part of #4475's split-load commit plus `5f1f0b929`: `agc_shader_memory` and `agc_shader_bindless` pass. Without the tracker part, both fail on `GetImageResource dword 0 is not a valid runtime value` at `LoadAddressU32@pc=0x34`. </details>
Dextroid17 commented 2026-10-13 03:25:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Dextroid17 on 2026-10-13T03:25:00Z.


Update to my measurement above: the PR head is now 6ac700240 (my run used cad61e9a7), and GitHub no longer reports a conflict with main. So the "currently shows as conflicting" line in my comment is out of date. My numbers describe the old heads (#757 at 8945fe208, this PR at cad61e9a7); I have not re-run them on the new heads.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6137504424 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6137504424). Originally posted by [Dextroid17](https://github.com/Dextroid17) on 2026-10-13T03:25:00Z. --- Update to my measurement above: the PR head is now `6ac700240` (my run used `cad61e9a7`), and GitHub no longer reports a conflict with `main`. So the "currently shows as conflicting" line in my comment is out of date. My numbers describe the old heads (#757 at `8945fe208`, this PR at `cad61e9a7`); I have not re-run them on the new heads.
fdfawef324 commented 2026-10-13 05:03:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by fdfawef324 on 2026-10-13T05:03:03Z.


I rebased integ/pr758-rebased (#757 and #758) onto main 377959777. It is still your two commits, ea852066f and 4f25449cb, with your authorship. The rebase line in each message still names 37dd48308, the base the full test run below was done on; the last rebase to 377959777 had no conflicts, and the graphics and image-table tests pass on it.

Conflicts. In each case I kept both sides:

  • ShaderResources.cpp (#425): noteReusable keeps main's early return for textures refreshed per use and your exclusion of ImageTableMap from the refresh size limit. Table textures are in textures too, and a table that holds a depth surface is never reused.
  • ShaderDiskCache.hpp (#4031): main is at format 28, so your commits now go to 29 and then 30.
  • DepthSurface.cpp (#2491): main's drawnDepth and your surfacesSerial are both kept.
  • ShaderValidation.cpp (#4381): main's aliased-view array check is kept, with ImageTableMap added to its role list.
  • #4267 merged cleanly. 8-bit UNORM color compare returns zero, and table images still refuse color compare.

The descriptor-pool leak fixed earlier is still fixed. If allocateSet assigns the pool only after allocation succeeds, agc_driver_graphics fails with "a failed main set allocation leaked its descriptor pool". With the fix in place, it passes. The libSceAgcDriver debt entry now says that the halved table capacity applies to every pipeline on a GPL device.

Tests (Windows Server 2025, RTX 3060, GCC 15.2; Linux not built): the 13 touched tests pass, including both emulated_color_compare tests. In ctest -R ^agc_, 453 tests ran: 440 pass and 1 is skipped. The 12 failures are the 9 known ones on main (flat_loads*, global_loads*, flat_apertures_2/_5, pixel_interlock) and 3 load timeouts that pass when run alone.

Demon's Souls (PPSA01342) replay, agc_shader_replay --prepare over 83 requests: main 37dd48308 prepares 66 and fails 17 (GetImageResource dword 0 is not a valid runtime value). This branch prepares 83 and fails 0. Not tested with the title.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6138632679 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6138632679). Originally posted by [fdfawef324](https://github.com/fdfawef324) on 2026-10-13T05:03:03Z. --- I rebased `integ/pr758-rebased` (#757 and #758) onto `main` `377959777`. It is still your two commits, `ea852066f` and `4f25449cb`, with your authorship. The rebase line in each message still names `37dd48308`, the base the full test run below was done on; the last rebase to `377959777` had no conflicts, and the graphics and image-table tests pass on it. **Conflicts.** In each case I kept both sides: - `ShaderResources.cpp` (#425): `noteReusable` keeps `main`'s early return for textures refreshed per use and your exclusion of `ImageTableMap` from the refresh size limit. Table textures are in `textures` too, and a table that holds a depth surface is never reused. - `ShaderDiskCache.hpp` (#4031): `main` is at format 28, so your commits now go to 29 and then 30. - `DepthSurface.cpp` (#2491): `main`'s `drawnDepth` and your `surfacesSerial` are both kept. - `ShaderValidation.cpp` (#4381): `main`'s aliased-view `array` check is kept, with `ImageTableMap` added to its role list. - #4267 merged cleanly. 8-bit UNORM color compare returns zero, and table images still refuse color compare. **The descriptor-pool leak fixed earlier is still fixed.** If `allocateSet` assigns the pool only after allocation succeeds, `agc_driver_graphics` fails with "a failed main set allocation leaked its descriptor pool". With the fix in place, it passes. The libSceAgcDriver debt entry now says that the halved table capacity applies to every pipeline on a GPL device. **Tests** (Windows Server 2025, RTX 3060, GCC 15.2; Linux not built): the 13 touched tests pass, including both `emulated_color_compare` tests. In `ctest -R ^agc_`, 453 tests ran: 440 pass and 1 is skipped. The 12 failures are the 9 known ones on `main` (`flat_loads*`, `global_loads*`, `flat_apertures_2`/`_5`, `pixel_interlock`) and 3 load timeouts that pass when run alone. **Demon's Souls (PPSA01342) replay**, `agc_shader_replay --prepare` over 83 requests: `main` `37dd48308` prepares 66 and fails 17 (`GetImageResource dword 0 is not a valid runtime value`). This branch prepares 83 and fails 0. Not tested with the title.
Dextroid17 commented 2026-10-13 11:33:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Dextroid17 on 2026-10-13T11:33:03Z.


@Celegans12 an update to my earlier note that GitHub no longer reported a conflict: it does again, after those PRs merged. On head 6ac700240, GitHub shows #758 as conflicting with main, and #757 (head f99f5ecdc) as well.

I checked with git merge-tree of 6ac700240 against main e99a1b0aa, which is 284 commits past your base 37dd48308. It reports 4 content conflicts, and I did not build the result:

  • Graphics/include/Pipeline.hpp: #3763 (dynamic rendering layers) and #423 (clip and cull distances).
  • Graphics/src/Draw.cpp: #4082 (yours), #3763, #423 and #3471.
  • Graphics/src/ShaderValidation.cpp: #4082 (yours), #3763 and #423.
  • SpirvBackend/src/SpirvImageEmitter.cpp: #1418 (sample the base level through unnormalized samplers).

The file lists come from git log --first-parent on each path since 37dd48308; I did not check which hunk of each PR collides.

I have not re-run my Ghost of Yotei measurement on the new heads.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6144600078 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6144600078). Originally posted by [Dextroid17](https://github.com/Dextroid17) on 2026-10-13T11:33:03Z. --- @Celegans12 an update to my earlier note that GitHub no longer reported a conflict: it does again, after those PRs merged. On head `6ac700240`, GitHub shows #758 as conflicting with `main`, and #757 (head `f99f5ecdc`) as well. I checked with `git merge-tree` of `6ac700240` against `main` `e99a1b0aa`, which is 284 commits past your base `37dd48308`. It reports 4 content conflicts, and I did not build the result: - `Graphics/include/Pipeline.hpp`: #3763 (dynamic rendering layers) and #423 (clip and cull distances). - `Graphics/src/Draw.cpp`: #4082 (yours), #3763, #423 and #3471. - `Graphics/src/ShaderValidation.cpp`: #4082 (yours), #3763 and #423. - `SpirvBackend/src/SpirvImageEmitter.cpp`: #1418 (sample the base level through unnormalized samplers). The file lists come from `git log --first-parent` on each path since `37dd48308`; I did not check which hunk of each PR collides. I have not re-run my Ghost of Yotei measurement on the new heads.
Celegans12 commented 2026-10-13 13:05:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-13T13:05:54Z.


@Dextroid17 thanks for the conflict list, it saved me the digging. I've rebased both PRs onto main 0f2683cb. #757 is now 8ca1d7acda and this one is 2a41853aea. The child commit itself is unchanged.

Three of your four conflicts had the same cause. #757 adds a runtimeDescriptorArray flag to ValidateShaders and Inspect, and #423 and #3763 added shaderCullDistance and viewportIndexLayer to the same signatures. I kept main's parameters and put ours after them. The SPIR-V extension check now accepts both the viewport-layer extension and descriptor indexing under the runtime-array flag. In SpirvImageEmitter.cpp, #1418 added an opcode parameter to the emitSample lambda, and #757 drops the slot argument from MakeSampledImage, so I kept both changes. #1418's base-level path is chosen per sampler. ProveUnnormalized skips table samplers, so their constant stays 0 and they sample as before. An unnormalized S# in a table entry still faults when a lane selects it.

While I was at it, #1359 landed and added a fifth conflict in ShaderResources.cpp. That one needed a real change. #1359 waits for overlapping copied CPU writes before a direct image is accepted, and table entries would have skipped that wait. They now wait the same way, both when a table is resolved and when a cached table is reused. Disk formats stay 29 and 30, since main is still on 28, and the runtime ABI stays 12.

I haven't re-run Yōtei on these heads yet.

Details
  • Windows NVIDIA (RTX 3080 Laptop), on this PR's head: 1,071/1,072 pass. log_macros fails on main too.
  • Linux (upstream's job in WSL, lavapipe), merged with main 0f2683cb: 1,053/1,055 pass. agc_driver_depth_compare_copy and guest_math fail on main too. I checked guest_math on the same main.
  • #757 on its own, Windows NVIDIA: the table, bindless, shader-memory, disk-cache, graphics, depth and unnormalized-sampler tests pass, plus #1359's agc_copied_direct_ordering. 19/19 pass on this head too.
  • The +/- lines of both commits match the pre-rebase ones, apart from the validation lines above and three CompletePendingCpuWrites lines in resolveImageTables.
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6146222713 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6146222713). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-13T13:05:54Z. --- @Dextroid17 thanks for the conflict list, it saved me the digging. I've rebased both PRs onto `main` 0f2683cb. #757 is now 8ca1d7acda and this one is 2a41853aea. The child commit itself is unchanged. Three of your four conflicts had the same cause. #757 adds a `runtimeDescriptorArray` flag to `ValidateShaders` and `Inspect`, and #423 and #3763 added `shaderCullDistance` and `viewportIndexLayer` to the same signatures. I kept `main`'s parameters and put ours after them. The SPIR-V extension check now accepts both the viewport-layer extension and descriptor indexing under the runtime-array flag. In `SpirvImageEmitter.cpp`, #1418 added an opcode parameter to the `emitSample` lambda, and #757 drops the slot argument from `MakeSampledImage`, so I kept both changes. #1418's base-level path is chosen per sampler. `ProveUnnormalized` skips table samplers, so their constant stays 0 and they sample as before. An unnormalized S# in a table entry still faults when a lane selects it. While I was at it, #1359 landed and added a fifth conflict in `ShaderResources.cpp`. That one needed a real change. #1359 waits for overlapping copied CPU writes before a direct image is accepted, and table entries would have skipped that wait. They now wait the same way, both when a table is resolved and when a cached table is reused. Disk formats stay 29 and 30, since `main` is still on 28, and the runtime ABI stays 12. I haven't re-run Yōtei on these heads yet. <details><summary>Details</summary> - Windows NVIDIA (RTX 3080 Laptop), on this PR's head: 1,071/1,072 pass. `log_macros` fails on `main` too. - Linux (upstream's job in WSL, lavapipe), merged with `main` 0f2683cb: 1,053/1,055 pass. `agc_driver_depth_compare_copy` and `guest_math` fail on `main` too. I checked `guest_math` on the same `main`. - #757 on its own, Windows NVIDIA: the table, bindless, shader-memory, disk-cache, graphics, depth and unnormalized-sampler tests pass, plus #1359's `agc_copied_direct_ordering`. 19/19 pass on this head too. - The +/- lines of both commits match the pre-rebase ones, apart from the validation lines above and three `CompletePendingCpuWrites` lines in `resolveImageTables`. </details>
fdfawef324 commented 2026-10-13 21:40:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by fdfawef324 on 2026-10-13T21:40:43Z.


Verified #758 with finite stencil-reference replay #5466 locally. The composition needs three adaptations:

  • Ignore only the backend-dead EXEC edge of non-table ImageSampleRaw, ImageGatherRaw or ImageQueryLod: operand 3, four arguments, U1, valid Image memory/image/sampler indices, both resources NoTable. Coordinate/handle/LOD edges, malformed metadata and table EXEC remain observed; existing safety gates remain strict.
  • Check ImageTable as well as GuestImages for DepthSurfaceAt feedback. Table entries can view live depth without StorageSource, escaping buffer/color checks. The native regression verifies refusal before guest color copyback.
  • Retain #758 layouts and replay proof/reserved-word metadata, and use a fresh cache format (31 in this composition; both standalone changes use 30). When optional #4806 file backing is composed too, keep prepared specialization's SharedSpirv Read() span scoped to its live owner instead of rehydrating Words().

Main at 0aa4cb1c2 has no ImageTable descriptor role; these adaptations belong to #758's model when it meets #5466.

CPU safety/cache tests pass; GPU readbacks pass with GPL and APS5_NO_GPL=1. Both new regressions have verified before/after results. Gameplay verification is separate.

GPUs tested: NVIDIA GeForce RTX 3060 12 GB, driver 591.86 (32.0.15.9186), Vulkan 1.4.325, Windows Server 2025 10.0.26100
AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6155778463 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6155778463). Originally posted by [fdfawef324](https://github.com/fdfawef324) on 2026-10-13T21:40:43Z. --- Verified #758 with finite stencil-reference replay #5466 locally. The composition needs three adaptations: - Ignore only the backend-dead EXEC edge of non-table ImageSampleRaw, ImageGatherRaw or ImageQueryLod: operand 3, four arguments, U1, valid Image memory/image/sampler indices, both resources NoTable. Coordinate/handle/LOD edges, malformed metadata and table EXEC remain observed; existing safety gates remain strict. - Check ImageTable as well as GuestImages for DepthSurfaceAt feedback. Table entries can view live depth without StorageSource, escaping buffer/color checks. The native regression verifies refusal before guest color copyback. - Retain #758 layouts and replay proof/reserved-word metadata, and use a fresh cache format (31 in this composition; both standalone changes use 30). When optional #4806 file backing is composed too, keep prepared specialization's SharedSpirv Read() span scoped to its live owner instead of rehydrating Words(). Main at 0aa4cb1c2 has no ImageTable descriptor role; these adaptations belong to #758's model when it meets #5466. CPU safety/cache tests pass; GPU readbacks pass with GPL and APS5_NO_GPL=1. Both new regressions have verified before/after results. Gameplay verification is separate. GPUs tested: NVIDIA GeForce RTX 3060 12 GB, driver 591.86 (32.0.15.9186), Vulkan 1.4.325, Windows Server 2025 10.0.26100 AI-assisted: yes
Celegans12 commented 2026-10-14 02:24:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-14T02:24:41Z.


I've restacked this on the reworked #757 and main ee9037d8. The base commit is byte-identical to #757's head, and the details of what changed there are in my reply on #757. Two things in this commit had to follow it. Pointer columns now use #757's shared columns, so reads with the same access shape share one column whose key bound is the widest of their keys. The front-end plans that #4883 stores on disk also keep each column's pointer flag and key bound, and agc_shader_disk_cache gained a pointer-table fixture so a plan like that round-trips. The disk format moves to 32, since #757 takes 31 after #4883; the runtime ABI stays 12.

@fdfawef324, thanks for working out how this composes with #5466. I haven't run #5466 on this head. One thing that did change is the numbering: on top of this head the composition would take format 33 instead of 31.

Details
  • Checks on this head: Windows NVIDIA (RTX 3080 Laptop): 1,113/1,114 pass; log_macros fails on main too. Linux (upstream's job in WSL, lavapipe), merged with main 016db923: 1,093/1,095 pass; agc_driver_bc_block_copy and agc_driver_depth_compare_copy fail on main 016db923 too.
  • Targeted Windows NVIDIA tests: agc_driver_image_table, _cache, _reuse, agc_driver_bindless_images, agc_driver_runtime_images, agc_shader_bindless, agc_shader_memory, agc_shader_disk_cache, agc_driver_graphics, agc_shader_device_profile: 10/10.
  • The pointer-table tests now check keyDomains/unkeyed instead of the old single key domain; their expectations didn't change.
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6159492882 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6159492882). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-14T02:24:41Z. --- I've restacked this on the reworked #757 and `main` ee9037d8. The base commit is byte-identical to #757's head, and the details of what changed there are in my reply on #757. Two things in this commit had to follow it. Pointer columns now use #757's shared columns, so reads with the same access shape share one column whose key bound is the widest of their keys. The front-end plans that #4883 stores on disk also keep each column's pointer flag and key bound, and `agc_shader_disk_cache` gained a pointer-table fixture so a plan like that round-trips. The disk format moves to 32, since #757 takes 31 after #4883; the runtime ABI stays 12. @fdfawef324, thanks for working out how this composes with #5466. I haven't run #5466 on this head. One thing that did change is the numbering: on top of this head the composition would take format 33 instead of 31. <details><summary>Details</summary> - Checks on this head: Windows NVIDIA (RTX 3080 Laptop): 1,113/1,114 pass; `log_macros` fails on `main` too. Linux (upstream's job in WSL, lavapipe), merged with `main` 016db923: 1,093/1,095 pass; `agc_driver_bc_block_copy` and `agc_driver_depth_compare_copy` fail on `main` 016db923 too. - Targeted Windows NVIDIA tests: `agc_driver_image_table`, `_cache`, `_reuse`, `agc_driver_bindless_images`, `agc_driver_runtime_images`, `agc_shader_bindless`, `agc_shader_memory`, `agc_shader_disk_cache`, `agc_driver_graphics`, `agc_shader_device_profile`: 10/10. - The pointer-table tests now check `keyDomains`/`unkeyed` instead of the old single key domain; their expectations didn't change. </details>
Celegans12 commented 2026-10-14 05:11:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-14T05:11:06Z.


I've restacked this on #757's new head 4dcf657a20, which adds size caps to the driver's resource and dispatch caches. This PR's own diff is unchanged, and the new head is 5595a163c0. On this head, which includes #757, Windows NVIDIA passes 1,114/1,115 (log_macros also fails on main), and upstream's Linux job merged with main 90d0cb48 passes 1,110/1,112 (agc_driver_bc_block_copy and agc_driver_depth_compare_copy also fail on main).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6161396096 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6161396096). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-14T05:11:06Z. --- I've restacked this on #757's new head 4dcf657a20, which adds size caps to the driver's resource and dispatch caches. This PR's own diff is unchanged, and the new head is 5595a163c0. On this head, which includes #757, Windows NVIDIA passes 1,114/1,115 (`log_macros` also fails on `main`), and upstream's Linux job merged with `main` 90d0cb48 passes 1,110/1,112 (`agc_driver_bc_block_copy` and `agc_driver_depth_compare_copy` also fail on `main`).
Celegans12 commented 2026-10-14 10:35:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-14T10:35:05Z.


I've restacked this on #757's new head e7faf20683 (rebased onto main c654b199), so the head is now a5c63d5249 and its own diff only moves the disk format to 33 (also in ARCHITECTURE.md) and the two size asserts. On this head, Windows NVIDIA passes 1,148/1,149 (log_macros also fails on main), and upstream's Linux job merged with main 23e93c05 passes 1,123/1,125 (agc_driver_bc_block_copy and agc_driver_depth_compare_copy also fail on main).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6166397042 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6166397042). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-14T10:35:05Z. --- I've restacked this on #757's new head e7faf20683 (rebased onto `main` c654b199), so the head is now a5c63d5249 and its own diff only moves the disk format to 33 (also in ARCHITECTURE.md) and the two size asserts. On this head, Windows NVIDIA passes 1,148/1,149 (`log_macros` also fails on `main`), and upstream's Linux job merged with `main` 23e93c05 passes 1,123/1,125 (`agc_driver_bc_block_copy` and `agc_driver_depth_compare_copy` also fail on `main`).
Celegans12 commented 2026-10-14 15:14:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Celegans12 on 2026-10-14T15:14:28Z.


I've restacked this on #757's new head d9e47d1e98 (rebased onto main 066b58fa), so the head is now 34525fdf7a. Its own diff hasn't changed, and the disk format is still 33. On this head, Windows NVIDIA passes 1,188 of 1,189 tests, and upstream's Linux job merged with main 84b01f9c passes 1,171 of 1,173; the failures there (log_macros, agc_driver_bc_block_copy, agc_driver_depth_compare_copy) are the same ones main has.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6171649803 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#issuecomment-6171649803). Originally posted by [Celegans12](https://github.com/Celegans12) on 2026-10-14T15:14:28Z. --- I've restacked this on #757's new head d9e47d1e98 (rebased onto `main` 066b58fa), so the head is now 34525fdf7a. Its own diff hasn't changed, and the disk format is still 33. On this head, Windows NVIDIA passes 1,188 of 1,189 tests, and upstream's Linux job merged with `main` 84b01f9c passes 1,171 of 1,173; the failures there (`log_macros`, `agc_driver_bc_block_copy`, `agc_driver_depth_compare_copy`) are the same ones `main` has.
adriadam10 commented 2026-10-14 15:34:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-14T15:34:49Z.

Review: APPROVED


Stacked on #757, reviewed together: see the review there (#758 head 34525fdf7a merged with #757 onto main 84b01f9cd, Linux RADV 572/573, the one failure also fails on main). The pointer cases in agc_driver_image_table, agc_shader_memory and agc_shader_disk_cache pass. Approving; it goes in after #757, each with the full Build dispatched on its final head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5520495722 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/758#pullrequestreview-5520495722). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-14T15:34:49Z. **Review:** APPROVED --- Stacked on #757, reviewed together: see the review there (#758 head 34525fdf7a merged with #757 onto `main` 84b01f9cd, Linux RADV 572/573, the one failure also fails on `main`). The pointer cases in `agc_driver_image_table`, `agc_shader_memory` and `agc_shader_disk_cache` pass. Approving; it goes in after #757, each with the full Build dispatched on its final head.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!758
No description provided.