fix(agc): preserve infinite depth bounds #7627

Merged
JJenkx merged 2 commits from upstream-pr/7627 into main 2026-10-20 11:04:49 +00:00
JJenkx commented 2026-10-18 17:51:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-18T17:51:15Z.


What

Preserve IEEE infinities when decoding DB_DEPTH_BOUNDS_MIN/MAX. Crimson Spires PPSA03568 writes positive infinity (0x7f800000) to DWORD 9; main aborts with AGC graphics: non-finite register at DWORD 9 before its main menu.

Use a dedicated depth-bound decoder that rejects NaNs while preserving finite values and infinities. Other floating-point register checks stay unchanged. ValidateDepthBounds still refuses bounds outside [0,1] unless VK_EXT_depth_range_unrestricted is enabled; no clamping, title-specific path, extension bypass or fake success is added. The Vulkan extension removes the depth-bound range restriction.

Decoder commit 964dcbef47cfd38c89523eb6dd202c0d3e55c199 plus test-registration follow-up 33f65a7eba, on main c34e9d855cb496ef1525b3ccbddebdba10fe6541.

Tested

2026-10-19 current-main composition check: on pinned main 9d2d40f5eedfa8c5f4312517175147eb0181001a, #7817 alone removes the earlier full-optimizer BDA ABI failure but the native title then aborts at non-finite register at DWORD 9. Adding only this PR produces 0f6f2897cc2d2ae81cd30cefc5ad7b3134a53f71: libraries build and depth-bounds state, unused-viewport depth and graphics checks pass 3/3, with required Vulkan, shader cache disabled and core validation (zero VUIDs or missing-layer messages). A warm native PPSA03568 run reaches driving dialogue and closes normally after 249.10 s, exit 0, PID gone and settings restored. The driving scene is still too dark. Adding the published #6959 stack (including its #6934 prerequisite) separately restores visible scene lighting. These are explicitly composed results, not a new isolated bring-up or speed claim. Sanitized run summary · Focused checks · Baseline driving scene · Layered-rendering driving scene

Latest rebase: two commits, no merge commits, on main 3fdd1f52e968c57d2b6890b11863f96aee0c11ce; head 8bd880ceb1b358e6e58bb5e9337eff01e34388a3. Resolved the additive CMake conflict while retaining upstream’s unused-viewport-depth test and this PR’s depth-bounds runtime properties, including Windows PATH setup. agc_driver_graphics_tests and its runtime dependencies build. Depth-bounds state, unused viewport depth and graphics checks pass 3/3, no skips, 3.29 seconds on the Linux configuration below. Conventions and whitespace checks pass. This refresh adds no new native-title or performance claim.

Isolated current-main follow-up on main 676d423968a1a8fcc79c6247020ce22090a8e0d4: only this PR's decoder and CTest-registration changes are applied, producing 5aede09b0711f27a449e77cd9bfed444417f5a58. Full libraries and graphics tests build; agc_driver_depth_bounds_state and agc_driver_graphics pass 2/2, 2.65 s. With the same dump option (APS5_PLAYGO_UNLISTED_CHUNKS=installed), unchanged main reaches 574 frames and aborts at AGC graphics: non-finite register at DWORD 9; main plus this PR reaches driving dialogue and 1,648 completed frames, then closes normally after 132.32 s (exit 0). Both processes are gone and the udmabuf limit is restored to 64 MiB. The driving screenshot is visibly too dark, also confirmed by the user; this establishes startup progress, not visual correctness or a speed gain. Isolated-run summary, tests and dark-scene screenshot, assets prefixed crimson-depthbounds-sync76-.

Current-main integration check on a6dd29b3daf3ba25bf4c2e138ad380b887ad4d49: exact #7681 plus this PR and #7630, integration head ce17127384d4436a092b623236945d9fe3385e81. Full libraries and focused test executables build; initialization, commands, guest shader linking, depth-bounds state, graphics and three control-flow modes pass 8/8 without skips (6.17 seconds, RADV). A 228.91-second native run reaches the Crimson Spires menu, records 1,451 completed frames and closes normally (exit 0); PID gone and udmabuf limit restored to 64 MiB. Menu screenshots still show an excessively dark 3D scene with bright UI. Vulkan validation reports image-view usage, blend attachment, index/vertex-buffer and barrier-mask errors; this is startup/integration evidence, not visual correctness, full gameplay or performance evidence. The current-main-only run hits the independent versioned-register-defaults sentinel regression before this depth-bounds path; current main plus only #7681 reaches 514 frames then reproduces non-finite register at DWORD 9.

