feat(shader): plan 128 samplers per shader, keeping 32 direct #23409

Open
frankea wants to merge 9 commits from upstream-pr/23409 into main
frankea commented 2026-11-19 00:41:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by frankea on 2026-11-19T00:41:30Z.


What

A shader can now plan up to 128 samplers (ShaderInfo::MaxSamplers, was 64). At most 32 of them can be direct (two elements each in the 64-element sampler heap), and the pair limit stays at 256.

The cap was not set by a real resource. BindingAllocator checked info.samplers.size() against RuntimeAbi::SamplerHeapCapacity, but that heap only holds direct samplers. Table samplers go through the sampler table, and the compact ShaderData the driver uses (IrBindingLayout::ShaderDataDwords) carries image metadata only. The fixed RuntimeAbi::ShaderData.samplers[64] array is used only by layout static_asserts. Two things did depend on 64:

  • the masks indexed by sampler, namely an image table element's direct samplers (ImageTableElement::samplers, filled by ResolveImageTables, read by DescriptorBindingBuilder::Populate), which were one uint64_t;
  • the per-sampler specialization constant ranges. FoldOffsetBase and MirrorUnnormalizedBase were 64 IDs wide, so sampler 70's fold offset would have used the ID of sampler 6's base-level switch, and its mirror axes image 6's minimum LOD. (UnnormalizedBaseLevelBase was already 128 wide and SamplerLodBiasBase ran up to FmaskFormatBase.)

