fix(agc): fall back to pixel (0,0)'s sample locations where the device has no 2x2 grid #6451

Merged
EagleBearerYS merged 7 commits from upstream-pr/6451 into main 2026-10-19 09:22:05 +00:00
EagleBearerYS commented 2026-10-15 16:02:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-15T16:02:41Z.


What

A draw whose MSAA sample locations vary between the pixels of the guest's 2x2 pattern (PA_SC_AA_SAMPLE_LOCS_PIXEL_*) threw

AGC graphics: sample locations varying between pixels require a 2x2 sample location grid for the draw's sample count

on a device whose maxSampleLocationGridSize for the draw's sample count is not a multiple of 2x2 (#5861's refusal, ValidateSampleLocations). An RTX 3070 Laptop GPU reports 1x1 for every count, so Resident Evil Village's 2x checkerboard pattern stops there before the title.

The pipeline now decides the grid when it is created:

  • No grid for the count. Such a pattern is drawn through a 1x1 grid with pixel (0,0)'s locations. Those are the pattern's first registers, X0Y0, and the pixel the guest's grid is anchored at.
  • Logging. The first such pipeline of each sample count logs [gpu] no 2x2 sample location grid at sample count N ....
  • Render pass begin. Pipeline::Begin takes the pipeline's grid for VkRenderPassSampleLocationsBeginInfoEXT, so a sample-location-compatible depth image is begun with the locations it is drawn with.
  • Unchanged. Devices with the grid (AMD's 2x2) keep it, and uniform patterns are unchanged.
  • Keys. The pipeline keys and the decoded State are unchanged, so a journaled or prebuilt state is decided again by the device that builds it.

What differs from the console (recorded in docs/dev/debt/libSceAgcDriver.md):

  • Resident Evil Village's pattern puts its two samples at x = +4/16 and -4/16 and swaps them on odd rows. The stand-in keeps both positions in every pixel, so coverage, depth and resolves that average a pixel's samples match the console.
  • On odd rows sample i holds what the console stores in sample 1 - i. A pass that reads samples by index, as checkerboard reconstruction does, exchanges the two half-pixels of odd rows. That can show as combing on vertical edges.
  • Patterns whose pixels hold different positions draw pixel (0,0)'s positions in each pixel whose own differ.

Out of scope: reproducing such a pattern exactly on a device without the grid. For patterns whose pixels share one set of positions, as Resident Evil Village's do, exact emulation needs more work and is outside this PR.

The pipeline-creation cost is two branches. On the draw path, Pipeline::Begin loses one call (SampleLocationGrid(state) becomes a member load), and the store lookup and Continue are unchanged.

Tested

Resident Evil Village (PPSA01556), Windows 11, RTX 3070 Laptop GPU (driver 617.42):

  • On main 6ea62f9b40 with #6366 and #5703 (open), plus two local commits for its next stops (the depth and colour sample counts), Resident Evil Village stopped before its title with:
    [gpu] driver failure: AGC graphics: sample locations varying between pixels require a 2x2 sample location grid for the draw's sample count (Pipeline.cpp:120).
  • With a local commit that takes pixel (0,0)'s locations the same way, the same base (with #5815 and #5872 added) passes that draw and reaches the title and the main menu.
  • A run with this branch itself follows.

Linux, lavapipe (Mesa 25.2.8). Lavapipe has no VK_EXT_sample_locations and no 2x MSAA, so the device capabilities are simulated with a mock Context and deviceProc.

  • New agc_driver_sample_location_grid_fallback decodes Resident Evil Village's registers and builds pipelines through both pipeline paths, with and without a 2x depth target:

    • the graphics-pipeline-library path (Pipeline::Prebuild);
    • the render-pass path (Pipeline, AcquireFramebuffer, Begin).

    It checks every VkSampleLocationsInfoEXT handed to vkCreateGraphicsPipelines and vkCmdBeginRenderPass:

    • checkerboard without a 2x grid: {1,1}, (0.75, 0.5) (0.25, 0.5);
    • with the grid: {2,2}, all eight locations;
    • uniform pattern: unchanged;
    • one sample at sample 0's varying location (as #5907 produces), with and without a one-sample grid.
  • Red on main, green here. On main it fails with the refusal above, as does the updated agc_driver_covered_centroid_state.

  • Mutants are caught: always falling back, never falling back, and a Begin that ignores the pipeline's grid.

  • CI Linux configure and build, plus tools/check_test_registration.py build: pass.

  • ctest -R '^agc': 602/602 (main 601/601).

  • The new and changed tests with --repeat until-fail:10: 10/10 each.

  • tools/check_conventions.py: passes, with no comments added.

Windows (GitHub's runner, MinGW, mock device; run): with main's implementation, agc_driver_sample_location_grid_fallback and agc_driver_covered_centroid_state fail with "sample locations varying between pixels require a 2x2 sample location grid for the draw's sample count", and agc_driver_graphics fails too. With this branch they pass 5 of 5, and 595 of 596 ^agc tests pass (463 skip without a Vulkan device). The one failure, agc_driver_pm4_replay_tool (0xc0000139), and libkernel's guest_kqueue fail on main on that runner too.

Merged with main, on GitHub's runners:

  • f474fb7768 (d06d3eea86), which brings #5907: agc_driver_sample_location_grid_fallback, agc_driver_graphics, agc_driver_covered_centroid_state and the tests tied to the changed files (11 in all) pass 3 runs in a row on Linux and Windows (run). The suites' only failures were libc's precise_wait on Linux, a timing test, and libkernel's guest_kqueue on Windows, which fails on main on that runner too.
  • d7262bd6d6 (cebbd414eb) and 1e4ec0e3f7 (d25edc98f7, the head), each with a conflict only in shared lists (the debt file's entries, the graphics tests' run list), both sides kept. At the head (run), the ^agc tests pass on Linux (650, 0 failed) and the libc and libkernel suites pass. On Windows the only failures are agc_driver_pm4_replay_tool and agc_shader_replay_tool, which fail the same way on that runner for an unrelated branch (run), and guest_kqueue.

Checklist

  • Based on main f633042df, merged with main f474fb7768, d7262bd6d6 and 1e4ec0e3f7; no other open PR implements the same functions (#5907, merged, extended the same check to one sample, see Depends on)
  • 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 (none added)
  • 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. #5907 merged first, and this branch's merge of main f474fb7768 (d06d3eea86) made the three changes for that order:
    • kept #5907's enabled line and dropped the grid Require;
    • joined both texts of the debt line;
    • changed #5907's one-sample expectFailure(... "2x2 sample location grid") into an acceptance.
  • Unblocks: PPSA01556 #5169 on GPUs without a 2x2 sample location grid (RTX 3070 Laptop); #6683, which builds on this PR to keep the guest's sample order where pixel (0,0)'s locations stand in for a 2x2 grid
  • GPUs tested: llvmpipe (Mesa 25.2.8), Ubuntu 24.04, device capabilities simulated; the mock device on GitHub's Windows runner (MinGW)
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4876157995 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6451). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-15T16:02:41Z. --- ### What A draw whose MSAA sample locations vary between the pixels of the guest's 2x2 pattern (`PA_SC_AA_SAMPLE_LOCS_PIXEL_*`) threw AGC graphics: sample locations varying between pixels require a 2x2 sample location grid for the draw's sample count on a device whose `maxSampleLocationGridSize` for the draw's sample count is not a multiple of 2x2 (#5861's refusal, `ValidateSampleLocations`). An RTX 3070 Laptop GPU reports 1x1 for every count, so Resident Evil Village's 2x checkerboard pattern stops there before the title. The pipeline now decides the grid when it is created: - **No grid for the count.** Such a pattern is drawn through a 1x1 grid with pixel (0,0)'s locations. Those are the pattern's first registers, `X0Y0`, and the pixel the guest's grid is anchored at. - **Logging.** The first such pipeline of each sample count logs `[gpu] no 2x2 sample location grid at sample count N ...`. - **Render pass begin.** `Pipeline::Begin` takes the pipeline's grid for `VkRenderPassSampleLocationsBeginInfoEXT`, so a sample-location-compatible depth image is begun with the locations it is drawn with. - **Unchanged.** Devices with the grid (AMD's 2x2) keep it, and uniform patterns are unchanged. - **Keys.** The pipeline keys and the decoded State are unchanged, so a journaled or prebuilt state is decided again by the device that builds it. **What differs from the console** (recorded in `docs/dev/debt/libSceAgcDriver.md`): - **Resident Evil Village's pattern** puts its two samples at x = +4/16 and -4/16 and swaps them on odd rows. The stand-in keeps both positions in every pixel, so coverage, depth and resolves that average a pixel's samples match the console. - **On odd rows sample i holds what the console stores in sample 1 - i.** A pass that reads samples by index, as checkerboard reconstruction does, exchanges the two half-pixels of odd rows. That can show as combing on vertical edges. - **Patterns whose pixels hold different positions** draw pixel (0,0)'s positions in each pixel whose own differ. **Out of scope:** reproducing such a pattern exactly on a device without the grid. For patterns whose pixels share one set of positions, as Resident Evil Village's do, exact emulation needs more work and is outside this PR. The pipeline-creation cost is two branches. On the draw path, `Pipeline::Begin` loses one call (`SampleLocationGrid(state)` becomes a member load), and the store lookup and `Continue` are unchanged. ### Tested **Resident Evil Village (PPSA01556), Windows 11, RTX 3070 Laptop GPU (driver 617.42):** - On main 6ea62f9b40 with #6366 and #5703 (open), plus two local commits for its next stops (the depth and colour sample counts), Resident Evil Village stopped before its title with: `[gpu] driver failure: AGC graphics: sample locations varying between pixels require a 2x2 sample location grid for the draw's sample count` (`Pipeline.cpp:120`). - With a local commit that takes pixel (0,0)'s locations the same way, the same base (with #5815 and #5872 added) passes that draw and reaches the title and the main menu. - A run with this branch itself follows. **Linux, lavapipe (Mesa 25.2.8).** Lavapipe has no `VK_EXT_sample_locations` and no 2x MSAA, so the device capabilities are simulated with a mock `Context` and `deviceProc`. - **New `agc_driver_sample_location_grid_fallback`** decodes Resident Evil Village's registers and builds pipelines through both pipeline paths, with and without a 2x depth target: - the graphics-pipeline-library path (`Pipeline::Prebuild`); - the render-pass path (`Pipeline`, `AcquireFramebuffer`, `Begin`). It checks every `VkSampleLocationsInfoEXT` handed to `vkCreateGraphicsPipelines` and `vkCmdBeginRenderPass`: - **checkerboard without a 2x grid:** `{1,1}`, (0.75, 0.5) (0.25, 0.5); - **with the grid:** `{2,2}`, all eight locations; - **uniform pattern:** unchanged; - **one sample at sample 0's varying location (as #5907 produces), with and without a one-sample grid.** - **Red on main, green here.** On main it fails with the refusal above, as does the updated `agc_driver_covered_centroid_state`. - **Mutants are caught:** always falling back, never falling back, and a `Begin` that ignores the pipeline's grid. - **CI Linux configure and build, plus `tools/check_test_registration.py build`:** pass. - **`ctest -R '^agc'`:** 602/602 (main 601/601). - **The new and changed tests with `--repeat until-fail:10`:** 10/10 each. - **`tools/check_conventions.py`:** passes, with no comments added. **Windows (GitHub's runner, MinGW, mock device; [run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/38765187549)):** with `main`'s implementation, `agc_driver_sample_location_grid_fallback` and `agc_driver_covered_centroid_state` fail with "sample locations varying between pixels require a 2x2 sample location grid for the draw's sample count", and `agc_driver_graphics` fails too. With this branch they pass 5 of 5, and 595 of 596 `^agc` tests pass (463 skip without a Vulkan device). The one failure, `agc_driver_pm4_replay_tool` (0xc0000139), and libkernel's `guest_kqueue` fail on `main` on that runner too. **Merged with `main`, on GitHub's runners:** - f474fb7768 (d06d3eea86), which brings #5907: `agc_driver_sample_location_grid_fallback`, `agc_driver_graphics`, `agc_driver_covered_centroid_state` and the tests tied to the changed files (11 in all) pass 3 runs in a row on Linux and Windows ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/38957446157)). The suites' only failures were libc's `precise_wait` on Linux, a timing test, and libkernel's `guest_kqueue` on Windows, which fails on `main` on that runner too. - d7262bd6d6 (cebbd414eb) and 1e4ec0e3f7 (d25edc98f7, the head), each with a conflict only in shared lists (the debt file's entries, the graphics tests' run list), both sides kept. At the head ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39029177060)), the `^agc` tests pass on Linux (650, 0 failed) and the libc and libkernel suites pass. On Windows the only failures are `agc_driver_pm4_replay_tool` and `agc_shader_replay_tool`, which fail the same way on that runner for an unrelated branch ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39061670036)), and `guest_kqueue`. ### Checklist - [x] Based on `main` f633042df, merged with `main` f474fb7768, d7262bd6d6 and 1e4ec0e3f7; no other open PR implements the same functions (#5907, merged, extended the same check to one sample, see Depends on) - [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 (none added) - [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. #5907 merged first, and this branch's merge of `main` f474fb7768 (d06d3eea86) made the three changes for that order: - kept #5907's `enabled` line and dropped the grid `Require`; - joined both texts of the debt line; - changed #5907's one-sample `expectFailure(... "2x2 sample location grid")` into an acceptance. - [x] Unblocks: PPSA01556 #5169 on GPUs without a 2x2 sample location grid (RTX 3070 Laptop); #6683, which builds on this PR to keep the guest's sample order where pixel (0,0)'s locations stand in for a 2x2 grid - [x] GPUs tested: llvmpipe (Mesa 25.2.8), Ubuntu 24.04, device capabilities simulated; the mock device on GitHub's Windows runner (MinGW) - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-15 16:37:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T16:37:07Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6741 core/libs/prx/libSceAgcDriver/CMakeLists.txt L2647, L2650
PR 7659 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp L9929

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 1341 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 1368 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 1395 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 2434 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 4040 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 4072 core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
PR 4448 docs/dev/debt/libSceAgcDriver.md
PR 4449 docs/dev/debt/libSceAgcDriver.md
PR 5021 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5058 docs/dev/debt/libSceAgcDriver.md
PR 5371 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5372 docs/dev/debt/libSceAgcDriver.md
PR 5426 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5441 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5480 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5499 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 5500 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5609 core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 5656 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 5925 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6044 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6185 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6186 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6188 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6192 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6194 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6218 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 6223 docs/dev/debt/libSceAgcDriver.md
PR 6235 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6249 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6292 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 6300 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 6501 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6539 core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 6548 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6549 docs/dev/debt/libSceAgcDriver.md
PR 6611 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6612 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6615 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 6701 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6727 docs/dev/debt/libSceAgcDriver.md
PR 6747 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6762 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6788 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6804 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6808 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6867 docs/dev/debt/libSceAgcDriver.md
PR 6868 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 6937 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6941 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 6946 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 6947 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6958 docs/dev/debt/libSceAgcDriver.md
PR 6963 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 6966 docs/dev/debt/libSceAgcDriver.md
PR 6970 core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6972 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6977 docs/dev/debt/libSceAgcDriver.md
PR 6989 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 6995 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 7002 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 7008 docs/dev/debt/libSceAgcDriver.md
PR 7048 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7085 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7201 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
PR 7223 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7254 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7256 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7258 docs/dev/debt/libSceAgcDriver.md
PR 7332 core/libs/prx/libSceAgcDriver/CMakeLists.txt
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7390 docs/dev/debt/libSceAgcDriver.md
PR 7432 docs/dev/debt/libSceAgcDriver.md
PR 7449 docs/dev/debt/libSceAgcDriver.md
PR 7505 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 7514 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7604 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 7615 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7647 core/libs/prx/libSceAgcDriver/CMakeLists.txt
PR 7650 docs/dev/debt/libSceAgcDriver.md
PR 7729 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7800 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
PR 7803 core/libs/prx/libSceAgcDriver/CMakeLists.txt
docs/dev/debt/libSceAgcDriver.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6197188645 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6451#issuecomment-6197188645). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T16:37:07Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 6741](https://www.github.com/boykopovar/AnyPS5/pull/6741) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` [L2647](https://github.com/boykopovar/AnyPS5/blob/8816fd772005585886f19b3f6c13a99931e41241/core/libs/prx/libSceAgcDriver/CMakeLists.txt#L2647), [L2650](https://github.com/boykopovar/AnyPS5/blob/8816fd772005585886f19b3f6c13a99931e41241/core/libs/prx/libSceAgcDriver/CMakeLists.txt#L2650) | | | | [PR 7659](https://www.github.com/boykopovar/AnyPS5/pull/7659) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` [L9929](https://github.com/boykopovar/AnyPS5/blob/8816fd772005585886f19b3f6c13a99931e41241/core/libs/prx/libSceAgcDriver/tests/Graphics.cpp#L9929) | | | 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 1341](https://www.github.com/boykopovar/AnyPS5/pull/1341) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [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/tests/Graphics.cpp` | | [PR 2434](https://www.github.com/boykopovar/AnyPS5/pull/2434) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 4040](https://www.github.com/boykopovar/AnyPS5/pull/4040) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 4072](https://www.github.com/boykopovar/AnyPS5/pull/4072) | `core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp` | | [PR 4448](https://www.github.com/boykopovar/AnyPS5/pull/4448) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 4449](https://www.github.com/boykopovar/AnyPS5/pull/4449) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5058](https://www.github.com/boykopovar/AnyPS5/pull/5058) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5371](https://www.github.com/boykopovar/AnyPS5/pull/5371) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5372](https://www.github.com/boykopovar/AnyPS5/pull/5372) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5426](https://www.github.com/boykopovar/AnyPS5/pull/5426) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5441](https://www.github.com/boykopovar/AnyPS5/pull/5441) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5480](https://www.github.com/boykopovar/AnyPS5/pull/5480) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5499](https://www.github.com/boykopovar/AnyPS5/pull/5499) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 5500](https://www.github.com/boykopovar/AnyPS5/pull/5500) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5609](https://www.github.com/boykopovar/AnyPS5/pull/5609) | `core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` | | [PR 5656](https://www.github.com/boykopovar/AnyPS5/pull/5656) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6185](https://www.github.com/boykopovar/AnyPS5/pull/6185) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6186](https://www.github.com/boykopovar/AnyPS5/pull/6186) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/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`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6218](https://www.github.com/boykopovar/AnyPS5/pull/6218) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6223](https://www.github.com/boykopovar/AnyPS5/pull/6223) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6235](https://www.github.com/boykopovar/AnyPS5/pull/6235) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6249](https://www.github.com/boykopovar/AnyPS5/pull/6249) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6292](https://www.github.com/boykopovar/AnyPS5/pull/6292) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` | | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6501](https://www.github.com/boykopovar/AnyPS5/pull/6501) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6539](https://www.github.com/boykopovar/AnyPS5/pull/6539) | `core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` | | [PR 6548](https://www.github.com/boykopovar/AnyPS5/pull/6548) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6549](https://www.github.com/boykopovar/AnyPS5/pull/6549) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6611](https://www.github.com/boykopovar/AnyPS5/pull/6611) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6612](https://www.github.com/boykopovar/AnyPS5/pull/6612) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6615](https://www.github.com/boykopovar/AnyPS5/pull/6615) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` | | [PR 6701](https://www.github.com/boykopovar/AnyPS5/pull/6701) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6727](https://www.github.com/boykopovar/AnyPS5/pull/6727) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6747](https://www.github.com/boykopovar/AnyPS5/pull/6747) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6762](https://www.github.com/boykopovar/AnyPS5/pull/6762) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6788](https://www.github.com/boykopovar/AnyPS5/pull/6788) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6804](https://www.github.com/boykopovar/AnyPS5/pull/6804) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6867](https://www.github.com/boykopovar/AnyPS5/pull/6867) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6868](https://www.github.com/boykopovar/AnyPS5/pull/6868) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6937](https://www.github.com/boykopovar/AnyPS5/pull/6937) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6941](https://www.github.com/boykopovar/AnyPS5/pull/6941) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6946](https://www.github.com/boykopovar/AnyPS5/pull/6946) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/Pipeline.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6958](https://www.github.com/boykopovar/AnyPS5/pull/6958) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6963](https://www.github.com/boykopovar/AnyPS5/pull/6963) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 6966](https://www.github.com/boykopovar/AnyPS5/pull/6966) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6970](https://www.github.com/boykopovar/AnyPS5/pull/6970) | `core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`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) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6989](https://www.github.com/boykopovar/AnyPS5/pull/6989) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6995](https://www.github.com/boykopovar/AnyPS5/pull/6995) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7002](https://www.github.com/boykopovar/AnyPS5/pull/7002) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7008](https://www.github.com/boykopovar/AnyPS5/pull/7008) | `docs/dev/debt/libSceAgcDriver.md` | | [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`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp` | | [PR 7223](https://www.github.com/boykopovar/AnyPS5/pull/7223) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7254](https://www.github.com/boykopovar/AnyPS5/pull/7254) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7256](https://www.github.com/boykopovar/AnyPS5/pull/7256) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7258](https://www.github.com/boykopovar/AnyPS5/pull/7258) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7332](https://www.github.com/boykopovar/AnyPS5/pull/7332) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7390](https://www.github.com/boykopovar/AnyPS5/pull/7390) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7432](https://www.github.com/boykopovar/AnyPS5/pull/7432) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7449](https://www.github.com/boykopovar/AnyPS5/pull/7449) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7505](https://www.github.com/boykopovar/AnyPS5/pull/7505) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/libSceAgcDriver.md` | | [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`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7615](https://www.github.com/boykopovar/AnyPS5/pull/7615) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7647](https://www.github.com/boykopovar/AnyPS5/pull/7647) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt` | | [PR 7650](https://www.github.com/boykopovar/AnyPS5/pull/7650) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7729](https://www.github.com/boykopovar/AnyPS5/pull/7729) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7800](https://www.github.com/boykopovar/AnyPS5/pull/7800) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7803](https://www.github.com/boykopovar/AnyPS5/pull/7803) | `core/libs/prx/libSceAgcDriver/CMakeLists.txt`<br>`docs/dev/debt/libSceAgcDriver.md` |
MaxLikesCode commented 2026-10-19 03:27:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MaxLikesCode on 2026-10-19T03:27:14Z.


A run on a real device without the grid: NVIDIA GeForce RTX 4090, driver 617.42, Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON with every execution test built. vulkaninfo reports maxSampleLocationGridSize 1x1 and variableSampleLocations true, so this is the case the fallback is for. This head (b6489b863) merged into main ad502d717.

  • agc_driver_sample_location_grid_fallback, agc_driver_covered_centroid_state and agc_driver_graphics pass.
  • Full suite (the selection covers 1541 of 1563 tests, since the change touches CMakeLists.txt): 1522 pass, 15 skip and 4 fail. The failures are the ones main has on this GPU without this PR: agc_driver_bda_device (#7584), agc_driver_image_table_reuse (#7710), agc_driver_pixel_lds (#7708), and a load-dependent agc_driver_storage_file_write that passes when rerun alone.
  • No test in the suite logged [gpu] no 2x2 sample location grid at sample count .... So on a real device the fallback was not reached, and only the mock tests exercise it.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6258996825 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6451#issuecomment-6258996825). Originally posted by [MaxLikesCode](https://github.com/MaxLikesCode) on 2026-10-19T03:27:14Z. --- A run on a real device without the grid: NVIDIA GeForce RTX 4090, driver 617.42, Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release, `BUILD_TESTING=ON` with every execution test built. `vulkaninfo` reports `maxSampleLocationGridSize` 1x1 and `variableSampleLocations` true, so this is the case the fallback is for. This head (b6489b863) merged into `main` ad502d717. - `agc_driver_sample_location_grid_fallback`, `agc_driver_covered_centroid_state` and `agc_driver_graphics` pass. - Full suite (the selection covers 1541 of 1563 tests, since the change touches `CMakeLists.txt`): 1522 pass, 15 skip and 4 fail. The failures are the ones `main` has on this GPU without this PR: `agc_driver_bda_device` (#7584), `agc_driver_image_table_reuse` (#7710), `agc_driver_pixel_lds` (#7708), and a load-dependent `agc_driver_storage_file_write` that passes when rerun alone. - No test in the suite logged `[gpu] no 2x2 sample location grid at sample count ...`. So on a real device the fallback was not reached, and only the mock tests exercise it. AI-assisted: yes (Claude Code)
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!6451
No description provided.