Arch Linux 7.2.9-arch1-1, Ryzen 9 7950X, GCC Release, bundled source-built dependencies, RX 6650 XT with RADV Mesa 26.2.4.

  • Full runtime libs and agc_driver_graphics_tests build successfully.
  • agc_driver_depth_bounds_state and agc_driver_graphics: 2/2 pass, no skips. These are CPU/mock graphics checks. Regression coverage includes finite bounds, each infinite endpoint, both infinities, NaN rejection at both endpoints, preservation of infinity rejection for other registers, and rejection without / acceptance with the unrestricted-depth capability.
  • Negative control: the unchanged new regression fails against the original decoder at positive-infinite DB_DEPTH_BOUNDS_MAX. The diagnostic-only native build reports 0x7f800000; that diagnostic is excluded from the PR.
  • Native startup: main aborts after its publisher splash. The pre-rebase version of this fix reaches the readable New Game menu. The pre-rebase candidate c777a0f1941c on main 218aa8f00bab renders the menu at 30 and 130 seconds, closes normally after 148.49 seconds (exit 0), and restores its temporary kernel setting. Main 218aa8f00bab aborts at the bound read; the intervening main merge #6160 does not change State.cpp. The final rebased head 964dcbef47cf also passes the original bound-read failure. Its 30-second snapshot still shows the publisher logo; Cross was sent at 46.72 seconds, then it aborts at 48.72 seconds with a separate unsupported dynamic s_setpc_b64 at program counter 0x000003e0 (shader stage 5). This final run does not independently establish a menu screenshot or gameplay. Its process exited and the temporary kernel setting was restored.
  • The same relinked title, assets, runtime configuration and RX 6650 XT are used. The dump lacks PlayGo chunk metadata, so both arms use the existing explicit APS5_PLAYGO_UNLISTED_CHUNKS=installed option. This is an installation assumption, not proof of complete chunk metadata.
  • No gameplay, visual-correctness or performance claim. No local Windows or other-GPU run and no Khronos validation-layer run is claimed.
  • Windows feedback from LeandroLP23 and akkadbakkad89 identified missing CTest properties: startup DLL failure or dialog/hang under CTest, while direct invocation passed. Follow-up 33f65a7eba adds this test to its siblings' shared shader-cache setting, 30-second timeout, source working directory and Windows runtime-library PATH. Local rebuild and both focused CTests pass (2/2, no skips, 2.99 s); generated CTest properties checked. Independent Windows validation of the corrected registration is recorded below.
  • Conventions and whitespace checks pass. Overlap tooling reports no confirmed overlap; 59 comparisons are unavailable because those branches conflict with main. Reviewed their shared-file diffs for this decoder/test addition; no duplicate infinite-depth-bound implementation or prerequisite identified. Those PR combinations were not built.

Evidence: test logs, negative control, native summary and pre-rebase menu screenshot, assets prefixed crimson-depthbounds-.

