test(agc): skip the 2D derivative cases without non-constant texel offsets #829
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/829"
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 LeandroLP23 on 2026-10-06T07:48:11Z.
Closes #827.
What
agc_driver_image_sample_derivativesruns the 2D shader only whendevice->Target().nonConstantImageOffsetsis set, and prints that the 2D cases were skipped otherwise, as it already does for the EXEC-masked cases on narrow subgroups.The 2D shader holds the
_ovariants, whose offsets come from VGPRs; since #303 the recompiler accepts them only withVK_KHR_maintenance8and fails otherwise. The 2D run came first, so on a device without maintenance8 the 3D and 1D cases never ran either. The offset and non-offset 2D cases share one shader, so they are skipped together; splitting the machine code is left out of this change.Tested
Windows 11, MinGW-w64 GCC 15.2.0 (WinLibs r7), Release with
BUILD_TESTING=ON, AMD Radeon 860M (RDNA 3.5), driver 32.0.13058.8001, no maintenance8. No title or homebrew.agc_driver_image_sample_derivatives: failed before, now prints the skip and passes the 3D and 1D cases in wave32 and wave64.ctest: 356/358 passed; the 2 failures are #825 and #826, which also fail on unmodifiedmain.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