test(agc): skip the plane offset on line test without VK_KHR_maintenance8 #28744
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/28744"
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 GiannisG1 on 2026-12-03T09:02:22Z.
What
agc_driver_image_plane_offset_on_line(from #23701) fails on a device withoutVK_KHR_maintenance8:Its shader samples a 1D texture with
image_sample_lz_oandimage_sample_l_oand a different texel offset in each thread through a normalized sampler. The recompiler accepts that only withVK_KHR_maintenance8(Target().nonConstantImageOffsets). The test now skips on such a device withskipped, the device lacks VK_KHR_maintenance8, …, asImageSampleDerivatives.cppalready does for its_ocases. Theimage_load_mipchecks share the same shader, so they are skipped there too. On a device withVK_KHR_maintenance8nothing changes.The Linux CI job's llvmpipe has
VK_KHR_maintenance8, so it never takes this path. Mesa 25.2.8's ANV (Ubuntu 24.04) on an Intel HD Graphics 630 does not have it, and the test fails there onmain.Tested
Linux Mint 22.3, kernel 7.0.0,
maincde48b5800with this change.main's binary: the test fails 3/3 on the HD 630 with the message above.check_skips.pycounts the skip as expected. It passes 3/3 on the GTX 1050 Ti, on llvmpipe (Mesa 25.2.8, LLVM 20.1.2) and on lavapipe 26.0.8.vulkaninfolistsVK_KHR_maintenance8for the GTX and llvmpipe and not for the HD 630.conventions,public_headers,tools_): 162/162.check_conventions.py,check_test_registration.py,check_compile.py(1 translation unit) andcheck_main_sync.pyare clean.pr_overlap.py --branch: no overlap with open pull requests.agc_driver_image_sample_cube_offset(from #23498) also fails on the HD 630, withSPIR-V emission failed … ImageSampleRaw … has a texel offset that is not a constant. That one needs noVK_KHR_maintenance8, because a cube T# ignores texel offsets, so a skip would be wrong. It is left for a separate change.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 repository (attach them to this PR)🤖 Generated with Claude Code
Summary by CodeRabbit
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T09:07:33Z.
Review: COMMENTED
Paired Linux CTest runs of
agc_driver_image_plane_offset_on_lineandagc_driver_gcn_scalar_buffer_basepassed onb97867d3ce6band this patch. Both Mesa lavapipe logs show Khronos validation 1.4.369 inserted and zeroVUID-errors. The test device supported nonconstant image offsets and ran the sampling cases in both phases. I checked the unsupported-device early return in source.AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-03T09:26:49Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
2a896f98a90dc23e302961640d434e848a4fcc51against basemain; no merged-preview check was run. I inspected the prepared diff and the changed file plus relevant pinned source context withrepo_read.py. No test or build ran; no runtime environment or toolchain was used.Results
Negative control
Not run; no test was run.
Findings
Blocking
None.
Non-blocking
None.
Sources
Not verified
The author's reported GPU runs and CI results were not independently verified. No tests or runtime behavior were run. The only changed file listed in the manifest was read; no files were excluded by the review rules.
To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by Plyxen on 2026-12-03T14:03:53Z.
Review: APPROVED
I read the diff at
2a896f98a9. Windows 11, GCC 15.2, merged intomainat6c6b29320fetogether with other open PRs (so not an isolated build), withANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1andVK_LAYER_KHRONOS_validationon an RTX 5080 (621.24) and a Radeon iGPU (26.11.2).agc_driver_image_plane_offset_on_line: pass on both GPUs. The loader log shows the layer inserted and no "was not found" line, and neither run has aVUID-orSYNC-HAZARDline.VK_KHR_maintenance8, so the new skip is not taken here and the test runs as before.Not checked: a device without
VK_KHR_maintenance8.AI-assisted: yes (Claude Code)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.