savvaniss independently reports all 19 Graphics.cpp tests passing three runs each, including agc_driver_depth_bounds_state, on Windows 11 Pro 26300, Intel UHD 770 (32.0.101.7088) and AMD RX 9070 XT (32.0.31041.1004), WinLibs GCC 15.2.0 r7 Release. The tested composition merges exact head 33f65a7eb into main f3059421f, with shader caching disabled and serial CTest. The control without this implementation fails agc_driver_graphics at non-finite DWORD 9 and agc_driver_covered_centroid_state on both GPUs. The corrected depth-bounds CTest registration passes on Windows. These decoder/mock tests do not establish GPU rendering or title performance.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: PPSA03568 startup to main menu; no existing Crimson Spires discussion found
  • GPUs tested: AMD Radeon RX 6650 XT, RADV Mesa 26.2.4, Arch Linux 7.2.9-arch1-1 (native startup); automated checks use mocks
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4911381992 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7627). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-18T17:51:15Z. --- ### What Preserve IEEE infinities when decoding `DB_DEPTH_BOUNDS_MIN/MAX`. Crimson Spires PPSA03568 writes positive infinity (`0x7f800000`) to DWORD 9; main aborts with `AGC graphics: non-finite register at DWORD 9` before its main menu. Use a dedicated depth-bound decoder that rejects NaNs while preserving finite values and infinities. Other floating-point register checks stay unchanged. `ValidateDepthBounds` still refuses bounds outside [0,1] unless `VK_EXT_depth_range_unrestricted` is enabled; no clamping, title-specific path, extension bypass or fake success is added. The [Vulkan extension](https://docs.vulkan.org/refpages/latest/refpages/source/VK_EXT_depth_range_unrestricted.html) removes the depth-bound range restriction. Decoder commit `964dcbef47cfd38c89523eb6dd202c0d3e55c199` plus test-registration follow-up `33f65a7eba`, on main `c34e9d855cb496ef1525b3ccbddebdba10fe6541`. ### Tested **2026-10-19 current-main composition check:** on pinned main `9d2d40f5eedfa8c5f4312517175147eb0181001a`, #7817 alone removes the earlier full-optimizer BDA ABI failure but the native title then aborts at `non-finite register at DWORD 9`. Adding only this PR produces `0f6f2897cc2d2ae81cd30cefc5ad7b3134a53f71`: libraries build and depth-bounds state, unused-viewport depth and graphics checks pass **3/3**, with required Vulkan, shader cache disabled and core validation (zero VUIDs or missing-layer messages). A warm native PPSA03568 run reaches driving dialogue and closes normally after 249.10 s, exit 0, PID gone and settings restored. The driving scene is still too dark. Adding the published #6959 stack (including its #6934 prerequisite) separately restores visible scene lighting. These are explicitly composed results, not a new isolated bring-up or speed claim. [Sanitized run summary](https://github.com/JJenkx/AnyPS5/releases/download/game-library-checks-20261016/crimson-main9d2-correctness-sync127-summary.json) · [Focused checks](https://github.com/JJenkx/AnyPS5/releases/download/game-library-checks-20261016/crimson-main9d2-correctness-sync127-tests.txt) · [Baseline driving scene](https://github.com/JJenkx/AnyPS5/releases/download/game-library-checks-20261016/crimson-main9d2-correctness-sync127-baseline-dark.png) · [Layered-rendering driving scene](https://github.com/JJenkx/AnyPS5/releases/download/game-library-checks-20261016/crimson-main9d2-correctness-sync127-layered-lit.png) **Latest rebase:** two commits, no merge commits, on main `3fdd1f52e968c57d2b6890b11863f96aee0c11ce`; head `8bd880ceb1b358e6e58bb5e9337eff01e34388a3`. Resolved the additive CMake conflict while retaining upstream’s unused-viewport-depth test and this PR’s depth-bounds runtime properties, including Windows PATH setup. `agc_driver_graphics_tests` and its runtime dependencies build. Depth-bounds state, unused viewport depth and graphics checks pass **3/3**, no skips, 3.29 seconds on the Linux configuration below. Conventions and whitespace checks pass. This refresh adds no new native-title or performance claim. Isolated current-main follow-up on main `676d423968a1a8fcc79c6247020ce22090a8e0d4`: only this PR's decoder and CTest-registration changes are applied, producing `5aede09b0711f27a449e77cd9bfed444417f5a58`. Full libraries and graphics tests build; `agc_driver_depth_bounds_state` and `agc_driver_graphics` pass **2/2**, 2.65 s. With the same dump option (`APS5_PLAYGO_UNLISTED_CHUNKS=installed`), unchanged main reaches 574 frames and aborts at `AGC graphics: non-finite register at DWORD 9`; main plus this PR reaches driving dialogue and 1,648 completed frames, then closes normally after 132.32 s (exit 0). Both processes are gone and the udmabuf limit is restored to 64 MiB. The driving screenshot is visibly too dark, also confirmed by the user; this establishes startup progress, not visual correctness or a speed gain. [Isolated-run summary, tests and dark-scene screenshot](https://github.com/JJenkx/AnyPS5/releases/tag/game-library-checks-20261016), assets prefixed `crimson-depthbounds-sync76-`. Current-main integration check on `a6dd29b3daf3ba25bf4c2e138ad380b887ad4d49`: exact #7681 plus this PR and #7630, integration head `ce17127384d4436a092b623236945d9fe3385e81`. Full libraries and focused test executables build; initialization, commands, guest shader linking, depth-bounds state, graphics and three control-flow modes pass **8/8 without skips** (6.17 seconds, RADV). A 228.91-second native run reaches the Crimson Spires menu, records 1,451 completed frames and closes normally (exit 0); PID gone and udmabuf limit restored to 64 MiB. Menu screenshots still show an excessively dark 3D scene with bright UI. Vulkan validation reports image-view usage, blend attachment, index/vertex-buffer and barrier-mask errors; this is startup/integration evidence, not visual correctness, full gameplay or performance evidence. The current-main-only run hits the independent versioned-register-defaults sentinel regression before this depth-bounds path; current main plus only #7681 reaches 514 frames then reproduces `non-finite register at DWORD 9`. Arch Linux 7.2.9-arch1-1, Ryzen 9 7950X, GCC Release, bundled source-built dependencies, RX 6650 XT with RADV Mesa 26.2.4. - Full runtime `libs` and `agc_driver_graphics_tests` build successfully. - `agc_driver_depth_bounds_state` and `agc_driver_graphics`: 2/2 pass, no skips. These are CPU/mock graphics checks. Regression coverage includes finite bounds, each infinite endpoint, both infinities, NaN rejection at both endpoints, preservation of infinity rejection for other registers, and rejection without / acceptance with the unrestricted-depth capability. - Negative control: the unchanged new regression fails against the original decoder at positive-infinite `DB_DEPTH_BOUNDS_MAX`. The diagnostic-only native build reports `0x7f800000`; that diagnostic is excluded from the PR. - Native startup: main aborts after its publisher splash. The pre-rebase version of this fix reaches the readable New Game menu. The pre-rebase candidate `c777a0f1941c` on main `218aa8f00bab` renders the menu at 30 and 130 seconds, closes normally after 148.49 seconds (exit 0), and restores its temporary kernel setting. Main `218aa8f00bab` aborts at the bound read; the intervening main merge #6160 does not change State.cpp. The final rebased head `964dcbef47cf` also passes the original bound-read failure. Its 30-second snapshot still shows the publisher logo; Cross was sent at 46.72 seconds, then it aborts at 48.72 seconds with a separate `unsupported dynamic s_setpc_b64 at program counter 0x000003e0` (shader stage 5). This final run does not independently establish a menu screenshot or gameplay. Its process exited and the temporary kernel setting was restored. - The same relinked title, assets, runtime configuration and RX 6650 XT are used. The dump lacks PlayGo chunk metadata, so both arms use the existing explicit `APS5_PLAYGO_UNLISTED_CHUNKS=installed` option. This is an installation assumption, not proof of complete chunk metadata. - No gameplay, visual-correctness or performance claim. No local Windows or other-GPU run and no Khronos validation-layer run is claimed. - Windows feedback from [LeandroLP23](https://github.com/boykopovar/AnyPS5/pull/7627#issuecomment-6253535432) and [akkadbakkad89](https://github.com/boykopovar/AnyPS5/pull/7627#issuecomment-6253624811) identified missing CTest properties: startup DLL failure or dialog/hang under CTest, while direct invocation passed. Follow-up `33f65a7eba` adds this test to its siblings' shared shader-cache setting, 30-second timeout, source working directory and Windows runtime-library PATH. Local rebuild and both focused CTests pass (2/2, no skips, 2.99 s); generated CTest properties checked. Independent Windows validation of the corrected registration is recorded below. - Conventions and whitespace checks pass. Overlap tooling reports no confirmed overlap; 59 comparisons are unavailable because those branches conflict with main. Reviewed their shared-file diffs for this decoder/test addition; no duplicate infinite-depth-bound implementation or prerequisite identified. Those PR combinations were not built. Evidence: [test logs, negative control, native summary and pre-rebase menu screenshot](https://github.com/JJenkx/AnyPS5/releases/tag/game-library-checks-20261016), assets prefixed `crimson-depthbounds-`. <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> [savvaniss independently reports](https://github.com/boykopovar/AnyPS5/pull/7627#issuecomment-6255602427) all 19 Graphics.cpp tests passing three runs each, including `agc_driver_depth_bounds_state`, on Windows 11 Pro 26300, Intel UHD 770 (32.0.101.7088) and AMD RX 9070 XT (32.0.31041.1004), WinLibs GCC 15.2.0 r7 Release. The tested composition merges exact head `33f65a7eb` into main `f3059421f`, with shader caching disabled and serial CTest. The control without this implementation fails `agc_driver_graphics` at non-finite DWORD 9 and `agc_driver_covered_centroid_state` on both GPUs. The corrected depth-bounds CTest registration passes on Windows. These decoder/mock tests do not establish GPU rendering or title performance. ### 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) - [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: PPSA03568 startup to main menu; no existing Crimson Spires discussion found - [x] GPUs tested: AMD Radeon RX 6650 XT, RADV Mesa 26.2.4, Arch Linux 7.2.9-arch1-1 (native startup); automated checks use mocks - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-18 18:01:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-18T18:01:21Z.


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 1191 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 1368 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 1395 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 2434 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 4040 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5021 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5371 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5426 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5431 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5441 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5499 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5500 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5925 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6044 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6146 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6185 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6186 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6187 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6188 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6192 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6194 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6209 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6235 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6280 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6300 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6412 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6481 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6501 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6548 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6611 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6636 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6682 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6683 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6747 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6788 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6808 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6868 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6937 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6946 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6947 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6970 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6972 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6977 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 7002 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7048 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7085 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7201 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7223 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7332 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7395 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7446 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7457 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7464 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7505 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7514 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7604 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7615 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7642 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7644 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7647 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7668 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7862 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7927 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7948 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 8014 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 8099 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 8105 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 8160 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 8161 core/libs/prx/libSceAgcDriver/CMakeLists.txt
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6253253514 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7627#issuecomment-6253253514). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-18T18:01:21Z. --- <!-- pr-overlap --> 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 1191](https://www.github.com/boykopovar/AnyPS5/pull/1191) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.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`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 2434](https://www.github.com/boykopovar/AnyPS5/pull/2434) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 4040](https://www.github.com/boykopovar/AnyPS5/pull/4040) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5371](https://www.github.com/boykopovar/AnyPS5/pull/5371) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5426](https://www.github.com/boykopovar/AnyPS5/pull/5426) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5431](https://www.github.com/boykopovar/AnyPS5/pull/5431) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5441](https://www.github.com/boykopovar/AnyPS5/pull/5441) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5499](https://www.github.com/boykopovar/AnyPS5/pull/5499) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5500](https://www.github.com/boykopovar/AnyPS5/pull/5500) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6146](https://www.github.com/boykopovar/AnyPS5/pull/6146) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [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 6187](https://www.github.com/boykopovar/AnyPS5/pull/6187) | `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/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6192](https://www.github.com/boykopovar/AnyPS5/pull/6192) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6194](https://www.github.com/boykopovar/AnyPS5/pull/6194) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6209](https://www.github.com/boykopovar/AnyPS5/pull/6209) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6235](https://www.github.com/boykopovar/AnyPS5/pull/6235) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6280](https://www.github.com/boykopovar/AnyPS5/pull/6280) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6412](https://www.github.com/boykopovar/AnyPS5/pull/6412) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6481](https://www.github.com/boykopovar/AnyPS5/pull/6481) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6501](https://www.github.com/boykopovar/AnyPS5/pull/6501) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6548](https://www.github.com/boykopovar/AnyPS5/pull/6548) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6611](https://www.github.com/boykopovar/AnyPS5/pull/6611) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6636](https://www.github.com/boykopovar/AnyPS5/pull/6636) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6682](https://www.github.com/boykopovar/AnyPS5/pull/6682) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6683](https://www.github.com/boykopovar/AnyPS5/pull/6683) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6747](https://www.github.com/boykopovar/AnyPS5/pull/6747) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [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`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6868](https://www.github.com/boykopovar/AnyPS5/pull/6868) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6937](https://www.github.com/boykopovar/AnyPS5/pull/6937) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6946](https://www.github.com/boykopovar/AnyPS5/pull/6946) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6970](https://www.github.com/boykopovar/AnyPS5/pull/6970) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6972](https://www.github.com/boykopovar/AnyPS5/pull/6972) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp` | | [PR 7002](https://www.github.com/boykopovar/AnyPS5/pull/7002) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7048](https://www.github.com/boykopovar/AnyPS5/pull/7048) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7085](https://www.github.com/boykopovar/AnyPS5/pull/7085) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7223](https://www.github.com/boykopovar/AnyPS5/pull/7223) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7256](https://www.github.com/boykopovar/AnyPS5/pull/7256) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 7395](https://www.github.com/boykopovar/AnyPS5/pull/7395) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7446](https://www.github.com/boykopovar/AnyPS5/pull/7446) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7457](https://www.github.com/boykopovar/AnyPS5/pull/7457) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7464](https://www.github.com/boykopovar/AnyPS5/pull/7464) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7505](https://www.github.com/boykopovar/AnyPS5/pull/7505) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7514](https://www.github.com/boykopovar/AnyPS5/pull/7514) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7604](https://www.github.com/boykopovar/AnyPS5/pull/7604) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [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` | | [PR 7644](https://www.github.com/boykopovar/AnyPS5/pull/7644) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7647](https://www.github.com/boykopovar/AnyPS5/pull/7647) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7668](https://www.github.com/boykopovar/AnyPS5/pull/7668) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 7862](https://www.github.com/boykopovar/AnyPS5/pull/7862) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 7927](https://www.github.com/boykopovar/AnyPS5/pull/7927) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 7948](https://www.github.com/boykopovar/AnyPS5/pull/7948) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp` | | [PR 8014](https://www.github.com/boykopovar/AnyPS5/pull/8014) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 8099](https://www.github.com/boykopovar/AnyPS5/pull/8099) | `core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 8105](https://www.github.com/boykopovar/AnyPS5/pull/8105) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 8160](https://www.github.com/boykopovar/AnyPS5/pull/8160) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 8161](https://www.github.com/boykopovar/AnyPS5/pull/8161) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` |
LeandroLP23 commented 2026-10-18 18:28:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-18T18:28:34Z.


