fix(agc): accept PS4 tile modes on 1D array textures #21944

Merged
B-Howell merged 2 commits from upstream-pr/21944 into main 2026-11-19 22:19:19 +00:00
B-Howell commented 2026-11-16 22:40:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by B-Howell on 2026-11-16T22:40:40Z.


What

A PS4 1D array T# with a tiled PS4 tile mode was rejected with guest 1D array texture descriptor uses a tile mode other than linear, Z or R, which 1D resources cannot use. That rule (#eb30830da3) is the GFX10 addrlib one: Gfx10Rsrc1dSwModeMask = Gfx10LinearSwModeMask | Gfx10RenderSwModeMask | Gfx10ZSwModeMask (gfx10addrlib.h), checked against the resourceType field of ADDR2_COMPUTE_SURFACE_INFO_INPUT. It applies to RDNA SW_MODE swizzles.

A PS4 T# does not carry a SW_MODE. Its TILING_INDEX names an entry of the GCN tile mode table, which resolveGcnTileMode already maps to kGcnThin1D, kGcnDisplay1D, kGcnThin2D and the others, so every PS4 tiled index failed the check, ARRAY_1D_TILED_THIN1 included. GCN addrlib has no resource dimension at all: ADDR_COMPUTE_SURFACE_INFO_INPUT takes tileMode, width, height, numSlices and flags, with no 1D/2D type (addrinterface.h), so a 1D array is laid out like a height-1 2D array with the same tile mode. shadPS4 does the same: ImageInfo::UpdateSize calls ComputeImageSize(pitch, size.height, size.depth, resources.levels, resources.layers, ..., tile_mode, array_mode, ...) for every image type, and GetBaseType folds Color1DArray into Color1D (image_info.cpp, resource.h).

The check now applies only to RDNA descriptors. PS4 1D arrays go through ComputeGcnMipLayout like PS4 2D arrays already do; thick modes stay rejected there for anything but 3D. The RDNA rejection now prints the descriptor, like the other rejections in DecodeTextureResource. No debt change: nothing new is left unimplemented.

The test decodes PS4 1D array T#s with tile indices 5, 9, 13 and 14 and checks that each decodes to its PS4 tile mode and has the same layers, layer size, guest size, level size and pitch as the same T# typed as a 2D array. The RDNA cases (0x05 and 0x19 still rejected; Z_X and R_X accepted) are unchanged.

Tested

Windows 11 Pro 10.0.26300, WinLibs GCC 15.2.0 r7, Release, NVIDIA GeForce RTX 4080 SUPER, driver 621.14, Khronos validation layer 1.4.363.1 through VK_ADD_LAYER_PATH. ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer ctest --test-dir build-win -R "^(agc_graphics_profile_draw|agc_driver_gcn_.*)$" -V. agc_graphics_profile_draw is the ctest entry that runs RunGuestTextureResourceTests.

main decode + new test this PR
tests 11/12; agc_graphics_profile_draw fails with guest 1D array texture descriptor uses a tile mode other than linear, Z or R, which 1D resources cannot use 12/12
Insert instance layer "VK_LAYER_KHRONOS_validation" 11 11
was not found but was requested by env var VK_INSTANCE_LAYERS 0 0
VUID- 0 0