Changes:

  • SamplerMask (ShaderInfo.hpp): (MaxSamplers + 63) / 64 words with Set, Test and ForEach. ImageTableElement::samplers and ResolveImageTables' directSamplers use it. Populate walks its set bits into the 64-bit heap-element mask.
  • Masks indexed by sampler heap element stay 64-bit, because the heap has 64 elements: DescriptorBinding::imageSamplers, tableSamplerMasks, and the Require*/ForcesDegammaOn checks in Sampler.cpp. Prepare keeps its own 64-element refusal.
  • BindingAllocator no longer compares the sampler count with the heap capacity. Direct samplers are still refused past 32 by the heap check (shader sampler pairs exceed runtime heap capacity).
  • Specialization IDs: every per-sampler range is now 128 wide. The four per-sampler ranges that were 64 wide on main move into the free block after StorageReadBase (58560, which main gave its own 128-wide range in #26593): FoldOffsetBase 57344 -> 58688, MirrorUnnormalizedBase 57536 -> 58816, SamplerLodBiasBase 57728 -> 58944 and GatherLodBiasBase 57856 -> 59072 (ends at 59200, below ImageComponentBase 65536). GatherLodBase stays at 57792 and now runs up to GatherImageMinLodBase 57920. UnnormalizedBaseLevelBase (57408, already 128 wide), MinLodBase and the per-image Gather, FMASK and volume ranges keep their main IDs. The static_assert chain in DescriptorBindingBuilder.cpp follows the new ID order.
  • ShaderDiskCache::FormatVersion 98 -> 99 (main's value is 98), because cached SPIR-V carries the old IDs.
  • The fragment docs/dev/debt/changes/feat-shader-sampler-index-masks.md changes the docs/dev/debt/shader.md entry to give the new limits and drop the claim that ShaderData sets the cap.

This follows #10000 (64 samplers, 64-bit masks) one step further. It is a separate topic from the descriptor Phi in #7459.

Why 65 is needed: Ghostrunner (PPSA03685) compute shader 0x200c520000 (104K dwords once #8070/#9068 link its table calls). With #8939 it gets past the #7459 refusal and then plans 65 samplers: 4 direct S# and 61 table sampler columns read from three record buffers. Each column reads its S# at a different offset in the block it selects, so none of them can be merged.

Tested

macOS 27.0 on an Apple M5 Max, x86_64 Release build under Rosetta, MoltenVK (local build) with VK_LAYER_KHRONOS_validation 1.4.363.0. Windows 11 on an RTX 4090 (NVIDIA 621.14), WinLibs GCC 15.2.0, with VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, VK_LOADER_DEBUG=layer, ANYPS5_NO_SHADER_CACHE=1, ANYPS5_REQUIRE_VULKAN=1, ctest -V. main is d89f26516c plus only the test commit (7821592067, cherry-picked onto it on the Windows machine); the branch is dcde46ce58 + 7821592067 on d89f26516c.

New tests (synthetic RDNA2 programs, no title data):

  • agc_shader_sampler_limits (ShaderMemory.cpp --sampler-limits) adds:
    • 61 table samplers and 4 direct samplers (resources 61 to 64), and 124 + 4 (resources 124 to 127). Each shape is planned, encoded and decoded through ShaderDiskCache::EncodePlan/DecodePlan with no change, compiled, and bound with every image table element paired with its direct sampler's heap elements.
    • 129 samplers refused with sampler resource limit exceeded.
    • 33 direct samplers refused with shader sampler pairs exceed runtime heap capacity.
  • agc_shader_device_profile: 65 direct samplers are now refused by the heap check. 128 samplers with 32 direct fill the 64-element heap, with the same runtime layout as one image.
  • agc_driver_many_table_samplers (new execution test): one compute program with 124 table samplers (S# columns of a record table keyed by a run-time value) and 4 direct samplers, all sampling one image table texel per lane. It checks:
    • the 126 point-clamp samples sum to 126 texels;
    • outside the image, table sampler 64 (wrap) reads the lane's texel and direct sampler 127 (opaque black border) reads its border;
    • the clamp control reads the edge texel there;
    • the image table element is paired with the 8 direct heap elements.
      It skips on devices that bind fewer than 32 samplers per stage, and on lavapipe, where a reviewer measured lane 8 summing 0 through the point-clamp samplers (expected 1039.5) with no VUID while RADV on GCN5, RDNA2 and RDNA3 passes.
Test main + tests this PR
4090 agc_shader_sampler_limits fails 4/4 (3 plain, 1 with the layer): sampler resource limit exceeded passes 4/4
4090 agc_driver_many_table_samplers fails 4/4: ShaderRecompiler::Recompile: sampler resource limit exceeded passes 4/4: 126 point samples, sampler 64 wraps, sampler 127 border, clamp control
4090 regression set (94 ctest entries matching ^agc_.*(sampler, image_table, table_, descriptor, shader_memory, shader_selected, shader_image_limits, shader_bindless, device_profile, disk_cache, image_limits), once with the layer) 92/94, the two failures above 94/94
4090 validation layer inserted in all 49 tests that load Vulkan (55 instances), 0 was not found, 0 VUID- layer inserted in all 49 tests that load Vulkan (55 instances), 0 was not found, 0 VUID-
Mac agc_shader_sampler_limits fails, same message passes
Mac agc_driver_many_table_samplers fails skipped (MoltenVK binds 16 samplers per stage)
Mac regression set (22 agc_shader_* ctest entries; image table, variants, reuse, cache, packed, array views, compute table calls, image sample reduction, disk cache, device profile) 21/22 (sampler limits); execution tests pass 22/22; execution tests pass

The two new tests use a literal 128 samplers, not ShaderInfo::MaxSamplers, so the main build runs the same programs.

agc_shader_device_profile changes its expectation in the feature commit (65 direct samplers are now refused by the heap check, not the metadata check), so it has no main control; it passes on both machines with this PR. On the Mac both trees log the same VUID-vkCreateDescriptorSetLayout-support-09582 lines in the image table tests (MoltenVK maxPerSetDescriptors 1212 against the image table layout); the change adds none.

After merging main c8f72e905c (1ccf597e7c, which includes the layout above and FormatVersion 96), Mac x86_64 Release with the layer: agc_shader_sampler_limits and agc_shader_device_profile pass, agc_driver_many_table_samplers skips (16 samplers per stage), and 88/88 ctest entries matching lod_clamp, image_limits, gather, unnormalized, lod_bias, mirror, fold or agc_shader_ pass. The 14 agc_driver_image_table and agc_driver_image_table_packed* entries exit 0 on both this tree and a main c8f72e905c build and log the same VUID-vkCreateDescriptorSetLayout-support-09582 counts (20 in agc_driver_image_table, 2 in each packed entry, none in unmeasured), so ctest marks 13 of them failed on both. The measurements above this paragraph are from the earlier head.

After merging main ef7dc4452d (a023bcfeb5) and moving FormatVersion to 97 because main reached 96 on its own (5943745842), Mac x86_64 Release with the layer: 121 ctest entries matching the patterns above plus sampler, image_table, disk_cache and device_profile, with every test executable rebuilt, give 102 passed, 6 skipped (agc_driver_many_table_samplers and agc_driver_many_direct_samplers among them) and the same 13 image table entries failed on the ctest VUID regex as before, with the same per-entry VUID-vkCreateDescriptorSetLayout-support-09582 counts. agc_shader_disk_cache, agc_shader_sampler_limits and agc_shader_device_profile pass. Without the layer 120 of 121 pass; agc_driver_image_table_reuse_records crashes under plain ctest (3 of 3 runs) after printing its pass line, in vkDestroyBuffer under Graphics::DestroyDeferredObjects during VulkanDevice teardown; it passes when run directly (8 of 8), under ctest -V and in the run with the layer. This PR does not touch that teardown, and no main build at this hash was run for comparison. The Windows machine was not rerun for this merge.

After merging main e0ef70639d (0dca74e276): main's #26593 placed StorageReadBase at 58560, the ID the earlier head used for FoldOffsetBase, so the four moved bases shift up by 128 to the values in What, and FormatVersion goes to 99 because main reached 98. CI passes on this head. On the Mac agc_driver_many_table_samplers still skips (16 samplers per stage); the other measurements in this section are from the earlier heads named in each paragraph.

Ghostrunner request replay (agc_shader_replay --prepare, ANYPS5_NO_SHADER_CACHE=1, Mac x86_64 Release):

Tree Result
main 973026d9b0 GetImageResource dword 0 refusal at pc 0x51884 (the #7459 chain)
main + this PR same refusal, 20 s
main + #8939 sampler resource limit exceeded
main + #8939 + this PR prepared: 12420660 SPIR-V words, 50-57 s

Title run on the 4090 (main 973026d9b0 + #8939 5eb49d1893 + this PR, PlayGo absent, no input). The shader is no longer refused. At its first use it is recompiled in 1.3 s to 10,335,484 SPIR-V words (1,297 captured regions), and the driver logs creating a pipeline for 10335484 SPIR-V words. Presentation stops (the title bar FPS counter stays at 590 frames from t+30 s on), and at 146 s Unreal aborts with GameThread timed out waiting for RenderThread after 120.00 secs. The thread dump shows NVIDIA driver (nvoglv64) compiler threads busy. There is no VK_ERROR_DEVICE_LOST / Vulkan result -4, so the #5951 device loss does not come back in this run. One queue 0x20 WAIT_REG_MEM_64 timed out after 1 s during the stall.

Not claimed: this PR does not unblock Ghostrunner. It gets past this shader only together with #8939, which is on main since 2026-11-26, and the title then stops on the size of the module: 10-12M SPIR-V words from a 104K-dword shader, about 100-120 words per guest dword. That is the next thing to look at (#13538 reports a 2.5M-word module in Ratchet & Clank: Rift Apart).

Seen while testing, not changed here: on MoltenVK (maxPerStageDescriptorSamplers 16) a shader whose direct sampler elements plus sampler-table elements pass 16 samples wrong without a refusal. main does the same: the test built there (60 table + 4 direct samplers, 63 point samples) lands 15 of the 63 samples on MoltenVK and all 63 on the 4090. With 128 samplers on the Mac (8 direct elements + 12 sampler-table elements) lanes 32-63 lose one sample. That is why the execution test skips below 32 samplers per stage.

Checklist

  • Based on current main; no other open PR implements the same functions (tools/pr_overlap.py --branch: file overlaps only). #12790's Gather ranges are on main now; the merge keeps GatherLodBase and moves GatherLodBiasBase, the only Gather base that cannot stay once it is 128 wide (see above). #16935 (UnnormalizedScaledBase 57792) adds a 64-wide per-sampler range at an ID main already uses for GatherLodBase, so it has to move whichever way this goes; the free space from 59200 to 65535 holds it at 128 wide. #22628 adds BufferKeepsDestinationBase at 58752, inside this PR's FoldOffsetBase range (58688 to 58815), and sets FormatVersion 101; whichever of the two lands second moves its range into the free block from 59200 and takes the next cache format. #22750's range (65792) is on main and clear of this layout.
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source (none)
  • Generic behaviour, not specific to one title
  • Depends on: none (the Ghostrunner result needed #8939, merged into main on 2026-11-26)
  • Fixes: none
  • Unblocks: PPSA03685 #7320 gets past the sampler limit with it, then stops on the pipeline creation of the 10M-word module
  • GPUs tested: NVIDIA GeForce RTX 4090, driver 621.14, Windows 11 26200; Apple M5 Max, MoltenVK (local), macOS 27.0 (Rosetta x86_64)
  • AI-assisted: yes (Claude Code)

Summary by CodeRabbit

  • New Features
    • Shader processing now supports up to 128 samplers, including larger combinations of table-backed and direct samplers.
    • Larger table-backed sampler configurations can use available descriptor capacity more efficiently. Direct sampler allocations remain subject to runtime limits.
    • Improved support for shaders with extensive image and sampler bindings, including configurations with 124 table-backed and 4 direct samplers.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5386620122 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23409). Originally posted by [frankea](https://github.com/frankea) on 2026-11-19T00:41:30Z. --- ### What A shader can now plan up to 128 samplers (`ShaderInfo::MaxSamplers`, was 64). At most 32 of them can be direct (two elements each in the 64-element sampler heap), and the pair limit stays at 256. The cap was not set by a real resource. `BindingAllocator` checked `info.samplers.size()` against `RuntimeAbi::SamplerHeapCapacity`, but that heap only holds direct samplers. Table samplers go through the sampler table, and the compact `ShaderData` the driver uses (`IrBindingLayout::ShaderDataDwords`) carries image metadata only. The fixed `RuntimeAbi::ShaderData.samplers[64]` array is used only by layout `static_assert`s. Two things did depend on 64: - the masks indexed by sampler, namely an image table element's direct samplers (`ImageTableElement::samplers`, filled by `ResolveImageTables`, read by `DescriptorBindingBuilder::Populate`), which were one `uint64_t`; - the per-sampler specialization constant ranges. `FoldOffsetBase` and `MirrorUnnormalizedBase` were 64 IDs wide, so sampler 70's fold offset would have used the ID of sampler 6's base-level switch, and its mirror axes image 6's minimum LOD. (`UnnormalizedBaseLevelBase` was already 128 wide and `SamplerLodBiasBase` ran up to `FmaskFormatBase`.) Changes: - `SamplerMask` (`ShaderInfo.hpp`): `(MaxSamplers + 63) / 64` words with `Set`, `Test` and `ForEach`. `ImageTableElement::samplers` and `ResolveImageTables`' `directSamplers` use it. `Populate` walks its set bits into the 64-bit heap-element mask. - Masks indexed by sampler heap element stay 64-bit, because the heap has 64 elements: `DescriptorBinding::imageSamplers`, `tableSamplerMasks`, and the `Require*`/`ForcesDegammaOn` checks in `Sampler.cpp`. `Prepare` keeps its own 64-element refusal. - `BindingAllocator` no longer compares the sampler count with the heap capacity. Direct samplers are still refused past 32 by the heap check (`shader sampler pairs exceed runtime heap capacity`). - Specialization IDs: every per-sampler range is now 128 wide. The four per-sampler ranges that were 64 wide on `main` move into the free block after `StorageReadBase` (58560, which `main` gave its own 128-wide range in #26593): `FoldOffsetBase` 57344 -> 58688, `MirrorUnnormalizedBase` 57536 -> 58816, `SamplerLodBiasBase` 57728 -> 58944 and `GatherLodBiasBase` 57856 -> 59072 (ends at 59200, below `ImageComponentBase` 65536). `GatherLodBase` stays at 57792 and now runs up to `GatherImageMinLodBase` 57920. `UnnormalizedBaseLevelBase` (57408, already 128 wide), `MinLodBase` and the per-image Gather, FMASK and volume ranges keep their `main` IDs. The `static_assert` chain in `DescriptorBindingBuilder.cpp` follows the new ID order. - `ShaderDiskCache::FormatVersion` 98 -> 99 (main's value is 98), because cached SPIR-V carries the old IDs. - The fragment `docs/dev/debt/changes/feat-shader-sampler-index-masks.md` changes the `docs/dev/debt/shader.md` entry to give the new limits and drop the claim that `ShaderData` sets the cap. This follows #10000 (64 samplers, 64-bit masks) one step further. It is a separate topic from the descriptor Phi in #7459. Why 65 is needed: Ghostrunner (PPSA03685) compute shader 0x200c520000 (104K dwords once #8070/#9068 link its table calls). With #8939 it gets past the #7459 refusal and then plans 65 samplers: 4 direct S# and 61 table sampler columns read from three record buffers. Each column reads its S# at a different offset in the block it selects, so none of them can be merged. ### Tested macOS 27.0 on an Apple M5 Max, x86_64 Release build under Rosetta, MoltenVK (local build) with `VK_LAYER_KHRONOS_validation` 1.4.363.0. Windows 11 on an RTX 4090 (NVIDIA 621.14), WinLibs GCC 15.2.0, with `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, `VK_LOADER_DEBUG=layer`, `ANYPS5_NO_SHADER_CACHE=1`, `ANYPS5_REQUIRE_VULKAN=1`, `ctest -V`. `main` is d89f26516c plus only the test commit (78215920672, cherry-picked onto it on the Windows machine); the branch is dcde46ce584 + 78215920672 on d89f26516c. New tests (synthetic RDNA2 programs, no title data): - `agc_shader_sampler_limits` (`ShaderMemory.cpp --sampler-limits`) adds: - 61 table samplers and 4 direct samplers (resources 61 to 64), and 124 + 4 (resources 124 to 127). Each shape is planned, encoded and decoded through `ShaderDiskCache::EncodePlan`/`DecodePlan` with no change, compiled, and bound with every image table element paired with its direct sampler's heap elements. - 129 samplers refused with `sampler resource limit exceeded`. - 33 direct samplers refused with `shader sampler pairs exceed runtime heap capacity`. - `agc_shader_device_profile`: 65 direct samplers are now refused by the heap check. 128 samplers with 32 direct fill the 64-element heap, with the same runtime layout as one image. - `agc_driver_many_table_samplers` (new execution test): one compute program with 124 table samplers (S# columns of a record table keyed by a run-time value) and 4 direct samplers, all sampling one image table texel per lane. It checks: - the 126 point-clamp samples sum to 126 texels; - outside the image, table sampler 64 (wrap) reads the lane's texel and direct sampler 127 (opaque black border) reads its border; - the clamp control reads the edge texel there; - the image table element is paired with the 8 direct heap elements. It skips on devices that bind fewer than 32 samplers per stage, and on lavapipe, where a reviewer measured lane 8 summing 0 through the point-clamp samplers (expected 1039.5) with no VUID while RADV on GCN5, RDNA2 and RDNA3 passes. | Test | `main` + tests | this PR | |---|---|---| | 4090 `agc_shader_sampler_limits` | fails 4/4 (3 plain, 1 with the layer): `sampler resource limit exceeded` | passes 4/4 | | 4090 `agc_driver_many_table_samplers` | fails 4/4: `ShaderRecompiler::Recompile: sampler resource limit exceeded` | passes 4/4: 126 point samples, sampler 64 wraps, sampler 127 border, clamp control | | 4090 regression set (94 ctest entries matching `^agc_.*(sampler, image_table, table_, descriptor, shader_memory, shader_selected, shader_image_limits, shader_bindless, device_profile, disk_cache, image_limits)`, once with the layer) | 92/94, the two failures above | 94/94 | | 4090 validation | layer inserted in all 49 tests that load Vulkan (55 instances), 0 `was not found`, 0 `VUID-` | layer inserted in all 49 tests that load Vulkan (55 instances), 0 `was not found`, 0 `VUID-` | | Mac `agc_shader_sampler_limits` | fails, same message | passes | | Mac `agc_driver_many_table_samplers` | fails | skipped (MoltenVK binds 16 samplers per stage) | | Mac regression set (22 `agc_shader_*` ctest entries; image table, variants, reuse, cache, packed, array views, compute table calls, image sample reduction, disk cache, device profile) | 21/22 (sampler limits); execution tests pass | 22/22; execution tests pass | The two new tests use a literal 128 samplers, not `ShaderInfo::MaxSamplers`, so the `main` build runs the same programs. `agc_shader_device_profile` changes its expectation in the feature commit (65 direct samplers are now refused by the heap check, not the metadata check), so it has no `main` control; it passes on both machines with this PR. On the Mac both trees log the same `VUID-vkCreateDescriptorSetLayout-support-09582` lines in the image table tests (MoltenVK `maxPerSetDescriptors` 1212 against the image table layout); the change adds none. After merging `main` c8f72e905c (1ccf597e7c4, which includes the layout above and `FormatVersion` 96), Mac x86_64 Release with the layer: `agc_shader_sampler_limits` and `agc_shader_device_profile` pass, `agc_driver_many_table_samplers` skips (16 samplers per stage), and 88/88 ctest entries matching `lod_clamp`, `image_limits`, `gather`, `unnormalized`, `lod_bias`, `mirror`, `fold` or `agc_shader_` pass. The 14 `agc_driver_image_table` and `agc_driver_image_table_packed*` entries exit 0 on both this tree and a `main` c8f72e905c build and log the same `VUID-vkCreateDescriptorSetLayout-support-09582` counts (20 in `agc_driver_image_table`, 2 in each packed entry, none in `unmeasured`), so ctest marks 13 of them failed on both. The measurements above this paragraph are from the earlier head. After merging `main` ef7dc4452df (a023bcfeb59) and moving `FormatVersion` to 97 because `main` reached 96 on its own (5943745842a), Mac x86_64 Release with the layer: 121 ctest entries matching the patterns above plus `sampler`, `image_table`, `disk_cache` and `device_profile`, with every test executable rebuilt, give 102 passed, 6 skipped (`agc_driver_many_table_samplers` and `agc_driver_many_direct_samplers` among them) and the same 13 image table entries failed on the ctest VUID regex as before, with the same per-entry `VUID-vkCreateDescriptorSetLayout-support-09582` counts. `agc_shader_disk_cache`, `agc_shader_sampler_limits` and `agc_shader_device_profile` pass. Without the layer 120 of 121 pass; `agc_driver_image_table_reuse_records` crashes under plain ctest (3 of 3 runs) after printing its pass line, in `vkDestroyBuffer` under `Graphics::DestroyDeferredObjects` during `VulkanDevice` teardown; it passes when run directly (8 of 8), under `ctest -V` and in the run with the layer. This PR does not touch that teardown, and no `main` build at this hash was run for comparison. The Windows machine was not rerun for this merge. After merging `main` e0ef70639d7 (0dca74e2768): `main`'s #26593 placed `StorageReadBase` at 58560, the ID the earlier head used for `FoldOffsetBase`, so the four moved bases shift up by 128 to the values in What, and `FormatVersion` goes to 99 because `main` reached 98. CI passes on this head. On the Mac `agc_driver_many_table_samplers` still skips (16 samplers per stage); the other measurements in this section are from the earlier heads named in each paragraph. Ghostrunner request replay (`agc_shader_replay --prepare`, `ANYPS5_NO_SHADER_CACHE=1`, Mac x86_64 Release): | Tree | Result | |---|---| | `main` 973026d9b0 | `GetImageResource dword 0` refusal at pc 0x51884 (the #7459 chain) | | `main` + this PR | same refusal, 20 s | | `main` + #8939 | `sampler resource limit exceeded` | | `main` + #8939 + this PR | `prepared: 12420660 SPIR-V words`, 50-57 s | Title run on the 4090 (`main` 973026d9b0 + #8939 5eb49d1893 + this PR, PlayGo absent, no input). The shader is no longer refused. At its first use it is recompiled in 1.3 s to 10,335,484 SPIR-V words (1,297 captured regions), and the driver logs `creating a pipeline for 10335484 SPIR-V words`. Presentation stops (the title bar FPS counter stays at 590 frames from t+30 s on), and at 146 s Unreal aborts with `GameThread timed out waiting for RenderThread after 120.00 secs`. The thread dump shows NVIDIA driver (`nvoglv64`) compiler threads busy. There is no `VK_ERROR_DEVICE_LOST` / `Vulkan result -4`, so the #5951 device loss does not come back in this run. One queue 0x20 `WAIT_REG_MEM_64` timed out after 1 s during the stall. Not claimed: this PR does not unblock Ghostrunner. It gets past this shader only together with #8939, which is on `main` since 2026-11-26, and the title then stops on the size of the module: 10-12M SPIR-V words from a 104K-dword shader, about 100-120 words per guest dword. That is the next thing to look at (#13538 reports a 2.5M-word module in Ratchet & Clank: Rift Apart). Seen while testing, not changed here: on MoltenVK (`maxPerStageDescriptorSamplers` 16) a shader whose direct sampler elements plus sampler-table elements pass 16 samples wrong without a refusal. `main` does the same: the test built there (60 table + 4 direct samplers, 63 point samples) lands 15 of the 63 samples on MoltenVK and all 63 on the 4090. With 128 samplers on the Mac (8 direct elements + 12 sampler-table elements) lanes 32-63 lose one sample. That is why the execution test skips below 32 samplers per stage. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions (`tools/pr_overlap.py --branch`: file overlaps only). #12790's Gather ranges are on `main` now; the merge keeps `GatherLodBase` and moves `GatherLodBiasBase`, the only Gather base that cannot stay once it is 128 wide (see above). #16935 (`UnnormalizedScaledBase` 57792) adds a 64-wide per-sampler range at an ID `main` already uses for `GatherLodBase`, so it has to move whichever way this goes; the free space from 59200 to 65535 holds it at 128 wide. #22628 adds `BufferKeepsDestinationBase` at 58752, inside this PR's `FoldOffsetBase` range (58688 to 58815), and sets `FormatVersion` 101; whichever of the two lands second moves its range into the free block from 59200 and takes the next cache format. #22750's range (65792) is on `main` and clear of this layout. - [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) and the licence notice of code adapted from upstream (see AGENTS.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 (none) - [x] Generic behaviour, not specific to one title - [x] Depends on: none (the Ghostrunner result needed #8939, merged into `main` on 2026-11-26) - [x] Fixes: none - [x] Unblocks: PPSA03685 #7320 gets past the sampler limit with it, then stops on the pipeline creation of the 10M-word module - [x] GPUs tested: NVIDIA GeForce RTX 4090, driver 621.14, Windows 11 26200; Apple M5 Max, MoltenVK (local), macOS 27.0 (Rosetta x86_64) - [x] AI-assisted: yes (Claude Code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Shader processing now supports up to 128 samplers, including larger combinations of table-backed and direct samplers. * Larger table-backed sampler configurations can use available descriptor capacity more efficiently. Direct sampler allocations remain subject to runtime limits. * Improved support for shaders with extensive image and sampler bindings, including configurations with 124 table-backed and 4 direct samplers. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
MarcZX10 commented 2026-11-19 05:28:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T05:28:59Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the review supports merging, and the author’s reported test results are noted separately from checks run here.

What I ran

Reviewed head 78215920672a678990398ee13c2d660b23ceb90a. No build or tests were run. I inspected the prepared diff and changed code through repo_read.py.

Files read: description.md, commits.md, manifest.json, diff.patch, ShaderDeviceProfile.cpp, the changed section of ShaderMemory.cpp, ManyTableSamplers.cpp, ShaderInfo.hpp, BindingAllocator.cpp, DescriptorBindingBuilder.cpp, ResourceMaterializer.cpp, PipelineSpecialization.hpp, and shader.md. files.json was not available as a review document; list_files confirmed the changed-file inventory. All 11 files marked reviewed in the manifest were inspected; ShaderMemory.cpp was read through the reader because its full text was excluded from the review folder.

Results

Check Result Note
Diff and changed-code review passed No concrete defect found
Build and tests not run Reported results are author-supplied
Remaining file contents not applicable All reviewed files were inspected

Findings

Blocking

None.

Non-blocking

None.

Not verified

The author reports successful tests on Windows with an RTX 4090 and on macOS with MoltenVK, including validation-layer runs. Those results were not independently reproduced. Hardware behavior and the changed test execution were not run in this review.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5969781515 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23409#pullrequestreview-5969781515). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T05:28:59Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the review supports merging, and the author’s reported test results are noted separately from checks run here. ## What I ran Reviewed head `78215920672a678990398ee13c2d660b23ceb90a`. No build or tests were run. I inspected the prepared diff and changed code through `repo_read.py`. Files read: `description.md`, `commits.md`, `manifest.json`, `diff.patch`, `ShaderDeviceProfile.cpp`, the changed section of `ShaderMemory.cpp`, `ManyTableSamplers.cpp`, `ShaderInfo.hpp`, `BindingAllocator.cpp`, `DescriptorBindingBuilder.cpp`, `ResourceMaterializer.cpp`, `PipelineSpecialization.hpp`, and `shader.md`. `files.json` was not available as a review document; `list_files` confirmed the changed-file inventory. All 11 files marked `reviewed` in the manifest were inspected; `ShaderMemory.cpp` was read through the reader because its full text was excluded from the review folder. ## Results | Check | Result | Note | |---|---|---| | Diff and changed-code review | passed | No concrete defect found | | Build and tests | not run | Reported results are author-supplied | | Remaining file contents | not applicable | All reviewed files were inspected | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The author reports successful tests on Windows with an RTX 4090 and on macOS with MoltenVK, including validation-layer runs. Those results were not independently reproduced. Hardware behavior and the changed test execution were not run in this review. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-20 19:07:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T19:07:32Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this; the points below are optional.

What I ran

Reviewed head 1ccf597e7c47732af75daf661731b9fc1d45e967 against base main; no merged-preview check or test command was run. Read the prepared diff and targeted source context through repo_read.py.

Results

Check Result Note
Diff and source review passed Sampler mask and specialization ranges inspected
Tests not run Author-reported results are not independently verified
Changed-file coverage not run One oversized changed test source was excluded

Findings

Blocking

None.

Non-blocking

None.

Not verified

core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp was excluded from the review bundle because it was too large; only its changed hunk was read through repo_read.py. No tests or builds were run. Reported platform results and runtime behavior were not independently verified.

Files read: core/libs/prx/libSceAgcDriver/tests/ShaderDeviceProfile.cpp, core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp (changed range only), core/libs/prx/libSceAgcDriver/tests/execution/ManyTableSamplers.cpp, core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ShaderInfo.hpp, core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp, core/shader/recompiler/Optimization/src/BindingAllocator.cpp, core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp, core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp, core/shader/recompiler/PipelineSpecialization.hpp, core/shader/recompiler/ShaderDiskCache.hpp, and relevant CMake test-registration lines. docs/dev/debt/shader.md was not read from the repository. No files listed as excluded by rule in files.json were available to inspect; that list was not present in the review bundle.

To get this to a good state

Nothing is required. Optional: run the focused sampler-limit and many-table-sampler tests on the pinned head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5997986403 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23409#pullrequestreview-5997986403). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T19:07:32Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this; the points below are optional. ## What I ran Reviewed head `1ccf597e7c47732af75daf661731b9fc1d45e967` against base `main`; no merged-preview check or test command was run. Read the prepared diff and targeted source context through `repo_read.py`. ## Results | Check | Result | Note | |---|---|---| | Diff and source review | passed | Sampler mask and specialization ranges inspected | | Tests | not run | Author-reported results are not independently verified | | Changed-file coverage | not run | One oversized changed test source was excluded | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` was excluded from the review bundle because it was too large; only its changed hunk was read through `repo_read.py`. No tests or builds were run. Reported platform results and runtime behavior were not independently verified. Files read: `core/libs/prx/libSceAgcDriver/tests/ShaderDeviceProfile.cpp`, `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` (changed range only), `core/libs/prx/libSceAgcDriver/tests/execution/ManyTableSamplers.cpp`, `core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ShaderInfo.hpp`, `core/shader/recompiler/Optimization/include/Optimization/ResourceMaterializer.hpp`, `core/shader/recompiler/Optimization/src/BindingAllocator.cpp`, `core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`, `core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`, `core/shader/recompiler/PipelineSpecialization.hpp`, `core/shader/recompiler/ShaderDiskCache.hpp`, and relevant CMake test-registration lines. `docs/dev/debt/shader.md` was not read from the repository. No files listed as excluded by rule in `files.json` were available to inspect; that list was not present in the review bundle. ## To get this to a good state Nothing is required. Optional: run the focused sampler-limit and many-table-sampler tests on the pinned head.
MarcZX10 commented 2026-11-22 17:49:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T17:49:21Z.

Review: APPROVED


Reviewed — looks good

The sampler limit, mask, and specialization ID changes appear consistent with the inspected code; no blocking defect was verified. The change and targeted source context were reviewed at head 5943745842a649e4a88950141ed8ef6062cb4fba.

What I ran

Read the prepared diff and source through repo_read.py; no tests or builds were run. The author reports platform test results in the PR description; these were not run by this review.

Results

Check Result Note
Diff and targeted source review passed No concrete defect found
Tests and build not run Author-reported results only

Findings

Blocking

None.

Non-blocking

None.

Not verified

core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp was excluded from the review folder due to size, and its full text was not read. No tests, builds, runtime behavior, or author-reported results were independently verified.

Files read: review/description.md, review/commits.md, review/manifest.json, review/diff.patch, core/libs/prx/libSceAgcDriver/tests/ShaderDeviceProfile.cpp, core/libs/prx/libSceAgcDriver/tests/execution/ManyTableSamplers.cpp, core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ShaderInfo.hpp, core/shader/recompiler/Optimization/src/BindingAllocator.cpp, core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp, core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp, core/shader/recompiler/PipelineSpecialization.hpp, and core/shader/recompiler/ShaderDiskCache.hpp. The remaining changed file docs/dev/debt/shader.md and the excluded ShaderMemory.cpp were not read in full.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6013588540 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23409#pullrequestreview-6013588540). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T17:49:21Z. **Review:** APPROVED --- # Reviewed — looks good The sampler limit, mask, and specialization ID changes appear consistent with the inspected code; no blocking defect was verified. The change and targeted source context were reviewed at head `5943745842a649e4a88950141ed8ef6062cb4fba`. ## What I ran Read the prepared diff and source through `repo_read.py`; no tests or builds were run. The author reports platform test results in the PR description; these were not run by this review. ## Results | Check | Result | Note | |---|---|---| | Diff and targeted source review | passed | No concrete defect found | | Tests and build | not run | Author-reported results only | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` was excluded from the review folder due to size, and its full text was not read. No tests, builds, runtime behavior, or author-reported results were independently verified. Files read: `review/description.md`, `review/commits.md`, `review/manifest.json`, `review/diff.patch`, `core/libs/prx/libSceAgcDriver/tests/ShaderDeviceProfile.cpp`, `core/libs/prx/libSceAgcDriver/tests/execution/ManyTableSamplers.cpp`, `core/shader/recompiler/IntermediateRepresentation/include/IntermediateRepresentation/IrMetadata/ShaderInfo.hpp`, `core/shader/recompiler/Optimization/src/BindingAllocator.cpp`, `core/shader/recompiler/Optimization/src/DescriptorBindingBuilder.cpp`, `core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp`, `core/shader/recompiler/PipelineSpecialization.hpp`, and `core/shader/recompiler/ShaderDiskCache.hpp`. The remaining changed file `docs/dev/debt/shader.md` and the excluded `ShaderMemory.cpp` were not read in full. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-26 15:47:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-26T15:47:47Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this change; the inspected sampler widening and table-to-direct mask conversion look consistent, with execution test registration still unverified.

What I ran

Reviewed head 53d73726d06d50d658c1a994c70f41abe5909cc7 using the prepared diff and repository reader. No build or tests were run.

Results

Check Result Note
Diff and targeted source review passed Core changes inspected
Build and tests not run Author reports runs; not independently verified
Execution test registration not run No registration match found in the inspected test directory

Findings

Blocking

None.

Non-blocking

  • Please confirm the new ManyTableSamplers.cpp execution test is included by the build/test configuration. The source is present, but a content search in the tests directory found no reference to ManyTableSamplers.

Not verified

core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp is listed as excluded from the review bundle because it is too large; only targeted ranges were read through the repository reader. The execution test registration path and actual build/test results were not verified. Other changed files marked reviewed in manifest.json were read in targeted ranges; the new debt fragment, ShaderDeviceProfile.cpp, ManyTableSamplers.cpp, ShaderInfo.hpp, BindingAllocator.cpp, DescriptorBindingBuilder.cpp, ResourceMaterializer.cpp, PipelineSpecialization.hpp, and ShaderDiskCache.hpp were inspected.

To get this to a good state

Nothing is required. Optional: confirm the execution test registration.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6077013835 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23409#pullrequestreview-6077013835). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-26T15:47:47Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this change; the inspected sampler widening and table-to-direct mask conversion look consistent, with execution test registration still unverified. ## What I ran Reviewed head `53d73726d06d50d658c1a994c70f41abe5909cc7` using the prepared diff and repository reader. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff and targeted source review | passed | Core changes inspected | | Build and tests | not run | Author reports runs; not independently verified | | Execution test registration | not run | No registration match found in the inspected test directory | ## Findings ### Blocking None. ### Non-blocking - Please confirm the new `ManyTableSamplers.cpp` execution test is included by the build/test configuration. The source is present, but a content search in the tests directory found no reference to `ManyTableSamplers`. ## Not verified `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` is listed as excluded from the review bundle because it is too large; only targeted ranges were read through the repository reader. The execution test registration path and actual build/test results were not verified. Other changed files marked reviewed in `manifest.json` were read in targeted ranges; the new debt fragment, `ShaderDeviceProfile.cpp`, `ManyTableSamplers.cpp`, `ShaderInfo.hpp`, `BindingAllocator.cpp`, `DescriptorBindingBuilder.cpp`, `ResourceMaterializer.cpp`, `PipelineSpecialization.hpp`, and `ShaderDiskCache.hpp` were inspected. ## To get this to a good state Nothing is required. Optional: confirm the execution test registration.
MarcZX10 commented 2026-11-29 05:52:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-29T05:52:33Z.

Review: COMMENTED


Reviewed — no blocking findings

The change supports up to 128 planned samplers while keeping direct samplers within the 64 element heap; I found no verified defect, but did not run the checks needed to justify approval.

What I ran

Reviewed head 0dca74e2768b89b75d9003c2a40bf4c7dd10957f. I read all 10 changed files, including the added lines of ShaderMemory.cpp through repo_read.py. No commands or tests were run; hardware and CI results in the description are author reported.

Results

Check Result Note
Source review passed All changed files read
Tests not run Hardware results are author reported

Findings

Blocking

None.

Non-blocking

None.

Not verified

Builds, tests, and runtime behavior were not independently verified. The review bundle excluded the full ShaderMemory.cpp text, but I read its changed lines from the pinned repository head. No other changed files were excluded from review.

To get this to a good state

Nothing is required. The author reported test results are useful context, but were not independently rerun.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6101645421 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23409#pullrequestreview-6101645421). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-29T05:52:33Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The change supports up to 128 planned samplers while keeping direct samplers within the 64 element heap; I found no verified defect, but did not run the checks needed to justify approval. ## What I ran Reviewed head `0dca74e2768b89b75d9003c2a40bf4c7dd10957f`. I read all 10 changed files, including the added lines of `ShaderMemory.cpp` through `repo_read.py`. No commands or tests were run; hardware and CI results in the description are author reported. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | All changed files read | | Tests | not run | Hardware results are author reported | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Builds, tests, and runtime behavior were not independently verified. The review bundle excluded the full `ShaderMemory.cpp` text, but I read its changed lines from the pinned repository head. No other changed files were excluded from review. ## To get this to a good state Nothing is required. The author reported test results are useful context, but were not independently rerun.
Plyxen commented 2026-12-03 06:04:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Plyxen on 2026-12-03T06:04:00Z.

Review: APPROVED


I read the diff at 0dca74e276. Windows 11, GCC 15.2, merged into main at cf556db18c3 together with other open PRs (so not an isolated build), with ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 and VK_LAYER_KHRONOS_validation on an RTX 5080 (621.24) and a Radeon iGPU (26.11.2).

  • agc_driver_many_table_samplers, agc_shader_device_profile and the 43 tests of agc_shader_memory_tests: pass on both GPUs. The loader log shows the layer inserted and no "was not found" line, and neither run has a VUID- or SYNC-HAZARD line.
  • Control (same tree and tests, the changed files of those PRs put back to main's): the first two fail on both GPUs (agc_shader_device_profile: "unexpected profile validation error").

Not checked: a title.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6164482606 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23409#pullrequestreview-6164482606). Originally posted by [Plyxen](https://github.com/Plyxen) on 2026-12-03T06:04:00Z. **Review:** APPROVED --- I read the diff at `0dca74e276`. Windows 11, GCC 15.2, merged into `main` at `cf556db18c3` together with other open PRs (so not an isolated build), with `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1` and `VK_LAYER_KHRONOS_validation` on an RTX 5080 (621.24) and a Radeon iGPU (26.11.2). - `agc_driver_many_table_samplers`, `agc_shader_device_profile` and the 43 tests of `agc_shader_memory_tests`: pass on both GPUs. The loader log shows the layer inserted and no "was not found" line, and neither run has a `VUID-` or `SYNC-HAZARD` line. - Control (same tree and tests, the changed files of those PRs put back to `main`'s): the first two fail on both GPUs (`agc_shader_device_profile`: "unexpected profile validation error"). Not checked: a title. AI-assisted: yes (Claude Code)
ligmaSec commented 2026-12-03 21:59:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T21:59:13Z.

Review: COMMENTED


The patch widens resource-index masks to 128 bits while keeping direct heap-element occupancy at 64 bits. The execution fixture checks table sampler 64 and direct sampler 127 with distinct results. That fixture explicitly skips llvmpipe because of a known wrong readback there. Please report the hardware execution separately from the paired shader-memory controls, which are queued locally and can verify the planning limits without exercising that hardware readback.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6179340316 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23409#pullrequestreview-6179340316). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T21:59:13Z. **Review:** COMMENTED --- The patch widens resource-index masks to 128 bits while keeping direct heap-element occupancy at 64 bits. The execution fixture checks table sampler 64 and direct sampler 127 with distinct results. That fixture explicitly skips llvmpipe because of a known wrong readback there. Please report the hardware execution separately from the paired shader-memory controls, which are queued locally and can verify the planning limits without exercising that hardware readback. AI-assisted: yes.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/23409:upstream-pr/23409'
git switch 'upstream-pr/23409'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/23409'
git switch 'upstream-pr/23409'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/23409'
git switch 'upstream-pr/23409'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/23409'
git switch 'main'
git merge --squash 'upstream-pr/23409'
git switch 'main'
git merge --ff-only 'upstream-pr/23409'
git switch 'main'
git merge 'upstream-pr/23409'
git push origin 'main'
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!23409
No description provided.