On Windows the new agc_driver_depth_bounds_state test cannot start under ctest. It exits 0xc0000135 (a DLL not found), 3 of 3. Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), Windows 11 26300, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON. Build: main c3591adf9 with #7629, #7630 and #7627 merged together (each merge clean, built once).

Its registration has no set_tests_properties. Its neighbours agc_driver_undithered_alpha_to_coverage_state and agc_driver_msaa_dcc_state get ENVIRONMENT "ANYPS5_NO_SHADER_CACHE=1", TIMEOUT 30 and WORKING_DIRECTORY, and on WIN32 the PATH=path_list_prepend:$<TARGET_FILE_DIR:libc> modification. Without the PATH the test executable doesn't find the system libraries. Adding the new test to those two set_tests_properties calls should be enough. Run by hand with that PATH, agc_driver_graphics_tests --depth-bounds-state prints Depth bounds state checks passed, 3 of 3, and agc_driver_graphics passes under ctest.

AI-assisted

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6253535432 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7627#issuecomment-6253535432). Originally posted by [LeandroLP23](https://github.com/LeandroLP23) on 2026-10-18T18:28:34Z. --- On Windows the new `agc_driver_depth_bounds_state` test cannot start under ctest. It exits `0xc0000135` (a DLL not found), 3 of 3. Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), Windows 11 26300, WinLibs GCC 15.2.0 r7, Release, `BUILD_TESTING=ON`. Build: `main` `c3591adf9` with #7629, #7630 and #7627 merged together (each merge clean, built once). Its registration has no `set_tests_properties`. Its neighbours `agc_driver_undithered_alpha_to_coverage_state` and `agc_driver_msaa_dcc_state` get `ENVIRONMENT "ANYPS5_NO_SHADER_CACHE=1"`, `TIMEOUT 30` and `WORKING_DIRECTORY`, and on `WIN32` the `PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>` modification. Without the `PATH` the test executable doesn't find the system libraries. Adding the new test to those two `set_tests_properties` calls should be enough. Run by hand with that `PATH`, `agc_driver_graphics_tests --depth-bounds-state` prints `Depth bounds state checks passed`, 3 of 3, and `agc_driver_graphics` passes under ctest. AI-assisted
akkadbakkad89 commented 2026-10-18 18:37:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-18T18:37:21Z.


