Repository navigation
test(agc): skip the 2D derivative cases without non-constant texel offsets - #829
Merged
oneandonlydean merged 1 commit intoOct 7, 2026
Conversation
…fsets The 2D shader samples with computed texel offsets, which the recompiler accepts only with VK_KHR_maintenance8; without it the whole test failed before the 3D and 1D cases ran. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 6, 2026
9 tasks done
Merged
9 tasks done
LeandroLP23
deleted the
fix/agc-derivatives-skip-offsets-without-maintenance8
branch
October 10, 2026 09:18
12 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 agc_driver_vopc_compare_table fails in wave32 for LG compares in the e32 encoding on AMD RDNA 3.5 #825 and agc_driver_lds_atomics64 fails on AMD RDNA 3.5: the shader leaves its output unwritten #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