test(agc): skip the level checks of the implicit-LOD 1D sample test on llvmpipe #3418
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3418"
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 fma-rc on 2026-10-11T10:02:16Z.
What
agc_driver_image_plane_address_on_line_implicit_lod, added by #3222, fails on lavapipe, so thelinuxCI job is red onmain(reported by @orishamir on #3222):llvmpipe reads another mip level in some pixel quads of the implicit-LOD 1D sample (170 is the mark of the last level, where the first coordinate advances exactly one texel per pixel). The test now skips its per-pixel level checks when the device is llvmpipe, the way
ImageSampleUnnormalized.cppdoes for another llvmpipe difference. It still recompiles and draws all three steps there, which is what fails without #3222, and still checks theimage_sample_brefusal.Tested
Arch Linux, GCC 16.2.1, Release,
ANYPS5_REQUIRE_VULKAN=1. Themainrow is fromb44eeb96; the branch row was rerun after the rebase ontoa11c8f7f.mainlevel checks skippedNot tested on Windows.
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)Imported from boykopovar/AnyPS5. Originally posted by orishamir on 2026-10-11T10:18:02Z.
Verified where it failed: a8e6c104 (fast-forward from
maina73a1af9) in the replica of CI'slinuxjob, ubuntu 24.04, GCC 13.3, Mesa 25.2.8 llvmpipe (LLVM 20.1.2),ANYPS5_REQUIRE_VULKAN=1 GALLIUM_OVERRIDE_CPU_CAPS=avx:agc_driver_image_plane_address_on_line_implicit_lodpasses 3/3 and prints the skip line; the same binary on Mesa 26.0.8 llvmpipe (LLVM 21.1.8) passes too. Without the change both llvmpipes fail atpixel 20,0 component 0 is 170, expected 10, so the skip is what flips it; the three draws and theimage_sample_brefusal still run on both.AI-assisted: yes (Claude Code Fable 5.1 xhigh)
Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-11T20:02:49Z.
Closing: #3922 fixed the cause (the test's pixel shader never entered whole quad mode), which is better than skipping the level checks on llvmpipe as this PR does. On
main0a8b1d32bthe test passes with the full checks on local lavapipe, an RTX 5080 and RADV on a 610M.Pull request closed