Windows issue at head 964dcbef4: agc_driver_depth_bounds_state hangs under ctest on both NVIDIA RTX 3070 (driver 617.42) and Intel UHD 630 (igvk64) - it exhausts the timeout while agc_driver_graphics itself passes in ~9 s on both.

The test logic is fine: running agc_driver_graphics_tests.exe --depth-bounds-state by hand finishes in ~1 s with "Depth bounds state checks passed". The hang is the registration: the new add_test (CMakeLists.txt:1679) never gets the if(WIN32) ... ENVIRONMENT_MODIFICATION "PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>" that agc_driver_alpha_to_coverage_state, agc_driver_undithered_alpha_to_coverage_state and agc_driver_msaa_dcc_state receive in the block below. Without it the exe cannot resolve libc.prx/libSceAgcDriver.prx at load, Windows shows the entry-point dialog, and the process blocks on the popup until ctest kills it.

Suggested fix: add agc_driver_depth_bounds_state to that WIN32 set_tests_properties list (and matching TIMEOUT/SKIP_RETURN_CODE/WORKING_DIRECTORY properties like its siblings). Linux never needs it, which is why it passed on your setup.

Windows 11, MinGW (WinLibs GCC 15.2.0), Release.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6253624811 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7627#issuecomment-6253624811). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-18T18:37:21Z. --- Windows issue at head `964dcbef4`: `agc_driver_depth_bounds_state` hangs under ctest on both NVIDIA RTX 3070 (driver 617.42) and Intel UHD 630 (igvk64) - it exhausts the timeout while `agc_driver_graphics` itself passes in ~9 s on both. The test logic is fine: running `agc_driver_graphics_tests.exe --depth-bounds-state` by hand finishes in ~1 s with "Depth bounds state checks passed". The hang is the registration: the new `add_test` (CMakeLists.txt:1679) never gets the `if(WIN32) ... ENVIRONMENT_MODIFICATION "PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>"` that `agc_driver_alpha_to_coverage_state`, `agc_driver_undithered_alpha_to_coverage_state` and `agc_driver_msaa_dcc_state` receive in the block below. Without it the exe cannot resolve `libc.prx`/`libSceAgcDriver.prx` at load, Windows shows the entry-point dialog, and the process blocks on the popup until ctest kills it. Suggested fix: add `agc_driver_depth_bounds_state` to that WIN32 `set_tests_properties` list (and matching `TIMEOUT`/`SKIP_RETURN_CODE`/`WORKING_DIRECTORY` properties like its siblings). Linux never needs it, which is why it passed on your setup. Windows 11, MinGW (WinLibs GCC 15.2.0), Release.
JJenkx commented 2026-10-18 18:50:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-18T18:50:22Z.


