fix(agc): skip the GDS 64-bit atomics tests without shaderBufferInt64Atomics #18655
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/18655"
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 oneandonlydean on 2026-11-12T00:02:51Z.
What
The nine
agc_driver_gds_integer_atomics64*tests failed on a device withoutshaderBufferInt64Atomicsinstead of skipping. They now skip with exit code 77 when the device target lacks the Int64Atomics capability, the same checkagc_driver_buffer_atomics_inc_dec64uses.Tested
Not built or run here: the test host has no device without
shaderBufferInt64Atomics, and the change copies the skip block ofBufferAtomicsIncDec64.cppline for line. The reporter's Intel iGPU run in #16927 is the check.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-12T00:31:05Z.
Review: DISMISSED
Reviewed — changes requested
The new unsupported-device path returns CTest’s skip code, but the default
agc_driver_gds_integer_atomics64test is missing the CTest property that treats code 77 as skipped, so it will still fail on the affected device.What I ran
Head
3696ebd25c1c60652f9e2340c14609280e900a1c; base80b5a5016f352cf0298bd32f16653c96007dab4a. Environment: Debian 12, Python 3.11.2, GCC 12.2.0.Results
main.Relevant recorded output
Conventions:
Test-quality heuristic:
The CMake test file registers the default case separately from the seven named modes and the copied case. Only the modes and copied case set
SKIP_RETURN_CODE 77.Findings
Blocking
The test’s new guard returns
VulkanTestSkipped(77) when the device lacksshaderBufferInt64Atomics. The defaultagc_driver_gds_integer_atomics64test has only a timeout property; unlike the other eight registered cases, it lacksSKIP_RETURN_CODE 77. CTest will therefore report this default case as failed on the exact devices this PR intends to support.Minimal fix:
Non-blocking
None.
Sources
SKIP_RETURN_CODEsettingsVulkanTestSkippedis 77 at the reviewed headNot verified
shaderBufferInt64Atomicsor build the C++ target locally.To get this to a good state
Add
SKIP_RETURN_CODE 77to the default test’s CTest properties. I will re-check the new head and the same CMake registration after it is pushed.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-13T23:48:44Z.
Review: APPROVED
Reviewed — looks good
The changed CTest property maps exit code 77 to skipped for the default GDS 64-bit atomics test, matching the existing skip handling used by its other registered variants.
What I ran
Reviewed head
c3bea834725bebb79d8022731612a1fef1b4f989. Read the prepared description, commits, manifest, diff, and the changed CMake file at the pinned head, plus targeted source ranges for the test and a related capability check. No build or tests were run; the description says the author did not run them either.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The GDS test's runtime behavior and CTest's skip reporting were not exercised. Read:
description.md,commits.md,manifest.json,diff.patch,agc_driver_gds_integer_atomics64_tests.cmake,GdsIntegerAtomics64.cpplines 180–207 and 542–593, andBufferAtomicsIncDec64.cpplines 159–175. No files were excluded inmanifest.json;files.jsonwas unavailable in the prepared review folder.To get this to a good state
Nothing is required.