feat(shader): sample converted unorm images in the shader #5958

Merged
ps54all merged 1 commit from upstream-pr/5958 into main 2026-10-18 22:24:10 +00:00
ps54all commented 2026-10-14 17:08:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ps54all on 2026-10-14T17:08:08Z.


What

image_sample on a 10_11_11_UNORM (format 30) image threw sampling, gathering or querying LOD of a converted unorm image is not implemented. The format has no Vulkan equivalent, so it is bound through an R32_UINT view that cannot be filtered. God of War Ragnarök (PPSA08330) stopped on a converted-image sample in compute shader 0x10527dd300, about 60 s in, after its MFSR setup (#5796) and the SINT D16 stores (#5899).

These samples now go through the emulation that color comparisons already use (EmitEmulatedCompareSample, renamed EmitEmulatedSample):

  • One texel (point) or four texels (bilinear) are fetched at LOD 0 through the R32_UINT view.

  • Each texel is decoded and swizzled like image_load (UnpackImageTexel), then blended. Bilinear weights are rounded to the hardware's 8-bit grid (roundEven(fraction * 256) / 256), as adriadam10 measured on gfx1035 in this PR.

  • The sampler state (point or bilinear, wrap or clamp-to-edge) reaches the shader through the existing comparison specialization words, or through the runtime metadata for registered shaders. EmulatedCompareState now fills it for these images (convertedSampleState), and the binding builder provides those words whenever the converted-sample mode is compiled in.

  • The tracker sets two new bits in emulatedCompare:

    • ConvertedSampleUnsupported for gathers and LOD queries;
    • ConvertedSampleRequiresSingleLevel for samples that are not _lz.

    RuntimeImageModes adds the converted UNORM mode for sampled images that these two bits do not exclude.

  • These cases still throw (rejectImage at decode, or when the sampler state is built):

    • gathers and LOD queries;
    • clamp-to-border and mirrored addressing;
    • other filters, min/max reduction, unnormalized coordinates;
    • images selected through an image table;
    • views other than 2D and 2D array;
    • several mip levels with a sample that is not _lz.
  • The R10_G11_B11 float format (43) is not part of this PR: since #7271 its sampled images use a lossless B10G11R11 copy and the hardware sampler. On the converted path (storage or packed images) a float sample keeps main's refusal.

Cost: none for a title that never samples this format. A shader gets the converted sample mode only once a converted descriptor reaches one of its sampled images:

  • GuestContext::convertedSamples adds it (ImageResource::convertedSamples, set when the program is prepared). The flag is part of every cache key, the disk cache included.
  • Without the flag, a capture that meets a 10_11_11_UNORM descriptor in a sampled image that could take the mode throws ConvertedSampleRequired.
  • The driver (CaptureInvocation) records the program offset in the registered program's PreparedShaders, gets the invocation again (now with the flag, so the static key differs and the existing prepare-at-use path builds the new artifact) and repeats the capture. Recompile(request) retries the same way.
  • So such a shader is prepared twice per run; the record is not kept across runs (the debt entry says so).
  • The emulated color comparison emits the same scalar code as main.

Tested

  • Windows 11, RTX 3080 (NVIDIA 610.74), MinGW-w64 GCC 15.2.0 (winlibs), Release with BUILD_TESTING=ON, on main 91ddd9e3a (head 8545c2301).
  • agc_driver_image_converted_unorm:
    • Replaces the UNORM sample refusal with image_sample_lz checks: point and bilinear filtering, clamp-to-edge and wrap addressing, on-grid and off-grid steps, swizzles X Y Z 1, Z Y X 1 and X 0 1 1. Every component is compared against a decode-and-blend model with 8-bit-grid weights.
    • Main's float point-sampling checks (CheckFloatSample) are kept as they are. Clamp-to-border is refused. The gather and LOD-query refusals stay.
    • The test passes.
    • With the weight rounding removed it fails (off-grid wrapped bilinear image_sample_lz X Y Z 1: thread 2 component 0 is 0.994141, expected 0.992188). With the bilinear neighbours swapped it fails (bilinear image_sample_lz Z Y X 1: thread 0 component 0 is 0.000489, expected 0.000244).
    • It also checks that the sample shader prepared without the flag has no converted mode and with it has exactly one; that an artifact prepared without the flag does not match a request with it; and that a capture of a converted descriptor through it throws ConvertedSampleRequired, while one through the flagged artifact succeeds.
  • Full CTest: everything passes except pr_overlap_tools and check_main_sync (git 2.30 here lacks merge-tree --write-tree), guest_sce_net (DNS timeout) and agc_driver_bda_device, which fails the same way on plain main 91ddd9e3a (Vulkan result -4; #5859 on NVIDIA, fixed by #7571).
  • tools/check_conventions.py --base origin/main and tools/check_test_registration.py pass.
  • Earlier versions of this PR (before the rebase onto #7271): Hollow Knight: Silksong cold start, main against this branch, gave identical SPIR-V (2,500,691 words) and graphics pipeline creation within run-to-run noise. PPSA08330 got past the stop in 0x10527dd300 and ran to about 180 s, to an unrelated stop (runtime storage image mip capacity exceeded). Those runs used the version that also covered the float format and were not repeated after the rebase.
  • adriadam10 measured the weights and keravyn-ops ran the test on an AMD 780M (Windows); both on the earlier version.
  • Not tested: Linux (CI), a console.

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; no silent stubs added
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source (none)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: PPSA08330 past this stop (with #5796 and #5899)
  • GPUs tested: NVIDIA RTX 3080 (610.74)
  • AI-assisted: yes. Claude Code wrote the change and the test and ran them.

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4861534671 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958). Originally posted by [ps54all](https://github.com/ps54all) on 2026-10-14T17:08:08Z. --- ### What `image_sample` on a 10_11_11_UNORM (format 30) image threw `sampling, gathering or querying LOD of a converted unorm image is not implemented`. The format has no Vulkan equivalent, so it is bound through an R32_UINT view that cannot be filtered. God of War Ragnarök (PPSA08330) stopped on a converted-image sample in compute shader `0x10527dd300`, about 60 s in, after its MFSR setup (#5796) and the SINT D16 stores (#5899). These samples now go through the emulation that color comparisons already use (`EmitEmulatedCompareSample`, renamed `EmitEmulatedSample`): - One texel (point) or four texels (bilinear) are fetched at LOD 0 through the R32_UINT view. - Each texel is decoded and swizzled like `image_load` (`UnpackImageTexel`), then blended. Bilinear weights are rounded to the hardware's 8-bit grid (`roundEven(fraction * 256) / 256`), as adriadam10 measured on gfx1035 in this PR. - The sampler state (point or bilinear, wrap or clamp-to-edge) reaches the shader through the existing comparison specialization words, or through the runtime metadata for registered shaders. `EmulatedCompareState` now fills it for these images (`convertedSampleState`), and the binding builder provides those words whenever the converted-sample mode is compiled in. - The tracker sets two new bits in `emulatedCompare`: - `ConvertedSampleUnsupported` for gathers and LOD queries; - `ConvertedSampleRequiresSingleLevel` for samples that are not `_lz`. `RuntimeImageModes` adds the converted UNORM mode for sampled images that these two bits do not exclude. - These cases still throw (`rejectImage` at decode, or when the sampler state is built): - gathers and LOD queries; - clamp-to-border and mirrored addressing; - other filters, min/max reduction, unnormalized coordinates; - images selected through an image table; - views other than 2D and 2D array; - several mip levels with a sample that is not `_lz`. - The R10_G11_B11 float format (43) is not part of this PR: since #7271 its sampled images use a lossless B10G11R11 copy and the hardware sampler. On the converted path (storage or packed images) a float sample keeps main's refusal. Cost: none for a title that never samples this format. A shader gets the converted sample mode only once a converted descriptor reaches one of its sampled images: - `GuestContext::convertedSamples` adds it (`ImageResource::convertedSamples`, set when the program is prepared). The flag is part of every cache key, the disk cache included. - Without the flag, a capture that meets a 10_11_11_UNORM descriptor in a sampled image that could take the mode throws `ConvertedSampleRequired`. - The driver (`CaptureInvocation`) records the program offset in the registered program's `PreparedShaders`, gets the invocation again (now with the flag, so the static key differs and the existing prepare-at-use path builds the new artifact) and repeats the capture. `Recompile(request)` retries the same way. - So such a shader is prepared twice per run; the record is not kept across runs (the debt entry says so). - The emulated color comparison emits the same scalar code as main. ### Tested - Windows 11, RTX 3080 (NVIDIA 610.74), MinGW-w64 GCC 15.2.0 (winlibs), Release with `BUILD_TESTING=ON`, on main 91ddd9e3a (head 8545c2301). - `agc_driver_image_converted_unorm`: - Replaces the UNORM sample refusal with `image_sample_lz` checks: point and bilinear filtering, clamp-to-edge and wrap addressing, on-grid and off-grid steps, swizzles X Y Z 1, Z Y X 1 and X 0 1 1. Every component is compared against a decode-and-blend model with 8-bit-grid weights. - Main's float point-sampling checks (`CheckFloatSample`) are kept as they are. Clamp-to-border is refused. The gather and LOD-query refusals stay. - The test passes. - With the weight rounding removed it fails (`off-grid wrapped bilinear image_sample_lz X Y Z 1: thread 2 component 0 is 0.994141, expected 0.992188`). With the bilinear neighbours swapped it fails (`bilinear image_sample_lz Z Y X 1: thread 0 component 0 is 0.000489, expected 0.000244`). - It also checks that the sample shader prepared without the flag has no converted mode and with it has exactly one; that an artifact prepared without the flag does not match a request with it; and that a capture of a converted descriptor through it throws `ConvertedSampleRequired`, while one through the flagged artifact succeeds. - Full CTest: everything passes except `pr_overlap_tools` and `check_main_sync` (git 2.30 here lacks `merge-tree --write-tree`), `guest_sce_net` (DNS timeout) and `agc_driver_bda_device`, which fails the same way on plain main 91ddd9e3a (`Vulkan result -4`; #5859 on NVIDIA, fixed by #7571). - `tools/check_conventions.py --base origin/main` and `tools/check_test_registration.py` pass. - Earlier versions of this PR (before the rebase onto #7271): Hollow Knight: Silksong cold start, main against this branch, gave identical SPIR-V (2,500,691 words) and graphics pipeline creation within run-to-run noise. PPSA08330 got past the stop in `0x10527dd300` and ran to about 180 s, to an unrelated stop (`runtime storage image mip capacity exceeded`). Those runs used the version that also covered the float format and were not repeated after the rebase. - adriadam10 measured the weights and keravyn-ops ran the test on an AMD 780M (Windows); both on the earlier version. - Not tested: Linux (CI), a console. ### 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; no silent stubs added - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source (none) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: PPSA08330 past this stop (with #5796 and #5899) - [x] GPUs tested: NVIDIA RTX 3080 (610.74) - [x] AI-assisted: yes. Claude Code wrote the change and the test and ran them. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
CnRJay commented 2026-10-14 17:17:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-14T17:17:58Z.

Review: COMMENTED


Routing these samples through the existing compare emulation is a sensible way to get exact-format decoding without a Vulkan equivalent. The test is thorough: it fails when the bilinear neighbours are swapped.

The cost section is the part I'd like quantified, since it affects every title, not only those with converted formats: "a sampled image whose format is unknown at registration now also carries the converted modes in its runtime-mode switch", which is one more decode-and-blend path per sample instruction. Specialization folds the branch away at pipeline creation, but the module still grows. The driver parses and optimizes the larger module before dead-code elimination removes the unused path, so pipeline compile time rises for every registered shader with such samples. Earlier PRs that added arms to hot shader paths (#4322) were closed for exactly this kind of compile-time increase.

Two numbers would settle it:

  • the SPIR-V word count, and the vkCreate*Pipelines time for a few registered pixel shaders of a title that never uses 10_11_11 (any UE or Unity title), before and after;
  • or a cold-cache start of such a title with APS5_TRACE_SECONDS, comparing the shader-compile phases.

If the growth is significant, could the converted modes be added only once a converted descriptor has been seen for that shader, for example by preparing it again at that point? The cost would then fall only on titles that use the format.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5521827196 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#pullrequestreview-5521827196). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-10-14T17:17:58Z. **Review:** COMMENTED --- Routing these samples through the existing compare emulation is a sensible way to get exact-format decoding without a Vulkan equivalent. The test is thorough: it fails when the bilinear neighbours are swapped. The cost section is the part I'd like quantified, since it affects every title, not only those with converted formats: "a sampled image whose format is unknown at registration now also carries the converted modes in its runtime-mode switch", which is one more decode-and-blend path per sample instruction. Specialization folds the branch away at pipeline creation, but the module still grows. The driver parses and optimizes the larger module before dead-code elimination removes the unused path, so pipeline compile time rises for every registered shader with such samples. Earlier PRs that added arms to hot shader paths (#4322) were closed for exactly this kind of compile-time increase. Two numbers would settle it: - the SPIR-V word count, and the `vkCreate*Pipelines` time for a few registered pixel shaders of a title that never uses 10_11_11 (any UE or Unity title), before and after; - or a cold-cache start of such a title with `APS5_TRACE_SECONDS`, comparing the shader-compile phases. If the growth is significant, could the converted modes be added only once a converted descriptor has been seen for that shader, for example by preparing it again at that point? The cost would then fall only on titles that use the format.
jotitadev commented 2026-10-14 19:16:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-14T19:16:27Z.

Review: COMMENTED


Run on an Apple GPU, since the PR was tested only on an RTX 3080.

GPUs tested: Apple M2 Max, MoltenVK 1.4.2 (Vulkan 1.4.357), macOS 27.2, x86-64 under Rosetta

main does not run the GPU tests on macOS yet, so I tested on macos-port at b7eb6b6b (mugurc/AnyPS5) plus the ImportWatched change from #1, with this PR's own diff (merge-base..head 8338defe5) applied. Not main. Release build, LunarG Vulkan SDK 1.4.363.0. Suite: ctest -R "^agc" -E "agc_display_buffer_dcc|agc_driver_flip|agc_driver_lds_atomics64" -j1 --timeout 30. Without the PR, 13 tests fail on this setup (7 with the #2704 build), all known macOS failures listed in #1.

The diff does not apply cleanly to that branch. Two hunks conflict:

  • ResourceMaterializer.cpp: the branch has neither rejectImage/PoisonReason nor ImageResource::table.
  • SpirvImageEmitter.cpp: the branch still has the bindless-slot check.

I adapted them: the same new checks, written as throw, with indirectRoot != NoIndirectImage in place of table != NoTable, and the slot check kept. Treat this as an approximation of the PR, not the PR itself.

  • agc_driver_image_converted_unorm passes. That includes the new point and bilinear image_sample_lz checks with clamp-to-edge and wrap, and both formats.
  • With only the new test on the unchanged branch, it fails with samples or gathers a converted float image, or queries its LOD, which is not implemented. So the sample paths run on this device.
  • Suite: the same 13 failures with and without the PR. None new, none fixed.

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5523364120 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#pullrequestreview-5523364120). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-14T19:16:27Z. **Review:** COMMENTED --- Run on an Apple GPU, since the PR was tested only on an RTX 3080. GPUs tested: Apple M2 Max, MoltenVK 1.4.2 (Vulkan 1.4.357), macOS 27.2, x86-64 under Rosetta `main` does not run the GPU tests on macOS yet, so I tested on `macos-port` at `b7eb6b6b` (mugurc/AnyPS5) plus the `ImportWatched` change from #1, with this PR's own diff (merge-base..head `8338defe5`) applied. Not `main`. Release build, LunarG Vulkan SDK 1.4.363.0. Suite: `ctest -R "^agc" -E "agc_display_buffer_dcc|agc_driver_flip|agc_driver_lds_atomics64" -j1 --timeout 30`. Without the PR, 13 tests fail on this setup (7 with the #2704 build), all known macOS failures listed in #1. The diff does not apply cleanly to that branch. Two hunks conflict: - `ResourceMaterializer.cpp`: the branch has neither `rejectImage`/`PoisonReason` nor `ImageResource::table`. - `SpirvImageEmitter.cpp`: the branch still has the bindless-slot check. I adapted them: the same new checks, written as `throw`, with `indirectRoot != NoIndirectImage` in place of `table != NoTable`, and the slot check kept. Treat this as an approximation of the PR, not the PR itself. - `agc_driver_image_converted_unorm` passes. That includes the new point and bilinear `image_sample_lz` checks with clamp-to-edge and wrap, and both formats. - With only the new test on the unchanged branch, it fails with `samples or gathers a converted float image, or queries its LOD, which is not implemented`. So the sample paths run on this device. - Suite: the same 13 failures with and without the PR. None new, none fixed. Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
ps54all commented 2026-10-14 21:21:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ps54all on 2026-10-14T21:21:17Z.


Thanks for the Apple GPU run and for adapting the two hunks by hand. Good to see the point and bilinear image_sample_lz checks pass on MoltenVK and that the test fails there without the change too.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6178772366 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#issuecomment-6178772366). Originally posted by [ps54all](https://github.com/ps54all) on 2026-10-14T21:21:17Z. --- Thanks for the Apple GPU run and for adapting the two hunks by hand. Good to see the point and bilinear `image_sample_lz` checks pass on MoltenVK and that the test fails there without the change too.
github-actions[bot] commented 2026-10-15 12:12:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:12:17Z.


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 5431 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp L30
PR 6218 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp L1567-1570
PR 7085 core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp L49
PR 7644 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp L541-542, L723-725

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 907 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
PR 1341 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 1368 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 1395 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 2434 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 3247 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 4072 core/shader/recompiler/Recompiler.cpp
PR 4650 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
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/ShaderDiskCache.cpp
PR 4891 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5021 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/shader.md
PR 5115 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 5371 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/shader.md
PR 5426 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/shader.md
PR 5499 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5500 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/debt/shader.md
PR 5609 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.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/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 5941 docs/dev/debt/shader.md
PR 6009 docs/dev/debt/shader.md
PR 6044 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6177 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 6185 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6186 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6188 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/Recompiler.hpp
PR 6192 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6234 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6235 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/shader.md
PR 6280 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/shader.md
PR 6300 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6312 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
PR 6320 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6360 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6412 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp
core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/debt/shader.md
PR 6454 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/DataHitVerification.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
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 6470 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
docs/dev/debt/shader.md
PR 6481 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6486 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6488 core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/shader.md
PR 6501 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6503 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 6535 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6539 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6613 docs/dev/debt/shader.md
PR 6683 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.hpp
PR 6701 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6747 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6763 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6786 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
PR 6788 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6808 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6856 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
PR 6867 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
PR 6868 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6879 core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6937 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6941 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6946 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6947 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/CacheKey.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 6963 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6970 core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 6973 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6977 core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
docs/dev/debt/shader.md
PR 6987 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6989 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.hpp
PR 6995 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.hpp
PR 7002 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp
core/shader/recompiler/Recompiler.hpp
PR 7201 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
PR 7223 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/shader.md
PR 7332 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/shader/recompiler/CacheKey.hpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
docs/dev/debt/shader.md
PR 7388 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
docs/dev/debt/shader.md
PR 7390 core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
PR 7615 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7642 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.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/Optimization/src/ResourceTracker.cpp
core/shader/recompiler/Recompiler.cpp
core/shader/recompiler/Recompiler.hpp
core/shader/recompiler/ShaderDiskCache.cpp
core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6191751846 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#issuecomment-6191751846). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T12:12:17Z. --- <!-- pr-overlap --> 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 5431](https://www.github.com/boykopovar/AnyPS5/pull/5431) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp` [L30](https://github.com/boykopovar/AnyPS5/blob/8b8edc56195f2ff6ec8e1a87b2463dc408580c54/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp#L30) | | | | [PR 6218](https://www.github.com/boykopovar/AnyPS5/pull/6218) | `core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp` [L1567-1570](https://github.com/boykopovar/AnyPS5/blob/8b8edc56195f2ff6ec8e1a87b2463dc408580c54/core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp#L1567-L1570) | | | | [PR 7085](https://www.github.com/boykopovar/AnyPS5/pull/7085) | `core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp` [L49](https://github.com/boykopovar/AnyPS5/blob/8b8edc56195f2ff6ec8e1a87b2463dc408580c54/core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp#L49) | | | | [PR 7644](https://www.github.com/boykopovar/AnyPS5/pull/7644) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp` [L541-542](https://github.com/boykopovar/AnyPS5/blob/8b8edc56195f2ff6ec8e1a87b2463dc408580c54/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp#L541-L542), [L723-725](https://github.com/boykopovar/AnyPS5/blob/8b8edc56195f2ff6ec8e1a87b2463dc408580c54/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp#L723-L725) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 907](https://www.github.com/boykopovar/AnyPS5/pull/907) | `core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp` | | [PR 1341](https://www.github.com/boykopovar/AnyPS5/pull/1341) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp` | | [PR 1368](https://www.github.com/boykopovar/AnyPS5/pull/1368) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 1395](https://www.github.com/boykopovar/AnyPS5/pull/1395) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 2434](https://www.github.com/boykopovar/AnyPS5/pull/2434) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 3247](https://www.github.com/boykopovar/AnyPS5/pull/3247) | `core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 4072](https://www.github.com/boykopovar/AnyPS5/pull/4072) | `core/shader/recompiler/Recompiler.cpp` | | [PR 4650](https://www.github.com/boykopovar/AnyPS5/pull/4650) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 4891](https://www.github.com/boykopovar/AnyPS5/pull/4891) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`docs/dev/debt/shader.md` | | [PR 5115](https://www.github.com/boykopovar/AnyPS5/pull/5115) | `core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp` | | [PR 5371](https://www.github.com/boykopovar/AnyPS5/pull/5371) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp`<br>`core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`docs/dev/debt/shader.md` | | [PR 5426](https://www.github.com/boykopovar/AnyPS5/pull/5426) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/shader.md` | | [PR 5499](https://www.github.com/boykopovar/AnyPS5/pull/5499) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5500](https://www.github.com/boykopovar/AnyPS5/pull/5500) | `core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`docs/dev/debt/shader.md` | | [PR 5609](https://www.github.com/boykopovar/AnyPS5/pull/5609) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 5941](https://www.github.com/boykopovar/AnyPS5/pull/5941) | `docs/dev/debt/shader.md` | | [PR 6009](https://www.github.com/boykopovar/AnyPS5/pull/6009) | `docs/dev/debt/shader.md` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6177](https://www.github.com/boykopovar/AnyPS5/pull/6177) | `core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 6185](https://www.github.com/boykopovar/AnyPS5/pull/6185) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6186](https://www.github.com/boykopovar/AnyPS5/pull/6186) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 6192](https://www.github.com/boykopovar/AnyPS5/pull/6192) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6234](https://www.github.com/boykopovar/AnyPS5/pull/6234) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6235](https://www.github.com/boykopovar/AnyPS5/pull/6235) | `core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`docs/dev/debt/shader.md` | | [PR 6280](https://www.github.com/boykopovar/AnyPS5/pull/6280) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp`<br>`core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceTracker.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`docs/dev/debt/shader.md` | | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6312](https://www.github.com/boykopovar/AnyPS5/pull/6312) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp` | | [PR 6320](https://www.github.com/boykopovar/AnyPS5/pull/6320) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6360](https://www.github.com/boykopovar/AnyPS5/pull/6360) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6412](https://www.github.com/boykopovar/AnyPS5/pull/6412) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp`<br>`core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`docs/dev/debt/shader.md` | | [PR 6454](https://www.github.com/boykopovar/AnyPS5/pull/6454) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/DataHitVerification.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp`<br>`core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6470](https://www.github.com/boykopovar/AnyPS5/pull/6470) | `core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`docs/dev/debt/shader.md` | | [PR 6481](https://www.github.com/boykopovar/AnyPS5/pull/6481) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6486](https://www.github.com/boykopovar/AnyPS5/pull/6486) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6488](https://www.github.com/boykopovar/AnyPS5/pull/6488) | `core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceTracker.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`docs/dev/debt/shader.md` | | [PR 6501](https://www.github.com/boykopovar/AnyPS5/pull/6501) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6503](https://www.github.com/boykopovar/AnyPS5/pull/6503) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 6535](https://www.github.com/boykopovar/AnyPS5/pull/6535) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6539](https://www.github.com/boykopovar/AnyPS5/pull/6539) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6613](https://www.github.com/boykopovar/AnyPS5/pull/6613) | `docs/dev/debt/shader.md` | | [PR 6683](https://www.github.com/boykopovar/AnyPS5/pull/6683) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 6701](https://www.github.com/boykopovar/AnyPS5/pull/6701) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6747](https://www.github.com/boykopovar/AnyPS5/pull/6747) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6763](https://www.github.com/boykopovar/AnyPS5/pull/6763) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6786](https://www.github.com/boykopovar/AnyPS5/pull/6786) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp` | | [PR 6788](https://www.github.com/boykopovar/AnyPS5/pull/6788) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6856](https://www.github.com/boykopovar/AnyPS5/pull/6856) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp` | | [PR 6867](https://www.github.com/boykopovar/AnyPS5/pull/6867) | `core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp` | | [PR 6868](https://www.github.com/boykopovar/AnyPS5/pull/6868) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6879](https://www.github.com/boykopovar/AnyPS5/pull/6879) | `core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6937](https://www.github.com/boykopovar/AnyPS5/pull/6937) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6941](https://www.github.com/boykopovar/AnyPS5/pull/6941) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6946](https://www.github.com/boykopovar/AnyPS5/pull/6946) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6963](https://www.github.com/boykopovar/AnyPS5/pull/6963) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6970](https://www.github.com/boykopovar/AnyPS5/pull/6970) | `core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 6973](https://www.github.com/boykopovar/AnyPS5/pull/6973) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`docs/dev/debt/shader.md` | | [PR 6987](https://www.github.com/boykopovar/AnyPS5/pull/6987) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6989](https://www.github.com/boykopovar/AnyPS5/pull/6989) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 6995](https://www.github.com/boykopovar/AnyPS5/pull/6995) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 7002](https://www.github.com/boykopovar/AnyPS5/pull/7002) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp` | | [PR 7223](https://www.github.com/boykopovar/AnyPS5/pull/7223) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceTracker.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`docs/dev/debt/shader.md` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp`<br>`docs/dev/debt/shader.md` | | [PR 7388](https://www.github.com/boykopovar/AnyPS5/pull/7388) | `core/shader/recompiler/Optimization/src/ResourceTracker.cpp`<br>`docs/dev/debt/shader.md` | | [PR 7390](https://www.github.com/boykopovar/AnyPS5/pull/7390) | `core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp` | | [PR 7615](https://www.github.com/boykopovar/AnyPS5/pull/7615) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7642](https://www.github.com/boykopovar/AnyPS5/pull/7642) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Dispatch/Dispatch.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp`<br>`core/shader/recompiler/CacheKey.hpp`<br>`core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/Resources.hpp`<br>`core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp`<br>`core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceTracker.cpp`<br>`core/shader/recompiler/Recompiler.cpp`<br>`core/shader/recompiler/Recompiler.hpp`<br>`core/shader/recompiler/ShaderDiskCache.cpp`<br>`core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp` |
ps54all commented 2026-10-15 13:24:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ps54all on 2026-10-15T13:24:51Z.


@CnRJay, thanks for asking for numbers. They confirm your concern, and the growth is large.

Setup. Hollow Knight: Silksong (PPSA12544, Unity) never uses 10_11_11 or 11_11_10: the branch logs no converted image. Cold start to the main menu, 90 s per run, with an empty ANYPS5_SHADER_CACHE_DIR each run (this also empties the vk-pipelines cache) and __GL_SHADER_DISK_CACHE=0. Runs alternate main, branch, main, branch. Main is f7a90d6fd; the branch is this PR rebased onto it (40704b646, force-pushed now; the only conflict was main's new nullImageDescriptor(image, descriptor) signature). Both builds carry the same local-only hook, which is not part of the PR: it wraps vkCreateGraphicsPipelines, vkCreateComputePipelines and vkCreateShaderModule at the two device-function lookups and sums the call count, wall time and SPIR-V words. Windows 11, RTX 3080, driver 610.74, WinLibs GCC 15.2.0, Release.

main run 1 main run 3 branch run 2 branch run 4
vkCreateGraphicsPipelines (128 pipelines) 1934 ms 2028 ms 8973 ms 8271 ms
vkCreateComputePipelines (14) 45 ms 42 ms 41 ms 40 ms
SPIR-V words passed to vkCreateShaderModule (335-337 modules) 2.51 M 2.50 M 4.28 M 4.27 M
Shader disk cache, 118 entries 5.95 M words 7.68 M words

So for a title that never uses the formats: graphics pipeline creation takes about 4.3 times as long (+6.6 s on a cold start), SPIR-V grows by 71%, and 42 of the 118 cached shaders grow. The frame rate once warm is unchanged (59.9 FPS in all four runs).

That is too much to put on every title. I will rework the PR along the lines you suggest: a shader gets the converted modes only after a converted descriptor has been seen for it, and is then prepared again. Titles without the formats will then compile exactly what they compile on main. I will post the same measurement again for the reworked version.

AI-assisted (Claude Code). I ran the builds and the runs above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6193152927 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#issuecomment-6193152927). Originally posted by [ps54all](https://github.com/ps54all) on 2026-10-15T13:24:51Z. --- @CnRJay, thanks for asking for numbers. They confirm your concern, and the growth is large. **Setup.** Hollow Knight: Silksong (PPSA12544, Unity) never uses 10_11_11 or 11_11_10: the branch logs no converted image. Cold start to the main menu, 90 s per run, with an empty `ANYPS5_SHADER_CACHE_DIR` each run (this also empties the `vk-pipelines` cache) and `__GL_SHADER_DISK_CACHE=0`. Runs alternate main, branch, main, branch. Main is `f7a90d6fd`; the branch is this PR rebased onto it (`40704b646`, force-pushed now; the only conflict was main's new `nullImageDescriptor(image, descriptor)` signature). Both builds carry the same local-only hook, which is not part of the PR: it wraps `vkCreateGraphicsPipelines`, `vkCreateComputePipelines` and `vkCreateShaderModule` at the two device-function lookups and sums the call count, wall time and SPIR-V words. Windows 11, RTX 3080, driver 610.74, WinLibs GCC 15.2.0, Release. | | main run 1 | main run 3 | branch run 2 | branch run 4 | |---|---|---|---|---| | `vkCreateGraphicsPipelines` (128 pipelines) | 1934 ms | 2028 ms | 8973 ms | 8271 ms | | `vkCreateComputePipelines` (14) | 45 ms | 42 ms | 41 ms | 40 ms | | SPIR-V words passed to `vkCreateShaderModule` (335-337 modules) | 2.51 M | 2.50 M | 4.28 M | 4.27 M | | Shader disk cache, 118 entries | 5.95 M words | | 7.68 M words | | So for a title that never uses the formats: graphics pipeline creation takes about 4.3 times as long (+6.6 s on a cold start), SPIR-V grows by 71%, and 42 of the 118 cached shaders grow. The frame rate once warm is unchanged (59.9 FPS in all four runs). That is too much to put on every title. I will rework the PR along the lines you suggest: a shader gets the converted modes only after a converted descriptor has been seen for it, and is then prepared again. Titles without the formats will then compile exactly what they compile on main. I will post the same measurement again for the reworked version. AI-assisted (Claude Code). I ran the builds and the runs above on my machine.
ps54all commented 2026-10-15 17:46:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ps54all on 2026-10-15T17:46:11Z.


@CnRJay, the rework is pushed. A shader now gets the converted sample modes only after a converted descriptor reaches one of its sampled images. That capture throws ConvertedSampleRequired, the driver records the program, prepares it again with GuestContext::convertedSamples (part of every cache key) and repeats the capture. A title without these formats compiles what main compiles.

Same measurement as before: Hollow Knight: Silksong (PPSA12544), cold start to the main menu, 90 s per run, empty ANYPS5_SHADER_CACHE_DIR, runs alternating main, branch, main, branch. Main is 940eba9a2, the branch is this PR rebased onto it. Same local-only hook around vkCreateGraphicsPipelines, vkCreateComputePipelines and vkCreateShaderModule. Windows 11, RTX 3080, driver 610.74, WinLibs GCC 15.2.0, Release.

One correction to my earlier numbers: this driver ignores __GL_SHADER_DISK_CACHE=0 (its GLCache folder was written during a run). This time every run had its own empty __GL_SHADER_DISK_CACHE_PATH, so all four are cold. That is why main is slower here than the 1.9-2.0 s I reported before: those main runs were probably served from the driver's cache, while the old branch's different SPIR-V was not. So the old table overstated the time gap (about 3 s cold against 8-9 s, not 2 s). The +71% SPIR-V was real.

main run 1 main run 3 branch run 2 branch run 4
vkCreateGraphicsPipelines (128 pipelines) 3038 ms 2874 ms 2973 ms 3035 ms
vkCreateComputePipelines (14) 208 ms 196 ms 214 ms 198 ms
SPIR-V words passed to vkCreateShaderModule (335 modules) 2,500,691 2,500,691 2,500,691 2,500,691
Shader disk cache, 207 files 26,740,623 B 26,740,613 B 26,742,433 B 26,742,413 B

SPIR-V is identical, and pipeline creation is within run-to-run noise. The cache grows by 1.8 KB, from the new per-image field. 59.9 FPS in all four runs.

AI-assisted (Claude Code). I ran the builds and the runs above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6198527543 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#issuecomment-6198527543). Originally posted by [ps54all](https://github.com/ps54all) on 2026-10-15T17:46:11Z. --- @CnRJay, the rework is pushed. A shader now gets the converted sample modes only after a converted descriptor reaches one of its sampled images. That capture throws `ConvertedSampleRequired`, the driver records the program, prepares it again with `GuestContext::convertedSamples` (part of every cache key) and repeats the capture. A title without these formats compiles what main compiles. Same measurement as before: Hollow Knight: Silksong (PPSA12544), cold start to the main menu, 90 s per run, empty `ANYPS5_SHADER_CACHE_DIR`, runs alternating main, branch, main, branch. Main is 940eba9a2, the branch is this PR rebased onto it. Same local-only hook around `vkCreateGraphicsPipelines`, `vkCreateComputePipelines` and `vkCreateShaderModule`. Windows 11, RTX 3080, driver 610.74, WinLibs GCC 15.2.0, Release. One correction to my earlier numbers: this driver ignores `__GL_SHADER_DISK_CACHE=0` (its GLCache folder was written during a run). This time every run had its own empty `__GL_SHADER_DISK_CACHE_PATH`, so all four are cold. That is why main is slower here than the 1.9-2.0 s I reported before: those main runs were probably served from the driver's cache, while the old branch's different SPIR-V was not. So the old table overstated the time gap (about 3 s cold against 8-9 s, not 2 s). The +71% SPIR-V was real. | | main run 1 | main run 3 | branch run 2 | branch run 4 | |---|---|---|---|---| | `vkCreateGraphicsPipelines` (128 pipelines) | 3038 ms | 2874 ms | 2973 ms | 3035 ms | | `vkCreateComputePipelines` (14) | 208 ms | 196 ms | 214 ms | 198 ms | | SPIR-V words passed to `vkCreateShaderModule` (335 modules) | 2,500,691 | 2,500,691 | 2,500,691 | 2,500,691 | | Shader disk cache, 207 files | 26,740,623 B | 26,740,613 B | 26,742,433 B | 26,742,413 B | SPIR-V is identical, and pipeline creation is within run-to-run noise. The cache grows by 1.8 KB, from the new per-image field. 59.9 FPS in all four runs. AI-assisted (Claude Code). I ran the builds and the runs above on my machine.
CnRJay commented 2026-10-15 18:20:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-15T18:20:58Z.


Thanks for measuring, and for the rework. The first numbers (+71 % SPIR-V and about 3 s more pipeline creation on a cold start for a title that never uses these formats) were exactly the cost I was worried about. The second set shows identical SPIR-V and pipeline creation within noise. Preparing the converted variant only after a converted descriptor reaches a sampled image is the right design. A title that does use these formats pays one re-preparation per affected program, once.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6199203912 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#issuecomment-6199203912). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-10-15T18:20:58Z. --- Thanks for measuring, and for the rework. The first numbers (+71 % SPIR-V and about 3 s more pipeline creation on a cold start for a title that never uses these formats) were exactly the cost I was worried about. The second set shows identical SPIR-V and pipeline creation within noise. Preparing the converted variant only after a converted descriptor reaches a sampled image is the right design. A title that does use these formats pays one re-preparation per affected program, once.
jotitadev commented 2026-10-15 21:27:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-15T21:27:26Z.

Review: COMMENTED


Linux run of the current head, since the PR has been tested on Windows + RTX 3080 and on our Apple M2 Max run (at 8338defe5).

Machine: NVIDIA GeForce RTX 3070, driver 595.99.02, Vulkan 1.4.329, Ubuntu 26.04 (kernel 7.0.0-38), i7-8700. GCC 15.2, Release, BUILD_TESTING=ON. Head 5dd5396bc merged onto main 44df21632, no conflicts. ANYPS5_GPU="NVIDIA GeForce RTX 3070".

GPUs tested: NVIDIA GeForce RTX 3070 (595.99.02), Linux

  • agc_driver_image_converted_unorm: 3/3 pass.
  • ctest -R "^agc|shader|recompiler|image" -E "agc_display_buffer_dcc|agc_driver_flip|agc_driver_lds_atomics64|display|flip" -j1 --timeout 60: 599 pass, 1 skipped, 2 failed out of 602.
    • Skipped: agc_driver_stencil_ref_export. The 3070 does not expose VK_EXT_shader_stencil_export.
    • Failed: agc_pending_key_stores and agc_driver_store_over_untracked. Both also fail on unchanged main on this machine, at the same assertions: 20/240 and 64/70 idle runs (see #6500 and #6347).
  • I could not repeat the test-only check at this head: the new test uses GuestContext::convertedSamples and ConvertedSampleRequired, so it does not compile against main's sources. The red check on the Apple run was at 8338defe5.

Written with AI assistance (Claude Code). I ran the tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5540155413 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#pullrequestreview-5540155413). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-15T21:27:26Z. **Review:** COMMENTED --- Linux run of the current head, since the PR has been tested on Windows + RTX 3080 and on our Apple M2 Max run (at `8338defe5`). **Machine:** NVIDIA GeForce RTX 3070, driver 595.99.02, Vulkan 1.4.329, Ubuntu 26.04 (kernel 7.0.0-38), i7-8700. GCC 15.2, Release, `BUILD_TESTING=ON`. Head `5dd5396bc` merged onto `main` `44df21632`, no conflicts. `ANYPS5_GPU="NVIDIA GeForce RTX 3070"`. GPUs tested: NVIDIA GeForce RTX 3070 (595.99.02), Linux - `agc_driver_image_converted_unorm`: 3/3 pass. - `ctest -R "^agc|shader|recompiler|image" -E "agc_display_buffer_dcc|agc_driver_flip|agc_driver_lds_atomics64|display|flip" -j1 --timeout 60`: 599 pass, 1 skipped, 2 failed out of 602. - Skipped: `agc_driver_stencil_ref_export`. The 3070 does not expose `VK_EXT_shader_stencil_export`. - Failed: `agc_pending_key_stores` and `agc_driver_store_over_untracked`. Both also fail on unchanged `main` on this machine, at the same assertions: 20/240 and 64/70 idle runs (see #6500 and #6347). - I could not repeat the test-only check at this head: the new test uses `GuestContext::convertedSamples` and `ConvertedSampleRequired`, so it does not compile against `main`'s sources. The red check on the Apple run was at `8338defe5`. Written with AI assistance (Claude Code). I ran the tests above on my machine.
adriadam10 commented 2026-10-16 12:32:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T12:32:39Z.

Review: CHANGES_REQUESTED


Measured image_sample_lz on RDNA2 (gfx1035) with 10_11_11 UNORM (format 30) and FLOAT (format 43) T#s: 64x4 linear, random texels (float ones over the whole exponent range), swizzles X Y Z 1 / Z Y X 1 / X 0 1 1, wrap and clamp-to-edge, point and bilinear, 50 positions each, IEEE=0 DENORM=0.

  • Point sampling, decode, swizzle and both address modes match the PR's model (float exact, unorm within the 1 ULP of the existing OpFDiv debt line).
  • Bilinear does not. The hardware quantizes each weight to roundEven(frac * 256) / 256 before blending: that model matches every row to 6e-8 relative (unorm) and 3e-6 (float). The PR blends with full float weights (SpirvImageEmitter.cpp:1354-1377), which is off by up to 0.2 % on unorm and much more on float texels with a wide range. Examples (u·W, v·H → X Y Z):
    • unorm (47.5903, 1.5101): HW 0.881418 0.698259 0.162392, PR 0.881701 0.698338 0.161815
    • float (47.5903, 1.5101): HW 0.696461 322.78 0.0513165, PR 0.684964 279.189 0.0510313
    • float (9.1962, 2.6949): HW 3.48226 1950.03 1.54954, PR 3.46977 1939.81 1.55237
    • ties go to even: frac 3/512 → weight 2/256, 9/512 → 4/256.
  • The test can't see this: x = 1.25 * tid + start with starts 0.75, -3 and 16 gives fractions that are multiples of 0.25, which are already on the 1/256 grid. Please add positions off the grid (e.g. a step of 1.3 texels, or + 1/512 and + 3/512 to hit the ties) and quantize the weights in the test's model too.
  • Fix: round the two weights to the 1/256 grid in the converted path (weightU/weightV × 256, RoundEven, × 1/256; all exact in f32). Whether the color-compare path should share it is up to you, but it is not needed for this PR.
  • docs/dev/debt/shader.md:122 then says the weights follow the hardware's 8-bit grid (measured on gfx1035) instead of "not modelled ... none of this is measured on hardware".

Build and the AgcDriver/Agc tests are green here on RADV (only agc_driver_tessellation, which also fails on main); agc_driver_image_converted_unorm passes. The deferred preparation (ConvertedSampleRequired + GuestContext::convertedSamples in the key) looks fine to me.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5547803193 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#pullrequestreview-5547803193). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-16T12:32:39Z. **Review:** CHANGES_REQUESTED --- Measured `image_sample_lz` on RDNA2 (gfx1035) with 10_11_11 UNORM (format 30) and FLOAT (format 43) T#s: 64x4 linear, random texels (float ones over the whole exponent range), swizzles X Y Z 1 / Z Y X 1 / X 0 1 1, wrap and clamp-to-edge, point and bilinear, 50 positions each, IEEE=0 DENORM=0. - Point sampling, decode, swizzle and both address modes match the PR's model (float exact, unorm within the 1 ULP of the existing `OpFDiv` debt line). - Bilinear does not. The hardware quantizes each weight to `roundEven(frac * 256) / 256` before blending: that model matches every row to 6e-8 relative (unorm) and 3e-6 (float). The PR blends with full float weights (`SpirvImageEmitter.cpp:1354-1377`), which is off by up to 0.2 % on unorm and much more on float texels with a wide range. Examples (u·W, v·H → X Y Z): - unorm (47.5903, 1.5101): HW `0.881418 0.698259 0.162392`, PR `0.881701 0.698338 0.161815` - float (47.5903, 1.5101): HW `0.696461 322.78 0.0513165`, PR `0.684964 279.189 0.0510313` - float (9.1962, 2.6949): HW `3.48226 1950.03 1.54954`, PR `3.46977 1939.81 1.55237` - ties go to even: frac 3/512 → weight 2/256, 9/512 → 4/256. - The test can't see this: `x = 1.25 * tid + start` with starts 0.75, -3 and 16 gives fractions that are multiples of 0.25, which are already on the 1/256 grid. Please add positions off the grid (e.g. a step of `1.3` texels, or `+ 1/512` and `+ 3/512` to hit the ties) and quantize the weights in the test's model too. - Fix: round the two weights to the 1/256 grid in the converted path (`weightU`/`weightV` × 256, `RoundEven`, × 1/256; all exact in f32). Whether the color-compare path should share it is up to you, but it is not needed for this PR. - `docs/dev/debt/shader.md:122` then says the weights follow the hardware's 8-bit grid (measured on gfx1035) instead of "not modelled ... none of this is measured on hardware". Build and the AgcDriver/Agc tests are green here on RADV (only `agc_driver_tessellation`, which also fails on main); `agc_driver_image_converted_unorm` passes. The deferred preparation (`ConvertedSampleRequired` + `GuestContext::convertedSamples` in the key) looks fine to me.
ps54all commented 2026-10-16 20:34:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ps54all on 2026-10-16T20:34:47Z.


Thanks for measuring it on gfx1035. Done in 87a9b8d28:

  • The converted path rounds both bilinear weights to the 1/256 grid (roundEven(fraction * 256) / 256, exact in f32). The color-compare path is unchanged, so shaders without a converted descriptor compile to the same SPIR-V as before.
  • agc_driver_image_converted_unorm quantizes the weights in its model and adds three bilinear runs (unorm Z Y X 1, float X Y Z 1, wrapped unorm X Y Z 1) with a step of 1.25 + 3/1024 texels, so the fractions land off the grid and on ties in both directions (193.5 -> 194, 196.5 -> 196, 1.5 -> 2, 4.5 -> 4); every position is exact in f32. Without the shader change the float run fails (thread 1 component 0 is 1.870605, expected 1.869141); with it all runs pass.
  • docs/dev/debt/shader.md now says the weights follow the hardware's 8-bit grid as you measured on gfx1035, with point sampling, decode, swizzles and both address modes matching the same measurement.

Tested on Windows, RTX 3080 (NVIDIA 610.74), MinGW GCC 15.2 Release: the AgcDriver, shader and recompiler tests pass (605 of 606; agc_driver_gpu_indirect_arguments_misaligned_writer_ahead does not build with MinGW because of its alignas(65536), the problem in #6716, unrelated to this change).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6224193177 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#issuecomment-6224193177). Originally posted by [ps54all](https://github.com/ps54all) on 2026-10-16T20:34:47Z. --- Thanks for measuring it on gfx1035. Done in 87a9b8d28: - The converted path rounds both bilinear weights to the 1/256 grid (`roundEven(fraction * 256) / 256`, exact in f32). The color-compare path is unchanged, so shaders without a converted descriptor compile to the same SPIR-V as before. - `agc_driver_image_converted_unorm` quantizes the weights in its model and adds three bilinear runs (unorm Z Y X 1, float X Y Z 1, wrapped unorm X Y Z 1) with a step of 1.25 + 3/1024 texels, so the fractions land off the grid and on ties in both directions (193.5 -> 194, 196.5 -> 196, 1.5 -> 2, 4.5 -> 4); every position is exact in f32. Without the shader change the float run fails (`thread 1 component 0 is 1.870605, expected 1.869141`); with it all runs pass. - `docs/dev/debt/shader.md` now says the weights follow the hardware's 8-bit grid as you measured on gfx1035, with point sampling, decode, swizzles and both address modes matching the same measurement. Tested on Windows, RTX 3080 (NVIDIA 610.74), MinGW GCC 15.2 Release: the AgcDriver, shader and recompiler tests pass (605 of 606; `agc_driver_gpu_indirect_arguments_misaligned_writer_ahead` does not build with MinGW because of its `alignas(65536)`, the problem in #6716, unrelated to this change).
adriadam10 commented 2026-10-16 20:58:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-16T20:58:31Z.

Review: APPROVED


Re-checked 87a9b8d28:

  • The converted path now rounds both bilinear weights to roundEven(fraction * 256) / 256, matching what I measured on gfx1035; the color-compare path is unchanged.
  • The test models the same rounding and the new off-grid runs (step 1.25 + 3/1024 texels) hit both tie directions. Removing the rounding in the emitter makes it fail (off-grid bilinear image_sample_lz of R10_G11_B11_FLOAT: thread 1 component 0 is 1.870605, expected 1.869141).
  • Build and AgcDriver/Agc tests are green on RADV (only agc_driver_tessellation, which also fails on main). The debt entry is updated.

Merging once the full Build is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5553630203 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#pullrequestreview-5553630203). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-16T20:58:31Z. **Review:** APPROVED --- Re-checked 87a9b8d28: - The converted path now rounds both bilinear weights to `roundEven(fraction * 256) / 256`, matching what I measured on gfx1035; the color-compare path is unchanged. - The test models the same rounding and the new off-grid runs (step 1.25 + 3/1024 texels) hit both tie directions. Removing the rounding in the emitter makes it fail (`off-grid bilinear image_sample_lz of R10_G11_B11_FLOAT: thread 1 component 0 is 1.870605, expected 1.869141`). - Build and AgcDriver/Agc tests are green on RADV (only `agc_driver_tessellation`, which also fails on main). The debt entry is updated. Merging once the full Build is green.
keravyn-ops commented 2026-10-17 08:55:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by keravyn-ops on 2026-10-17T08:55:50Z.


AMD / Windows run of this PR at 87a9b8d28: Radeon 780M (RDNA 3, 0x15bf), AMD driver 25.10.20.01 (32.0.21020.1007), Windows 11 Home 10.0.26100, WinLibs GCC 15.2.0 r7, Release.

  • agc_driver_image_converted_unorm: pass (image converted unorm tests passed, 11.10 s)

AI-assisted: yes (run made on the device above).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6232000823 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#issuecomment-6232000823). Originally posted by [keravyn-ops](https://github.com/keravyn-ops) on 2026-10-17T08:55:50Z. --- AMD / Windows run of this PR at 87a9b8d28: Radeon 780M (RDNA 3, 0x15bf), AMD driver 25.10.20.01 (32.0.21020.1007), Windows 11 Home 10.0.26100, WinLibs GCC 15.2.0 r7, Release. - `agc_driver_image_converted_unorm`: pass (`image converted unorm tests passed`, 11.10 s) AI-assisted: yes (run made on the device above).
gjonn commented 2026-10-17 19:46:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by gjonn on 2026-10-17T19:46:00Z.


Another data point from PPSA01317 on current main, Windows 11, RTX 5090 Laptop: this PR fixes its abort, shader 0x145628e00 stage 5: samples or gathers a converted float image, or queries its LOD, which is not implemented, which hits on its first presented frames. With this PR's three commits cherry-picked, the title gets past it and boots further.

There's one limit for later, not a request for this PR: after a few more fixes the same title samples a format-43 image (packed 11_11_10 float) as a cube and stops on samples a converted float image that is not a 2D or 2D array view. So the conversion path only covers 2D and 2D-array views.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6239869137 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#issuecomment-6239869137). Originally posted by [gjonn](https://github.com/gjonn) on 2026-10-17T19:46:00Z. --- Another data point from PPSA01317 on current main, Windows 11, RTX 5090 Laptop: this PR fixes its abort, `shader 0x145628e00 stage 5: samples or gathers a converted float image, or queries its LOD, which is not implemented`, which hits on its first presented frames. With this PR's three commits cherry-picked, the title gets past it and boots further. There's one limit for later, not a request for this PR: after a few more fixes the same title samples a format-43 image (packed 11_11_10 float) as a cube and stops on `samples a converted float image that is not a 2D or 2D array view`. So the conversion path only covers 2D and 2D-array views. AI-assisted: yes
gjonn commented 2026-10-17 21:01:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by gjonn on 2026-10-17T21:01:00Z.


Heads-up: I opened #7271, which samples texture format 43 (10_11_11 float) natively. It copies the texels losslessly into a VK_FORMAT_B10G11R11_UFLOAT_PACK32 image (guest R and B fields swapped, every bit kept) and swaps R and B back in the view. Point and bilinear filtering, every mip and LOD, and cube faces then go through the hardware sampler like any other float texture. This PR stays useful for the other converted formats. Format 43 would just no longer need the in-shader conversion.

The two PRs touch the same test. If both merge, the bilinear R10_G11_B11_FLOAT check in ImageConvertedUnorm.cpp that expects the 8-bit-grid result (1.693848) would have to drop that expectation for format 43. Native filtering gives 1.694336, and since native filtering is what the console's TMU does, 1.694336 is the exact value. Whichever PR merges second can make that change. I'm happy to rebase mine if yours goes in first.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6240974488 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#issuecomment-6240974488). Originally posted by [gjonn](https://github.com/gjonn) on 2026-10-17T21:01:00Z. --- Heads-up: I opened #7271, which samples texture format 43 (10_11_11 float) natively. It copies the texels losslessly into a `VK_FORMAT_B10G11R11_UFLOAT_PACK32` image (guest R and B fields swapped, every bit kept) and swaps R and B back in the view. Point and bilinear filtering, every mip and LOD, and cube faces then go through the hardware sampler like any other float texture. This PR stays useful for the other converted formats. Format 43 would just no longer need the in-shader conversion. The two PRs touch the same test. If both merge, the bilinear `R10_G11_B11_FLOAT` check in `ImageConvertedUnorm.cpp` that expects the 8-bit-grid result (1.693848) would have to drop that expectation for format 43. Native filtering gives 1.694336, and since native filtering is what the console's TMU does, 1.694336 is the exact value. Whichever PR merges second can make that change. I'm happy to rebase mine if yours goes in first. AI-assisted: yes
adriadam10 commented 2026-10-18 14:24:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-18T14:24:42Z.

Review: CHANGES_REQUESTED


#7271 is merged, and it overlaps this PR:

  • Format 43 (R10_G11_B11_FLOAT) sampled images now go through a lossless B10G11R11 copy and the hardware sampler. In ResourceMaterializer.cpp they are nativeRepacked (sampled, non-storage, non-packed) and no longer get conversionFormat, so the float half of the converted-sample emulation added here no longer runs for them.
  • ImageConvertedUnorm.cpp conflicts with main in three hunks. Main replaces the float image_sample_lz refusal with CheckFloatSample (point sampling, bit-exact). The float bilinear and off-grid checks here model weights quantized to roundEven(frac * 256) / 256; the native sampler does not do that on every GPU, so they cannot be kept as they are.
  • libSceAgcDriver/CMakeLists.txt also conflicts (adjacent target_include_directories lines, trivial).

Please rebase on main and decide the float part explicitly:

  • Keep this PR to the 10_11_11 UNORM (format 30) path, which main still refuses, and drop the float emulation and its test runs; or
  • Keep float only for the cases #7271 leaves converted (storage / packed images) and say which test covers them.

The UNORM path itself was already checked (1/256 weights match gfx1035) and needs no change. Re-run agc_driver_image_converted_unorm after the rebase, with the negative check (bilinear neighbours swapped / rounding removed) still failing.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5563373151 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#pullrequestreview-5563373151). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-18T14:24:42Z. **Review:** CHANGES_REQUESTED --- #7271 is merged, and it overlaps this PR: - Format 43 (`R10_G11_B11_FLOAT`) sampled images now go through a lossless B10G11R11 copy and the hardware sampler. In `ResourceMaterializer.cpp` they are `nativeRepacked` (sampled, non-storage, non-packed) and no longer get `conversionFormat`, so the float half of the converted-sample emulation added here no longer runs for them. - `ImageConvertedUnorm.cpp` conflicts with main in three hunks. Main replaces the float `image_sample_lz` refusal with `CheckFloatSample` (point sampling, bit-exact). The float bilinear and off-grid checks here model weights quantized to `roundEven(frac * 256) / 256`; the native sampler does not do that on every GPU, so they cannot be kept as they are. - `libSceAgcDriver/CMakeLists.txt` also conflicts (adjacent `target_include_directories` lines, trivial). Please rebase on main and decide the float part explicitly: - Keep this PR to the 10_11_11 UNORM (format 30) path, which main still refuses, and drop the float emulation and its test runs; or - Keep float only for the cases #7271 leaves converted (storage / packed images) and say which test covers them. The UNORM path itself was already checked (1/256 weights match gfx1035) and needs no change. Re-run `agc_driver_image_converted_unorm` after the rebase, with the negative check (bilinear neighbours swapped / rounding removed) still failing.
ps54all commented 2026-10-18 16:40:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ps54all on 2026-10-18T16:40:49Z.


@adriadam10 rebased on main (91ddd9e3a) as one commit, 8545c2301, taking the first option: this PR now covers only the 10_11_11 UNORM (format 30) path, and the float emulation is gone.

  • Format 43 sampled images are nativeRepacked since #7271. On the converted path (storage or packed), a float sample keeps main's refusal (samples or gathers a converted float image ...). RuntimeImageModes adds only the UNORM mode once a converted descriptor is seen, and convertedSampleState, the ConvertedSampleRequired trigger and the binding builder check format 30 only.
  • ImageConvertedUnorm.cpp: kept main's CheckFloatSample, and dropped the float bilinear and off-grid runs along with the float expectations on the 8-bit grid. The UNORM point, bilinear, wrapped and off-grid checks are unchanged. CheckConvertedPreparation now expects exactly one converted mode.
  • CMakeLists.txt: the adjacent target_include_directories lines, both kept.

RTX 3080 (NVIDIA 610.74), Windows 11, MinGW GCC 15.2, Release: agc_driver_image_converted_unorm passes. The negative checks still fail:

  • weight rounding removed: off-grid wrapped bilinear image_sample_lz X Y Z 1: thread 2 component 0 is 0.994141, expected 0.992188;
  • bilinear neighbours swapped: bilinear image_sample_lz Z Y X 1: thread 0 component 0 is 0.000489, expected 0.000244.

In the full CTest, agc_driver_bda_device fails here, and also on plain main 91ddd9e3a (#5859 on NVIDIA, which #7571 fixes). The title and body are updated to match.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6252423033 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#issuecomment-6252423033). Originally posted by [ps54all](https://github.com/ps54all) on 2026-10-18T16:40:49Z. --- @adriadam10 rebased on main (91ddd9e3a) as one commit, 8545c2301, taking the first option: this PR now covers only the 10_11_11 UNORM (format 30) path, and the float emulation is gone. - Format 43 sampled images are `nativeRepacked` since #7271. On the converted path (storage or packed), a float sample keeps main's refusal (`samples or gathers a converted float image ...`). `RuntimeImageModes` adds only the UNORM mode once a converted descriptor is seen, and `convertedSampleState`, the `ConvertedSampleRequired` trigger and the binding builder check format 30 only. - `ImageConvertedUnorm.cpp`: kept main's `CheckFloatSample`, and dropped the float bilinear and off-grid runs along with the float expectations on the 8-bit grid. The UNORM point, bilinear, wrapped and off-grid checks are unchanged. `CheckConvertedPreparation` now expects exactly one converted mode. - `CMakeLists.txt`: the adjacent `target_include_directories` lines, both kept. RTX 3080 (NVIDIA 610.74), Windows 11, MinGW GCC 15.2, Release: `agc_driver_image_converted_unorm` passes. The negative checks still fail: - weight rounding removed: `off-grid wrapped bilinear image_sample_lz X Y Z 1: thread 2 component 0 is 0.994141, expected 0.992188`; - bilinear neighbours swapped: `bilinear image_sample_lz Z Y X 1: thread 0 component 0 is 0.000489, expected 0.000244`. In the full CTest, `agc_driver_bda_device` fails here, and also on plain main 91ddd9e3a (#5859 on NVIDIA, which #7571 fixes). The title and body are updated to match. AI-assisted: yes
spiff637 commented 2026-10-18 18:27:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by spiff637 on 2026-10-18T18:27:18Z.


Tested this PR at 8545c2301 with another region of the title: God of War Ragnarök PPSA08329 (06.006.000).

  • Setup: Windows 11 Enterprise 10.0.26200, NVIDIA GeForce RTX 3080, driver 617.42.
  • Before (main): it aborted on compute shader 0x1038fdd300: sampling, gathering or querying LOD of a converted unorm image is not implemented. The shader uses image_sample_lz ×5, image_sample_lz_o ×7 and image_gather4_lz ×4; there is no get_lod.
  • With this PR: it ran past that point for 5+ minutes with no driver failure.
  • Caveat: this region's eboot has a direct syscall at code offset 0x116c84, so it was relinked with --skip-syscall-check. That is unrelated to this change.
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6253522923 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5958#issuecomment-6253522923). Originally posted by [spiff637](https://github.com/spiff637) on 2026-10-18T18:27:18Z. --- Tested this PR at `8545c2301` with another region of the title: God of War Ragnarök **PPSA08329** (06.006.000). - **Setup:** Windows 11 Enterprise 10.0.26200, NVIDIA GeForce RTX 3080, driver 617.42. - **Before (main):** it aborted on `compute shader 0x1038fdd300: sampling, gathering or querying LOD of a converted unorm image is not implemented`. The shader uses `image_sample_lz` ×5, `image_sample_lz_o` ×7 and `image_gather4_lz` ×4; there is no `get_lod`. - **With this PR:** it ran past that point for 5+ minutes with no driver failure. - **Caveat:** this region's eboot has a direct `syscall` at code offset 0x116c84, so it was relinked with `--skip-syscall-check`. That is unrelated to this change.
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!5958
No description provided.