Fixed the registration in 33f65a7eba: agc_driver_depth_bounds_state now shares the shader-cache setting, 30-second timeout, source working directory and Windows runtime-library PATH with the adjacent state tests.

Thanks LeandroLP23 and akkadbakkad89 for isolating this. The graphics target rebuild and both focused CTests pass on Linux (2/2, no skips, 2.99 s); conventions and whitespace pass. I checked the generated Linux CTest properties, but cannot claim a corrected Windows run locally. Please rerun the focused CTest on Windows when convenient. The description records the original Windows failure and the remaining rerun requirement.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6253757978 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7627#issuecomment-6253757978). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-18T18:50:22Z. --- Fixed the registration in `33f65a7eba`: `agc_driver_depth_bounds_state` now shares the shader-cache setting, 30-second timeout, source working directory and Windows runtime-library PATH with the adjacent state tests. Thanks LeandroLP23 and akkadbakkad89 for isolating this. The graphics target rebuild and both focused CTests pass on Linux (2/2, no skips, 2.99 s); conventions and whitespace pass. I checked the generated Linux CTest properties, but cannot claim a corrected Windows run locally. Please rerun the focused CTest on Windows when convenient. The description records the original Windows failure and the remaining rerun requirement.
akkadbakkad89 commented 2026-10-18 19:22:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-18T19:22:31Z.


