fix(agc): skip the pixel interlock test where BDA atomics are not atomic #8014

Merged
011010 merged 3 commits from upstream-pr/8014 into main 2026-11-02 07:56:36 +00:00
011010 commented 2026-10-19 17:42:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by 011010 on 2026-10-19T17:42:29Z.


What

A global (flat) atomic reaches its target through a Vulkan buffer device address (OpConvertUToPtr over a PhysicalStorageBuffer pointer), so the read-modify-write is atomic only where the driver guarantees atomics on such an address. MoltenVK does not: Metal has no atomic on a device pointer, so the update becomes a load and a store and concurrent updates to one address are lost.

agc_driver_pixel_interlock is the only test that counts overlapping updates to one address, and it cannot run on MoltenVK: the fragment shader updates a storage buffer atomically, so SPIRV-Cross puts a raster order group on that buffer, and MoltenVK passes the descriptor set as an argument buffer, where Metal rejects the attribute. The test checks that first (RasterOrderGroupUsable) and skips with the reason the run actually fails, then checks the atomics (BdaAtomicsUsable) for a device that compiles the pipeline but cannot order the update. Both limitations are recorded in the technical-debt file.

No other test covers the contended case: agc_driver_global_atomics gives every lane its own address (op * OpStride + tid * 8u), so it checks the value of an uncontended read-modify-write and cannot tell an atomic from a load and a store. A title that counts or locks through a flat atomic on macOS therefore sees lost updates; no title has been measured to quantify it.

The argument-buffer compile error that also fails this test on MoltenVK is not fixed here: the raster_order_group is added by MoltenVK's own SPIRV-Cross, and resolving the atomic to a descriptor-bound buffer instead of a device address would change the BDA table ABI (BdaAbi::Range carries a flat device address).

Tested

Linux (Ubuntu 24.04.5, x86-64, GCC 13.3.0, CMake 3.28.3, Ninja 1.11.1), device: lavapipe (Mesa 25.2.8, LLVM 20.1.2, Vulkan 1.4.318), with ANYPS5_REQUIRE_VULKAN=1 and ANYPS5_NO_SHADER_CACHE=1:

  • main, before the change: agc_driver_pixel_interlock passes — the counter counts all 64 overlapping read-modify-writes and the killed BDA fault is reported (pixel interlock tests passed: 10 draws of 64 overlapping triangles over 2048 pixels, 2 of them with a killed BDA fault in every 8th column).
  • The change: the same test still passes; neither skip triggers, because the driver reports VK_DRIVER_ID_MESA_LLVMPIPE.
  • agc_bda_atomics and agc_raster_order_group pass.
  • With VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation on both: the same single VUID-VkDeviceCreateInfo-pNext-pNext (the validation layer of Vulkan 1.3.275 does not know a structure type the driver passes) before and after, so the change adds no validation error.

macOS (Apple M4, macOS 27.0.1 (26A434), x86-64 under Rosetta 2, Apple clang 21.0.0, CMake 4.4.4, Ninja 1.13.2), device: MoltenVK 1.4.2 from the LunarG Vulkan SDK 1.4.363.0, with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation (the loader inserted the layer in both runs; neither log contains was not found but was requested by env var VK_INSTANCE_LAYERS):

  • Base: mugurc/ci/macos-series-2 at a0a9e8398 plus the Jit.cpp and GuestMemoryLifetimeSupport.hpp parts of #7332, because the series does not build on macOS without them (MFD_CLOEXEC is Linux-only in libkernel/DirectMemory/Jit.cpp).
  • Before the change: agc_driver_pixel_interlock fails with AGC graphics: vkCreateGraphicsPipelines: Vulkan result -3, after MoltenVK reports type 'const constant spvDescriptorSetBuffer0 &' is not valid for attribute 'buffer' with field with illegal attribute 'raster_order_group' declared here. The run never reaches the counter, so it shows no lost update.
  • After the change: the test skips with skipped, the device does not support the raster order group the pixel interlock needs.
  • 0 VUID- errors in both logs, so the change adds no validation error.
  • python3 tools/check_skips.py <junit> --job linux accepts the skip as a device limitation.

