test(agc): skip flat aperture 64-bit atomic rows without shaderBufferInt64Atomics #3286
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3286"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by kr4y4 on 2026-10-11T05:21:58Z.
What
All six
agc_driver_flat_aperturesparts fail on GPUs withoutshaderBufferInt64Atomics, because each part hasflat_atomic64_*rows. On an Intel Raptor Lake-S iGPU, onmain961b25fe:The recompiler refuses those rows on purpose; this is the same failure the other 64-bit buffer atomic tests already skip with
TargetHasCapability(target, spv::CapabilityInt64Atomics), for exampleBufferAtomics.cppandBufferUnalignedBase.cpp.FlatAperturesnow leaves out the 64-bit atomic rows when the target lacksInt64Atomics, and prints that it did, the same way it already leaves out the wave64 rows on a small subgroup. The 32-bit atomic rows and all load and store rows still run. On devices that have the capability nothing changes.Arrow Lake iGPUs report
shaderBufferInt64Atomics, which is probably why the Intel results on #2114 don't list this test.Tested
Windows 11 (26200), WinLibs GCC 15.2.0 r7, CI configure flags,
main7f1dc965:shaderBufferInt64Atomics:961b25fe);--repeat until-fail:3, each printingskipped the 64-bit atomic rows;--repeat until-fail:3, with 21 rows checked per part, the same as before.tools/check_conventions.py --base origin/mainpasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T07:29:13Z.
Checked the diff against
BufferAtomics.cpp'sTargetHasCapability(..., Int64Atomics)pattern and theKernel64selection (row.atomic && row.width == 64u), and ranagc_driver_flat_apertures_0..5on Linux (device with Int64Atomics, behaviour unchanged, all pass). The skip path on a device without the capability is covered by your Intel Raptor Lake-S run; merging.Imported from boykopovar/AnyPS5. Originally posted by reyani-dev on 2026-10-11T07:29:16Z.
Windows run, Windows 11 (10.0.26200), WinLibs GCC 15.2.0 r7, Release, with
VK_LOADER_DRIVERS_DISABLE=*dzn*(this machine's Dozen ICD crashes on its own, #3255), headd041c183merged onto currentmain:ctest -R "^agc_|video_out|^shader|recompiler": 358/358 pass on the RTX 4070 Laptop GPU (driver 616.92).agc_driver_flat_apertures_1also passes on the AMD Radeon 780M (ANYPS5_GPU=AMD).Both GPUs report
shaderBufferInt64Atomics, so neither prints the new skip line. This confirms that nothing changes on devices that have the capability, but not the skip path itself.Imported from boykopovar/AnyPS5. Originally posted by Mouhand-Kaddo on 2026-10-11T07:32:51Z.
Additional platform validation of standalone PR head
d041c183df18cf45cf94f753c8f5e510a02de9ee(2026-10-11):Linux: failed tests — Arch Linux in WSL2 (kernel 6.6.87.2), GCC 16.2.1 20260810; CMake 4.3.1 / Ninja; Release,
BUILD_TESTING=ON.6 checks, 4 failures, 0 CTest skips. Built the selected targets and dependencies; this is focused validation, not a full build or full-suite run.
Checks:
agc_driver_flat_apertures_0,agc_driver_flat_apertures_1,agc_driver_flat_apertures_2,agc_driver_flat_apertures_3,agc_driver_flat_apertures_4,agc_driver_flat_apertures_5.Command after building:
ctest --test-dir <build> --verbose --no-tests=error --timeout 30 -R "^agc_driver_flat_apertures".Vulkan: Mesa lavapipe 26.2.4 / LLVM 23.1.1 software Vulkan; no native Linux hardware-GPU result.
Flat-aperture parts 0-3 each timed out at the 30-second limit while the recorded GPU batch was still running; parts 4-5 passed. WSL reports asynchronous userfaultfd write protection unavailable, and Vulkan uses lavapipe with an 8-lane subgroup. Parent control
7f1dc9658a: flat-aperture part 0 passed in 2.80 seconds under the same 30-second limit, versus a timeout on this PR head. This comparison covers part 0 only; parts 1-3 were not rerun on the parent. This is not a clean Linux pass.Failed cases:
agc_driver_flat_apertures_0,agc_driver_flat_apertures_1,agc_driver_flat_apertures_2,agc_driver_flat_apertures_3.No title/gameplay validation. These results cover the standalone head, not a merge with current main.