Cross-linking the systematic fix that grew out of this report: #7645 (tracks issue #7637). The narrow registration fix you pushed covers this test; #7645 additionally stages the .prx runtime files next to every test exe, so a future registration that misses the WIN32 prepend will not hang on the loader dialog.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6254101072 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7627#issuecomment-6254101072). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-18T19:22:31Z. --- Cross-linking the systematic fix that grew out of this report: #7645 (tracks issue #7637). The narrow registration fix you pushed covers this test; #7645 additionally stages the `.prx` runtime files next to every test exe, so a future registration that misses the WIN32 prepend will not hang on the loader dialog.
savvaniss commented 2026-10-18 21:53:02 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by savvaniss on 2026-10-18T21:53:02Z.


Intel and AMD Windows data: with this PR the 19 tests built from tests/Graphics.cpp pass on an Intel UHD 770 and an AMD RX 9070 XT; without it, two of them fail on both.

Windows 11 Pro 26300, WinLibs GCC 15.2.0 r7, Release, every execution test built, ANYPS5_NO_SHADER_CACHE=1, serial CTest. Intel UHD Graphics 770 (8086:a780), driver 32.0.101.7088. AMD Radeon RX 9070 XT (1002:7550), driver 32.0.31041.1004, with VkCache emptied first. This head 33f65a7eb merged into main f3059421f. "Without" means this PR's test files on main f3059421f, with none of its other changes.