Windows (Windows 11 Home 26300, WinLibs GCC 15.2.0, Release, BUILD_TESTING=ON, RTX 5070 Ti NVIDIA 617.42 and the AMD Radeon iGPU RDNA2 with the AMD proprietary driver 2026.04.17, ANYPS5_REQUIRE_VULKAN=1, by @wachi35676): agc_bda_atomics, agc_raster_order_group, agc_driver_pixel_interlock and the four agc_driver_global_atomics* tests pass on both GPUs, and agc_driver_pixel_interlock runs rather than skips.

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: none
  • GPUs tested: Apple M4 (Apple, M4, MoltenVK 1.4.2, macOS 27.0.1) — the test skips there; lavapipe (Mesa 25.2.8, LLVM 20.1.2, Linux x86-64) and NVIDIA RTX 5070 Ti (617.42) and AMD Radeon iGPU RDNA2 (2026.04.17) on Windows 11 — the test runs and passes there
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4924975491 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8014). Originally posted by [011010](https://github.com/011010) on 2026-10-19T17:42:29Z. --- ### What A global (flat) atomic reaches its target through a Vulkan buffer device address (`OpConvertUToPtr` over a `PhysicalStorageBuffer` pointer), so the read-modify-write is atomic only where the driver guarantees atomics on such an address. MoltenVK does not: Metal has no atomic on a device pointer, so the update becomes a load and a store and concurrent updates to one address are lost. `agc_driver_pixel_interlock` is the only test that counts overlapping updates to one address, and it cannot run on MoltenVK: the fragment shader updates a storage buffer atomically, so SPIRV-Cross puts a raster order group on that buffer, and MoltenVK passes the descriptor set as an argument buffer, where Metal rejects the attribute. The test checks that first (`RasterOrderGroupUsable`) and skips with the reason the run actually fails, then checks the atomics (`BdaAtomicsUsable`) for a device that compiles the pipeline but cannot order the update. Both limitations are recorded in the technical-debt file. No other test covers the contended case: `agc_driver_global_atomics` gives every lane its own address (`op * OpStride + tid * 8u`), so it checks the value of an *uncontended* read-modify-write and cannot tell an atomic from a load and a store. A title that counts or locks through a flat atomic on macOS therefore sees lost updates; no title has been measured to quantify it. The argument-buffer compile error that also fails this test on MoltenVK is not fixed here: the `raster_order_group` is added by MoltenVK's own SPIRV-Cross, and resolving the atomic to a descriptor-bound buffer instead of a device address would change the BDA table ABI (`BdaAbi::Range` carries a flat device address). ### Tested **Linux** (Ubuntu 24.04.5, x86-64, GCC 13.3.0, CMake 3.28.3, Ninja 1.11.1), device: lavapipe (Mesa 25.2.8, LLVM 20.1.2, Vulkan 1.4.318), with `ANYPS5_REQUIRE_VULKAN=1` and `ANYPS5_NO_SHADER_CACHE=1`: - `main`, before the change: `agc_driver_pixel_interlock` passes — the counter counts all 64 overlapping read-modify-writes and the killed BDA fault is reported (`pixel interlock tests passed: 10 draws of 64 overlapping triangles over 2048 pixels, 2 of them with a killed BDA fault in every 8th column`). - The change: the same test still passes; neither skip triggers, because the driver reports `VK_DRIVER_ID_MESA_LLVMPIPE`. - `agc_bda_atomics` and `agc_raster_order_group` pass. - With `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation` on both: the same single `VUID-VkDeviceCreateInfo-pNext-pNext` (the validation layer of Vulkan 1.3.275 does not know a structure type the driver passes) before and after, so the change adds no validation error. **macOS** (Apple M4, macOS 27.0.1 (26A434), x86-64 under Rosetta 2, Apple clang 21.0.0, CMake 4.4.4, Ninja 1.13.2), device: MoltenVK 1.4.2 from the LunarG Vulkan SDK 1.4.363.0, with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1` and `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation` (the loader inserted the layer in both runs; neither log contains `was not found but was requested by env var VK_INSTANCE_LAYERS`): - Base: `mugurc/ci/macos-series-2` at `a0a9e8398` plus the `Jit.cpp` and `GuestMemoryLifetimeSupport.hpp` parts of #7332, because the series does not build on macOS without them (`MFD_CLOEXEC` is Linux-only in `libkernel/DirectMemory/Jit.cpp`). - Before the change: `agc_driver_pixel_interlock` **fails** with `AGC graphics: vkCreateGraphicsPipelines: Vulkan result -3`, after MoltenVK reports `type 'const constant spvDescriptorSetBuffer0 &' is not valid for attribute 'buffer'` with `field with illegal attribute 'raster_order_group' declared here`. The run never reaches the counter, so it shows no lost update. - After the change: the test **skips** with `skipped, the device does not support the raster order group the pixel interlock needs`. - 0 `VUID-` errors in both logs, so the change adds no validation error. - `python3 tools/check_skips.py <junit> --job linux` accepts the skip as a device limitation. **Windows** (Windows 11 Home 26300, WinLibs GCC 15.2.0, Release, `BUILD_TESTING=ON`, RTX 5070 Ti NVIDIA 617.42 and the AMD Radeon iGPU RDNA2 with the AMD proprietary driver 2026.04.17, `ANYPS5_REQUIRE_VULKAN=1`, by @wachi35676): `agc_bda_atomics`, `agc_raster_order_group`, `agc_driver_pixel_interlock` and the four `agc_driver_global_atomics*` tests pass on both GPUs, and `agc_driver_pixel_interlock` runs rather than skips. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`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: none - [x] GPUs tested: Apple M4 (Apple, M4, MoltenVK 1.4.2, macOS 27.0.1) — the test skips there; lavapipe (Mesa 25.2.8, LLVM 20.1.2, Linux x86-64) and NVIDIA RTX 5070 Ti (617.42) and AMD Radeon iGPU RDNA2 (2026.04.17) on Windows 11 — the test runs and passes there - [x] AI-assisted: yes
wachi35676 commented 2026-10-19 23:12:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by wachi35676 on 2026-10-19T23:12:58Z.


Windows NVIDIA and AMD check, and two points about the skip.

Windows 11 Home 26300, WinLibs GCC 15.2.0, Release, BUILD_TESTING=ON. The base is main 9127ea36d with 4fcacc95a merged. The head conflicts with main in docs/dev/debt/libSceAgcDriver.md, where its entry meets the entries added at the end of the file. I kept both sides to build.

GPUs: RTX 5070 Ti (NVIDIA 617.42) and the AMD Radeon iGPU (RDNA2, 1002:13c0, AMD proprietary driver 2026.04.17, ANYPS5_GPU=AMD). Run with ANYPS5_REQUIRE_VULKAN=1.

  • agc_bda_atomics, agc_driver_pixel_interlock and the four agc_driver_global_atomics* tests pass on both GPUs.
  • agc_driver_pixel_interlock runs rather than skips, as it should off MoltenVK: pixel interlock tests passed: 10 draws of 64 overlapping triangles over 2048 pixels, 2 of them with a killed BDA fault in every 8th column.

Points from the description itself:

  • The skip names a different failure. The macOS "before" run fails at vkCreateGraphicsPipelines: Vulkan result -3, which is MoltenVK's raster_order_group argument-buffer error. That run never reaches the counter, so it shows no lost update. The test fails for another reason than the skip message gives (the device does not support atomics on buffer device addresses), and the skip hides that pipeline failure too.
  • The driver itself does not refuse. Only the test calls BdaAtomicsUsable. On MoltenVK the driver still runs flat atomics through a BDA without refusing, so the lost-update case is a silent stub. The debt entry describes it, but it is not listed under silent stubs.

AI-assisted: yes (Claude Code); results above were run on this machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6279408512 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8014#issuecomment-6279408512). Originally posted by [wachi35676](https://github.com/wachi35676) on 2026-10-19T23:12:58Z. --- Windows NVIDIA and AMD check, and two points about the skip. Windows 11 Home 26300, WinLibs GCC 15.2.0, Release, `BUILD_TESTING=ON`. The base is `main` `9127ea36d` with `4fcacc95a` merged. The head conflicts with `main` in `docs/dev/debt/libSceAgcDriver.md`, where its entry meets the entries added at the end of the file. I kept both sides to build. GPUs: RTX 5070 Ti (NVIDIA 617.42) and the AMD Radeon iGPU (RDNA2, `1002:13c0`, AMD proprietary driver 2026.04.17, `ANYPS5_GPU=AMD`). Run with `ANYPS5_REQUIRE_VULKAN=1`. - `agc_bda_atomics`, `agc_driver_pixel_interlock` and the four `agc_driver_global_atomics*` tests pass on both GPUs. - `agc_driver_pixel_interlock` runs rather than skips, as it should off MoltenVK: `pixel interlock tests passed: 10 draws of 64 overlapping triangles over 2048 pixels, 2 of them with a killed BDA fault in every 8th column`. Points from the description itself: - **The skip names a different failure.** The macOS "before" run fails at `vkCreateGraphicsPipelines: Vulkan result -3`, which is MoltenVK's `raster_order_group` argument-buffer error. That run never reaches the counter, so it shows no lost update. The test fails for another reason than the skip message gives (`the device does not support atomics on buffer device addresses`), and the skip hides that pipeline failure too. - **The driver itself does not refuse.** Only the test calls `BdaAtomicsUsable`. On MoltenVK the driver still runs flat atomics through a BDA without refusing, so the lost-update case is a silent stub. The debt entry describes it, but it is not listed under silent stubs. AI-assisted: yes (Claude Code); results above were run on this machine.
011010 commented 2026-10-20 04:34:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by 011010 on 2026-10-20T04:34:52Z.


Rebase done, both points addressed, re-verified

Rebased onto current main (6da6637b4, two commits, no conflicts). The conflict in docs/dev/debt/libSceAgcDriver.md is resolved by keeping the entries that landed there and appending this one.

The skip and the failure it hides. You are right that they are different failures and that the macOS before/after shows only the second one turning into a skip. The functional entry now says it instead of leaving it implicit: on MoltenVK agc_driver_pixel_interlock fails at vkCreateGraphicsPipelines with Vulkan result -3, because SPIRV-Cross refuses raster_order_group in an argument buffer, and the skip covers that failure too, so on macOS neither it nor the lost updates are visible. The atomics claim no longer rests on that run; it rests on the mechanism, Metal having no atomic on a device pointer, so the read-modify-write becomes a load and a store. I did not move the skip past the pipeline creation, because that would make the test fail on macOS for something it does not measure, and the pipeline failure is now recorded as a separate unfixed item.

The driver not refusing. Now listed under "Silent stubs", with why agc_driver_global_atomics cannot cover it (every lane has its own address). Making the driver refuse is a larger change than this pull request: the shader recompiler would have to reject a flat atomic when BdaAtomicsUsable is false, and a title that only increments a counter would then throw at compile time instead of counting wrong. I would rather do that in its own pull request with the titles it affects measured; say the word and I will open it.

Re-verified on the rebased head

  • Linux, lavapipe, ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1: agc_bda_atomics, the four agc_driver_global_atomics* and agc_driver_pixel_interlock → 6/6 passed. The interlock runs rather than skipping and passes in 2.83 s.
  • Windows 11, RTX 3050, GCC 15.2: agc_bda_atomics passed in 0.07 s and agc_driver_pixel_interlock passed in 1.47 s, both running rather than skipping.

Thanks for the NVIDIA and AMD check; it is the only Windows evidence in the thread.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6283465097 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8014#issuecomment-6283465097). Originally posted by [011010](https://github.com/011010) on 2026-10-20T04:34:52Z. --- # Rebase done, both points addressed, re-verified Rebased onto current `main` (`6da6637b4`, two commits, no conflicts). The conflict in `docs/dev/debt/libSceAgcDriver.md` is resolved by keeping the entries that landed there and appending this one. **The skip and the failure it hides.** You are right that they are different failures and that the macOS before/after shows only the second one turning into a skip. The functional entry now says it instead of leaving it implicit: on MoltenVK `agc_driver_pixel_interlock` fails at `vkCreateGraphicsPipelines` with `Vulkan result -3`, because SPIRV-Cross refuses `raster_order_group` in an argument buffer, and the skip covers that failure too, so on macOS neither it nor the lost updates are visible. The atomics claim no longer rests on that run; it rests on the mechanism, Metal having no atomic on a device pointer, so the read-modify-write becomes a load and a store. I did not move the skip past the pipeline creation, because that would make the test fail on macOS for something it does not measure, and the pipeline failure is now recorded as a separate unfixed item. **The driver not refusing.** Now listed under "Silent stubs", with why `agc_driver_global_atomics` cannot cover it (every lane has its own address). Making the driver refuse is a larger change than this pull request: the shader recompiler would have to reject a flat atomic when `BdaAtomicsUsable` is false, and a title that only increments a counter would then throw at compile time instead of counting wrong. I would rather do that in its own pull request with the titles it affects measured; say the word and I will open it. **Re-verified on the rebased head** - Linux, lavapipe, `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1`: `agc_bda_atomics`, the four `agc_driver_global_atomics*` and `agc_driver_pixel_interlock` → **6/6 passed**. The interlock runs rather than skipping and passes in 2.83 s. - Windows 11, RTX 3050, GCC 15.2: `agc_bda_atomics` **passed** in 0.07 s and `agc_driver_pixel_interlock` **passed** in 1.47 s, both running rather than skipping. Thanks for the NVIDIA and AMD check; it is the only Windows evidence in the thread.
011010 commented 2026-10-20 05:02:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by 011010 on 2026-10-20T05:02:13Z.


main moved again while this was open, adding two entries to the same debt file, so this is rebased again onto b1ad467da (9e1e23d8f, one commit, the two of us squashed into one as in the original head). Re-ran the same checks on the new base:

  • Linux, lavapipe: agc_bda_atomics, the four agc_driver_global_atomics* and agc_driver_pixel_interlock -> 6/6 passed.
  • Windows 11, RTX 3050: agc_bda_atomics passed in 0.04 s and agc_driver_pixel_interlock passed in 1.07 s, both running rather than skipping.
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6283786750 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8014#issuecomment-6283786750). Originally posted by [011010](https://github.com/011010) on 2026-10-20T05:02:13Z. --- `main` moved again while this was open, adding two entries to the same debt file, so this is rebased again onto `b1ad467da` (`9e1e23d8f`, one commit, the two of us squashed into one as in the original head). Re-ran the same checks on the new base: - Linux, lavapipe: `agc_bda_atomics`, the four `agc_driver_global_atomics*` and `agc_driver_pixel_interlock` -> **6/6 passed**. - Windows 11, RTX 3050: `agc_bda_atomics` **passed** in 0.04 s and `agc_driver_pixel_interlock` **passed** in 1.07 s, both running rather than skipping.
011010 commented 2026-10-20 19:56:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by 011010 on 2026-10-20T19:56:06Z.


Adding the half that was still missing from your first point, on top of the response above rather than in place of it.

The skip now names the failure the run reaches, and the check that decides it is separate from the atomics:

skipped, the device does not support the raster order group the pixel interlock needs
  • RasterOrderGroup.hpp / RasterOrderGroupUsable(VkDriverId) covers the pipeline failure: SPIRV-Cross puts raster_order_group on the storage buffer the fragment shader updates atomically, MoltenVK passes the descriptor set as an argument buffer, and Metal rejects the attribute.
  • BdaAtomics.hpp / BdaAtomicsUsable(VkDriverId) stays behind it for a device that compiles the pipeline but cannot order the update, with its own message.
  • Each has the driver-ID table test the other capability helpers have, registered as agc_raster_order_group and agc_bda_atomics.

The technical-debt entry keeps the account you and I converged on — the skip covers the argument-buffer failure and neither is fixed here — and records which check fires first, so the reason in the output and the reason in the entry agree.

Re-verified on the rebased head:

  • Linux, lavapipe, ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1: agc_bda_atomics passed, agc_raster_order_group passed, and agc_driver_pixel_interlock ran rather than skipped (pixel interlock tests passed: 10 draws of 64 overlapping triangles over 2048 pixels, 2 of them with a killed BDA fault in every 8th column).
  • macOS, Apple M4, x86-64 under Rosetta, MoltenVK 1.4.2, with VK_LAYER_KHRONOS_validation inserted and VK_LAYER_PATH set: the test skips with the new message, 0 VUID- errors, and both unit tests pass.
  • python3 tools/check_conventions.py --base origin/main: all conventions checks passed. check_skips.py accepts the new message as a device limitation.

The driver still does not refuse, and the global atomics entry stays under Silent stubs as you asked. The refusal remains the separate change I offered above, and it is unaffected by this one.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6300133994 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8014#issuecomment-6300133994). Originally posted by [011010](https://github.com/011010) on 2026-10-20T19:56:06Z. --- Adding the half that was still missing from your first point, on top of the response above rather than in place of it. The skip now names the failure the run reaches, and the check that decides it is separate from the atomics: ``` skipped, the device does not support the raster order group the pixel interlock needs ``` - `RasterOrderGroup.hpp` / `RasterOrderGroupUsable(VkDriverId)` covers the pipeline failure: SPIRV-Cross puts `raster_order_group` on the storage buffer the fragment shader updates atomically, MoltenVK passes the descriptor set as an argument buffer, and Metal rejects the attribute. - `BdaAtomics.hpp` / `BdaAtomicsUsable(VkDriverId)` stays behind it for a device that compiles the pipeline but cannot order the update, with its own message. - Each has the driver-ID table test the other capability helpers have, registered as `agc_raster_order_group` and `agc_bda_atomics`. The technical-debt entry keeps the account you and I converged on — the skip covers the argument-buffer failure and neither is fixed here — and records which check fires first, so the reason in the output and the reason in the entry agree. Re-verified on the rebased head: - Linux, lavapipe, `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1`: `agc_bda_atomics` passed, `agc_raster_order_group` passed, and `agc_driver_pixel_interlock` ran rather than skipped (`pixel interlock tests passed: 10 draws of 64 overlapping triangles over 2048 pixels, 2 of them with a killed BDA fault in every 8th column`). - macOS, Apple M4, x86-64 under Rosetta, MoltenVK 1.4.2, with `VK_LAYER_KHRONOS_validation` inserted and `VK_LAYER_PATH` set: the test skips with the new message, 0 `VUID-` errors, and both unit tests pass. - `python3 tools/check_conventions.py --base origin/main`: all conventions checks passed. `check_skips.py` accepts the new message as a device limitation. The driver still does not refuse, and the global atomics entry stays under Silent stubs as you asked. The refusal remains the separate change I offered above, and it is unaffected by this one.
011010 commented 2026-10-21 02:59:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by 011010 on 2026-10-21T02:59:45Z.


Rebased onto main 5d10ea9ea; a duplicated debt entry removed

While re-checking the branch I found a defect from the previous rebase: docs/dev/debt/libSceAgcDriver.md listed the same Global atomics on buffer device addresses bullet twice under Silent stubs, the earlier wording and the final one. The head now carries the final wording once, and the blank line the rebase had dropped before the Long Windows pipeline-cache paths entry is back. The diff against main is additions only (9 files, 136 insertions, 0 deletions).

The branch is rebased onto main 5d10ea9ea as two commits (6d0d7d30b, cdabc0f83), with no conflicts.

Re-verified on the rebased head

Windows 11, WinLibs GCC 15.2.0, RTX 3050, ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1:

  • agc_bda_atomics passed (0.03 s).
  • agc_raster_order_group passed (0.03 s).
  • agc_driver_pixel_interlock passed (0.62 s) and ran rather than skipping: pixel interlock tests passed: 10 draws of 64 overlapping triangles over 2048 pixels, 2 of them with a killed BDA fault in every 8th column.

The rebase changes only that debt file, so the code is unchanged from the previous head and the Linux/lavapipe and macOS validation evidence above still applies. I could not repeat the validation-layer runs here: this Windows machine has vulkan-1.dll but no VkLayer_khronos_validation.dll.

tools/check_conventions.py --base origin/main does not complete on Windows for this tree, unrelated to this branch; I filed #8848 with the traceback and a verified git grep -f alternative. Conventions is therefore the CI result, which is green on this head.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6306928136 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8014#issuecomment-6306928136). Originally posted by [011010](https://github.com/011010) on 2026-10-21T02:59:45Z. --- **Rebased onto `main` `5d10ea9ea`; a duplicated debt entry removed** While re-checking the branch I found a defect from the previous rebase: `docs/dev/debt/libSceAgcDriver.md` listed the same *Global atomics on buffer device addresses* bullet twice under **Silent stubs**, the earlier wording and the final one. The head now carries the final wording once, and the blank line the rebase had dropped before the *Long Windows pipeline-cache paths* entry is back. The diff against `main` is additions only (9 files, 136 insertions, 0 deletions). The branch is rebased onto `main` `5d10ea9ea` as two commits (`6d0d7d30b`, `cdabc0f83`), with no conflicts. **Re-verified on the rebased head** Windows 11, WinLibs GCC 15.2.0, RTX 3050, `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1`: - `agc_bda_atomics` passed (0.03 s). - `agc_raster_order_group` passed (0.03 s). - `agc_driver_pixel_interlock` passed (0.62 s) and ran rather than skipping: `pixel interlock tests passed: 10 draws of 64 overlapping triangles over 2048 pixels, 2 of them with a killed BDA fault in every 8th column`. The rebase changes only that debt file, so the code is unchanged from the previous head and the Linux/lavapipe and macOS validation evidence above still applies. I could not repeat the validation-layer runs here: this Windows machine has `vulkan-1.dll` but no `VkLayer_khronos_validation.dll`. `tools/check_conventions.py --base origin/main` does not complete on Windows for this tree, unrelated to this branch; I filed #8848 with the traceback and a verified `git grep -f` alternative. Conventions is therefore the CI result, which is green on this head.
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!8014
No description provided.