Both arms were built in one tree, main plus the open fixes Bloodborne needs to reach this point (#17105, #17711, #21832, #20156). None of them touch GuestTextureResource.cpp or its test, and both files are the same on that base and on this PR's base. The control arm swapped in main's GuestTextureResource.cpp.

Title: Bloodborne CUSA00900 01.09 (my own copy), on the same combined tree. With main's decode it stops about 1.5 s in, at its first presentation, with the message above. With this change that presentation succeeds. In one 60 s run it then loaded gxshader, systex, gxgui, gxrenderershader, gxposteffect and gxflvershader, ran two more compute shaders and stopped at compute shader 0x2d1f00900: buffer specialization has an unsupported format. That is a separate stop for a follow-up PR. In five other runs it stalled soon after the first compute dispatch, before it opened /data/cache.bin, with no error and no GPU queue stall reported (APS5_STALL_WATCHDOG_SECS=10). That stall is not investigated here.

theGodspeed1999 (comment): Windows 10 Pro 22H2 (19045), NVIDIA GeForce RTX 3060 Ti, driver 617.42, WinLibs GCC 15.2.0 r7, Release, this head c3d543e22c on main ef7c67b55f together with #13147 and #21345. ctest -R "agc|shader|stencil|depth|cmask|texture": 2,007/2,010 passed, texture resource tests included; the 3 failures also fail on main (agc_driver_stencil_plane_memory, #22427; agc_driver_store_over_untracked and agc_driver_upload_cache_read_only_flush, #22358). Combined set only; Linux and macOS not run.

Colewiz7 (comment): Linux 7.3.4, GCC 16.2.1, Release, Mesa 26.2.6 RADV, AMD Radeon RX 7900 XT (gfx1100) and Ryzen 7800X3D iGPU (gfx1036), this head c3d543e22c on main 2a7f0786d2. Full suite (6,057 tests) and -R '^agc' (1,936 tests) with VK_LAYER_KHRONOS_validation 1.4.363.1, ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1: no new failures against main on either GPU, layer inserted in every run, 0 VUID- and 0 SYNC-HAZARD lines.

python3 tools/check_conventions.py --base origin/main passes. tools/pr_overlap.py --branch reports #21501, which adds tests at the same place at the end of tests/GuestTextureResource.cpp, so the overlap is textual only. It could not compare #9895 and #13796, which conflict with main. I read their diffs: neither changes the 1D array tile mode check.

eaglescoutmaster (comment): Windows 11 Pro build 26300, NVIDIA GeForce RTX 5080, driver 617.14, WinLibs GCC 15.2.0 r7, Release, this head c3d543e22c applied onto main afe88d44ad. agc_graphics_profile_draw, agc_driver_graphics and eight agc_driver_gcn_* tests, 3 runs per side: 30 of 30 on main and 30 of 30 with this PR; the 51 runnable agc_driver_graphics_tests cases have the same pass set on both. agc_graphics_profile_draw also passes on main there, so this shows no regression, not the fix. No validation layer, so no VUID- check; agc_driver_gcn_display_present and its trigger test were not run.

Merge of main 6ee75a3d82 (2026-11-19, head b4527c025d): tests/GuestTextureResource.cpp conflicted because main added RunRememberedRejectionTests(); at the end of the same function; kept both, this PR's 1D array checks first. Windows 11 Pro 10.0.26300, WinLibs GCC 15.2.0 r7, Release, RTX 4080 SUPER, driver 621.14: rebuilt agc_driver_graphics_tests; agc_graphics_profile_draw passes 3 of 3 runs (--repeat until-fail:3) with ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1, no VUID- line in the log. python3 tools/check_conventions.py --base origin/main passes.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: CUSA00900 Bloodborne #3094
  • GPUs tested: NVIDIA GeForce RTX 4080 SUPER, driver 621.14, Windows 11 Pro 10.0.26300; NVIDIA GeForce RTX 3060 Ti, driver 617.42, Windows 10 Pro 22H2 (theGodspeed1999); AMD Radeon RX 7900 XT and 7800X3D iGPU, Mesa 26.2.6 RADV, Linux 7.3.4 (Colewiz7)
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5346517614 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/21944). Originally posted by [B-Howell](https://github.com/B-Howell) on 2026-11-16T22:40:40Z. --- ### What A PS4 1D array T# with a tiled PS4 tile mode was rejected with `guest 1D array texture descriptor uses a tile mode other than linear, Z or R, which 1D resources cannot use`. That rule (#eb30830da3a) is the GFX10 addrlib one: `Gfx10Rsrc1dSwModeMask = Gfx10LinearSwModeMask | Gfx10RenderSwModeMask | Gfx10ZSwModeMask` ([gfx10addrlib.h](https://github.com/GPUOpen-Drivers/pal/blob/c5e800072a32f68b6ccc4422936d96167c6e0728/src/core/imported/addrlib/src/gfx10/gfx10addrlib.h#L133-L135)), checked against the `resourceType` field of `ADDR2_COMPUTE_SURFACE_INFO_INPUT`. It applies to RDNA `SW_MODE` swizzles. A PS4 T# does not carry a `SW_MODE`. Its `TILING_INDEX` names an entry of the GCN tile mode table, which `resolveGcnTileMode` already maps to `kGcnThin1D`, `kGcnDisplay1D`, `kGcnThin2D` and the others, so every PS4 tiled index failed the check, `ARRAY_1D_TILED_THIN1` included. GCN addrlib has no resource dimension at all: `ADDR_COMPUTE_SURFACE_INFO_INPUT` takes `tileMode`, `width`, `height`, `numSlices` and flags, with no 1D/2D type ([addrinterface.h](https://github.com/openbsd/xenocara/blob/1b39033df8d928ec247ca64448c4a63c72302db7/lib/mesa/src/amd/addrlib/inc/addrinterface.h#L572-L603)), so a 1D array is laid out like a height-1 2D array with the same tile mode. shadPS4 does the same: `ImageInfo::UpdateSize` calls `ComputeImageSize(pitch, size.height, size.depth, resources.levels, resources.layers, ..., tile_mode, array_mode, ...)` for every image type, and `GetBaseType` folds `Color1DArray` into `Color1D` ([image_info.cpp](https://github.com/shadps4-emu/shadPS4/blob/143b58aa48bfe5ad170d45bbae14b257a240777a/src/video_core/texture_cache/image_info.cpp#L183-L208), [resource.h](https://github.com/shadps4-emu/shadPS4/blob/143b58aa48bfe5ad170d45bbae14b257a240777a/src/video_core/amdgpu/resource.h#L301-L311)). The check now applies only to RDNA descriptors. PS4 1D arrays go through `ComputeGcnMipLayout` like PS4 2D arrays already do; thick modes stay rejected there for anything but 3D. The RDNA rejection now prints the descriptor, like the other rejections in `DecodeTextureResource`. No debt change: nothing new is left unimplemented. The test decodes PS4 1D array T#s with tile indices 5, 9, 13 and 14 and checks that each decodes to its PS4 tile mode and has the same layers, layer size, guest size, level size and pitch as the same T# typed as a 2D array. The RDNA cases (0x05 and 0x19 still rejected; Z_X and R_X accepted) are unchanged. ### Tested Windows 11 Pro 10.0.26300, WinLibs GCC 15.2.0 r7, Release, NVIDIA GeForce RTX 4080 SUPER, driver 621.14, Khronos validation layer 1.4.363.1 through `VK_ADD_LAYER_PATH`. `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer ctest --test-dir build-win -R "^(agc_graphics_profile_draw|agc_driver_gcn_.*)$" -V`. `agc_graphics_profile_draw` is the ctest entry that runs `RunGuestTextureResourceTests`. | | main decode + new test | this PR | |---|---|---| | tests | 11/12; `agc_graphics_profile_draw` fails with `guest 1D array texture descriptor uses a tile mode other than linear, Z or R, which 1D resources cannot use` | 12/12 | | `Insert instance layer "VK_LAYER_KHRONOS_validation"` | 11 | 11 | | `was not found but was requested by env var VK_INSTANCE_LAYERS` | 0 | 0 | | `VUID-` | 0 | 0 | Both arms were built in one tree, `main` plus the open fixes Bloodborne needs to reach this point (#17105, #17711, #21832, #20156). None of them touch `GuestTextureResource.cpp` or its test, and both files are the same on that base and on this PR's base. The control arm swapped in `main`'s `GuestTextureResource.cpp`. Title: Bloodborne CUSA00900 01.09 (my own copy), on the same combined tree. With `main`'s decode it stops about 1.5 s in, at its first presentation, with the message above. With this change that presentation succeeds. In one 60 s run it then loaded `gxshader`, `systex`, `gxgui`, `gxrenderershader`, `gxposteffect` and `gxflvershader`, ran two more compute shaders and stopped at `compute shader 0x2d1f00900: buffer specialization has an unsupported format`. That is a separate stop for a follow-up PR. In five other runs it stalled soon after the first compute dispatch, before it opened `/data/cache.bin`, with no error and no GPU queue stall reported (`APS5_STALL_WATCHDOG_SECS=10`). That stall is not investigated here. theGodspeed1999 ([comment](https://github.com/boykopovar/AnyPS5/pull/21944#issuecomment-6961213178)): Windows 10 Pro 22H2 (19045), NVIDIA GeForce RTX 3060 Ti, driver 617.42, WinLibs GCC 15.2.0 r7, Release, this head `c3d543e22c` on `main` `ef7c67b55f` together with #13147 and #21345. `ctest -R "agc|shader|stencil|depth|cmask|texture"`: 2,007/2,010 passed, texture resource tests included; the 3 failures also fail on `main` (`agc_driver_stencil_plane_memory`, #22427; `agc_driver_store_over_untracked` and `agc_driver_upload_cache_read_only_flush`, #22358). Combined set only; Linux and macOS not run. Colewiz7 ([comment](https://github.com/boykopovar/AnyPS5/pull/21944#issuecomment-6989307065)): Linux 7.3.4, GCC 16.2.1, Release, Mesa 26.2.6 RADV, AMD Radeon RX 7900 XT (gfx1100) and Ryzen 7800X3D iGPU (gfx1036), this head `c3d543e22c` on `main` `2a7f0786d2`. Full suite (6,057 tests) and `-R '^agc'` (1,936 tests) with `VK_LAYER_KHRONOS_validation` 1.4.363.1, `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1`: no new failures against `main` on either GPU, layer inserted in every run, 0 `VUID-` and 0 `SYNC-HAZARD` lines. `python3 tools/check_conventions.py --base origin/main` passes. `tools/pr_overlap.py --branch` reports #21501, which adds tests at the same place at the end of `tests/GuestTextureResource.cpp`, so the overlap is textual only. It could not compare #9895 and #13796, which conflict with `main`. I read their diffs: neither changes the 1D array tile mode check. eaglescoutmaster ([comment](https://github.com/boykopovar/AnyPS5/pull/21944#issuecomment-7003323515)): Windows 11 Pro build 26300, NVIDIA GeForce RTX 5080, driver 617.14, WinLibs GCC 15.2.0 r7, Release, this head `c3d543e22c` applied onto `main` `afe88d44ad`. `agc_graphics_profile_draw`, `agc_driver_graphics` and eight `agc_driver_gcn_*` tests, 3 runs per side: 30 of 30 on `main` and 30 of 30 with this PR; the 51 runnable `agc_driver_graphics_tests` cases have the same pass set on both. `agc_graphics_profile_draw` also passes on `main` there, so this shows no regression, not the fix. No validation layer, so no `VUID-` check; `agc_driver_gcn_display_present` and its trigger test were not run. Merge of `main` `6ee75a3d82` (2026-11-19, head `b4527c025d`): `tests/GuestTextureResource.cpp` conflicted because `main` added `RunRememberedRejectionTests();` at the end of the same function; kept both, this PR's 1D array checks first. Windows 11 Pro 10.0.26300, WinLibs GCC 15.2.0 r7, Release, RTX 4080 SUPER, driver 621.14: rebuilt `agc_driver_graphics_tests`; `agc_graphics_profile_draw` passes 3 of 3 runs (`--repeat until-fail:3`) with `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1`, no `VUID-` line in the log. `python3 tools/check_conventions.py --base origin/main` passes. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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) 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 - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: CUSA00900 Bloodborne #3094 - [x] GPUs tested: NVIDIA GeForce RTX 4080 SUPER, driver 621.14, Windows 11 Pro 10.0.26300; NVIDIA GeForce RTX 3060 Ti, driver 617.42, Windows 10 Pro 22H2 (theGodspeed1999); AMD Radeon RX 7900 XT and 7800X3D iGPU, Mesa 26.2.6 RADV, Linux 7.3.4 (Colewiz7) - [x] AI-assisted: yes
MarcZX10 commented 2026-11-17 06:21:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-17T06:21:36Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this; the points below are optional.

What I ran

  • Head: c3d543e22c (base main). No merged-preview check was run.
  • Environment: none. No build or test was run in this review; the author's test run is reported in the PR description only.
  • Commands (reader script repo_read.py, read-only):
python3 repo_read.py search ComputeGcnMipLayout
python3 repo_read.py search GcnImageWords
python3 repo_read.py search IsGcnThick
python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp 290 345
python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp 355 372
python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp 463 500
python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp 500 540
python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp 541 548
python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp 114 142
python3 repo_read.py cat core/shader/recompiler/RdnaDecoder/src/RdnaDescriptorFormat.cpp 245 262

Results

Check Result Note
Changed decode check passed The RDNA-only check holds
New test block passed Compares 1D array with 2D array layout
Thick modes on non-3D passed Still rejected for 1D arrays
Build and unit tests not run Author-reported only
Convention check not run Author-reported only

Findings

Blocking

None.

Non-blocking

None.

Sources

Not verified

  • The build and the test run. The author reports 12/12 on Windows with the stated toolchain; I did not run it, and the expected values in the new test (for example gcnPitch == 128) rest on that run.
  • Detiling of PS4 1D arrays with micro or macro tile modes. The new test compares layout geometry only, not detiled pixels. I did not read the detiler path.
  • The shadPS4 and addrlib links in the description. I did not open them.
  • tools/check_conventions.py. Not run here.
  • Whole-file reads: I read the changed ranges and their context (see What I ran). The full 457-line GuestTextureResource.cpp and the full test file were not read in one piece.
  • Files read: both files in files.json under reviewed, in the ranges above. Excluded by rule: none.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5933927863 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/21944#pullrequestreview-5933927863). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-17T06:21:36Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this; the points below are optional. ## What I ran - Head: c3d543e22c9909c51d45ab717390111410ec190b (base main). No merged-preview check was run. - Environment: none. No build or test was run in this review; the author's test run is reported in the PR description only. - Commands (reader script `repo_read.py`, read-only): ``` python3 repo_read.py search ComputeGcnMipLayout python3 repo_read.py search GcnImageWords python3 repo_read.py search IsGcnThick python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp 290 345 python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp 355 372 python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp 463 500 python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp 500 540 python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp 541 548 python3 repo_read.py cat core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp 114 142 python3 repo_read.py cat core/shader/recompiler/RdnaDecoder/src/RdnaDescriptorFormat.cpp 245 262 ``` ## Results | Check | Result | Note | |---|---|---| | Changed decode check | passed | The RDNA-only check holds | | New test block | passed | Compares 1D array with 2D array layout | | Thick modes on non-3D | passed | Still rejected for 1D arrays | | Build and unit tests | not run | Author-reported only | | Convention check | not run | Author-reported only | ## Findings **Blocking** None. **Non-blocking** None. ## Sources - [GuestTextureResource.cpp#L324](https://github.com/boykopovar/AnyPS5/blob/c3d543e22c9909c51d45ab717390111410ec190b/core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp#L324): the `gcn ||` bypass on the 1D array tile mode check. - [TextureTiling.cpp#L669](https://github.com/boykopovar/AnyPS5/blob/c3d543e22c9909c51d45ab717390111410ec190b/core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp#L669): PS4 thick tile modes are only implemented for 3D. - [TextureTiling.cpp#L463-L524](https://github.com/boykopovar/AnyPS5/blob/c3d543e22c9909c51d45ab717390111410ec190b/core/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cpp#L463-L524): `ComputeGcnMipLayout` takes the layers and tile mode with no 1D special case. - [tests/GuestTextureResource.cpp#L813-L827](https://github.com/boykopovar/AnyPS5/blob/c3d543e22c9909c51d45ab717390111410ec190b/core/libs/prx/libSceAgcDriver/tests/GuestTextureResource.cpp#L813-L827): the new test block. ## Not verified - The build and the test run. The author reports 12/12 on Windows with the stated toolchain; I did not run it, and the expected values in the new test (for example `gcnPitch == 128`) rest on that run. - Detiling of PS4 1D arrays with micro or macro tile modes. The new test compares layout geometry only, not detiled pixels. I did not read the detiler path. - The shadPS4 and addrlib links in the description. I did not open them. - `tools/check_conventions.py`. Not run here. - Whole-file reads: I read the changed ranges and their context (see What I ran). The full 457-line `GuestTextureResource.cpp` and the full test file were not read in one piece. - Files read: both files in `files.json` under reviewed, in the ranges above. Excluded by rule: none. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-19 15:04:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T15:04:53Z.

Review: APPROVED


Reviewed — looks good

The change is sound at head b4527c025db29e6319300350fb5455521d6b17c3: it restricts the relaxed 1D-array tile-mode check to PS4 descriptors, and the added tests compare decoding and layout against equivalent height-1 2D arrays.

What I ran

Read the prepared diff and manifest, and inspected the decoder, its PS4 tiling mapping, and the added texture resource tests at the pinned head. No tests were run during this review.

Results

Check Result Note
Diff and manifest review passed Both changed files were included and read.
Targeted code review passed Decoder and related tiling/test context inspected.
Test execution not run Relied on the supplied test report.

Findings

Blocking

None.

Non-blocking

None.

Not verified

No tests were run independently. The author-reported Windows, Linux, and console runs were not independently reproduced. files.json was not available through the reader; the manifest lists both changed files as included, and both were read.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5977526349 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/21944#pullrequestreview-5977526349). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T15:04:53Z. **Review:** APPROVED --- # Reviewed — looks good The change is sound at head `b4527c025db29e6319300350fb5455521d6b17c3`: it restricts the relaxed 1D-array tile-mode check to PS4 descriptors, and the added tests compare decoding and layout against equivalent height-1 2D arrays. ## What I ran Read the prepared diff and manifest, and inspected the decoder, its PS4 tiling mapping, and the added texture resource tests at the pinned head. No tests were run during this review. ## Results | Check | Result | Note | |---|---|---| | Diff and manifest review | passed | Both changed files were included and read. | | Targeted code review | passed | Decoder and related tiling/test context inspected. | | Test execution | not run | Relied on the supplied test report. | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified No tests were run independently. The author-reported Windows, Linux, and console runs were not independently reproduced. `files.json` was not available through the reader; the manifest lists both changed files as included, and both were read. ## To get this to a good state Nothing is required.
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!21944
No description provided.