Tests, ×3 UHD 770 RX 9070 XT
This head: the 19 tests built from tests/Graphics.cpp, agc_driver_depth_bounds_state included 19 of 19 pass 19 of 19 pass
Without (18 tests; depth_bounds_state is not registered) agc_driver_graphics fails: non-finite register at DWORD 9; agc_driver_covered_centroid_state fails same 2 fail

Under CTest agc_driver_depth_bounds_state passed here in 0.01 s, with this head's ENVIRONMENT_MODIFICATION registration (#7637).

I also ran full CTest with this PR and the 14 other open AGC PRs I tested in the same batch merged together (#7647, #7641, #7630, #7603, #7600, #7591, #7579, #7535, #7533, #7474, #7462, #7050, #7048, #7650). Neither GPU showed a failure beyond main's own, except #7650's new test.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6255602427 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7627#issuecomment-6255602427). Originally posted by [savvaniss](https://github.com/savvaniss) on 2026-10-18T21:53:02Z. --- Intel and AMD Windows data: with this PR the 19 tests built from `tests/Graphics.cpp` pass on an Intel UHD 770 and an AMD RX 9070 XT; without it, two of them fail on both. Windows 11 Pro 26300, WinLibs GCC 15.2.0 r7, Release, every execution test built, `ANYPS5_NO_SHADER_CACHE=1`, serial CTest. Intel UHD Graphics 770 (`8086:a780`), driver 32.0.101.7088. AMD Radeon RX 9070 XT (`1002:7550`), driver 32.0.31041.1004, with `VkCache` emptied first. This head `33f65a7eb` merged into `main` `f3059421f`. "Without" means this PR's test files on `main` `f3059421f`, with none of its other changes. | Tests, ×3 | UHD 770 | RX 9070 XT | |---|---|---| | This head: the 19 tests built from `tests/Graphics.cpp`, `agc_driver_depth_bounds_state` included | 19 of 19 pass | 19 of 19 pass | | Without (18 tests; `depth_bounds_state` is not registered) | `agc_driver_graphics` fails: `non-finite register at DWORD 9`; `agc_driver_covered_centroid_state` fails | same 2 fail | Under CTest `agc_driver_depth_bounds_state` passed here in 0.01 s, with this head's `ENVIRONMENT_MODIFICATION` registration (#7637). I also ran full CTest with this PR and the 14 other open AGC PRs I tested in the same batch merged together (#7647, #7641, #7630, #7603, #7600, #7591, #7579, #7535, #7533, #7474, #7462, #7050, #7048, #7650). Neither GPU showed a failure beyond `main`'s own, except #7650's new test. AI-assisted: yes (Claude Code)
adriadam10 commented 2026-10-20 11:05:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-20T11:05:18Z.


Checked the decoder change against current main (NaN still rejected, infinities preserved only for DB_DEPTH_BOUNDS_MIN/MAX, other registers keep the finite check), that ValidateDepthBounds still requires VK_EXT_depth_range_unrestricted outside [0, 1], the new test rows (each infinity, both, NaN at both endpoints, non-finite register 0x00b still rejected) and the ctest registration properties, including the Windows PATH; merged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6289440177 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7627#issuecomment-6289440177). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-20T11:05:18Z. --- Checked the decoder change against current main (NaN still rejected, infinities preserved only for `DB_DEPTH_BOUNDS_MIN/MAX`, other registers keep the finite check), that `ValidateDepthBounds` still requires `VK_EXT_depth_range_unrestricted` outside [0, 1], the new test rows (each infinity, both, NaN at both endpoints, non-finite register 0x00b still rejected) and the ctest registration properties, including the Windows PATH; merged.
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!7627
No description provided.