test(agc): expect the 3D gather vertex shader in specialized form, as #14265 emits it #15875

Merged
JJenkx merged 1 commit from upstream-pr/15875 into main 2026-11-04 22:02:49 +00:00
JJenkx commented 2026-11-04 21:00:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-11-04T21:00:48Z.


What

agc_driver_image_gather_volume fails on main since #14265. Since then, vertex modules are emitted specialized instead of in registration form, but this test still requires the vertex result's form to match the device's:

AGC graphics: vertex shader 3D gather of red with per-axis modes wrap / clamp to border / mirror: the vertex shader was not emitted in the device's module form

#14265 updated the same check in its own tests. For example, GcnBufferFormatLookup.cpp now requires !vertexResult.registrationModule when the target uses registration modules. This test predates #14265 and was not changed. This PR gives it the same expectation. The rest of the test, which draws each 3D gather variant and compares the results, is unchanged.

Tested

Arch Linux 7.2.11, GCC 16.2.1, Release, Radeon RX 6650 XT (RADV Mesa 26.2.6).

Build agc_driver_image_gather_volume
main 9ab6a281ea (before #14265) passes (full CTest run, 3897/3897)
main b611e634f7 fails 2 of 2, message above
main b611e634f7 + this PR passes 3 of 3; the executable prints image 3D gather tests passed

tools/check_conventions.py passes. Not run on Windows, NVIDIA or a device without registration modules. On those, the new check doesn't apply.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: AMD RX 6650 XT (RADV)
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5161550063 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15875). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-11-04T21:00:48Z. --- ### What `agc_driver_image_gather_volume` fails on `main` since #14265. Since then, vertex modules are emitted specialized instead of in registration form, but this test still requires the vertex result's form to match the device's: ``` AGC graphics: vertex shader 3D gather of red with per-axis modes wrap / clamp to border / mirror: the vertex shader was not emitted in the device's module form ``` #14265 updated the same check in its own tests. For example, `GcnBufferFormatLookup.cpp` now requires `!vertexResult.registrationModule` when the target uses registration modules. This test predates #14265 and was not changed. This PR gives it the same expectation. The rest of the test, which draws each 3D gather variant and compares the results, is unchanged. ### Tested Arch Linux 7.2.11, GCC 16.2.1, Release, Radeon RX 6650 XT (RADV Mesa 26.2.6). | Build | `agc_driver_image_gather_volume` | |---|---| | `main` `9ab6a281ea` (before #14265) | passes (full CTest run, 3897/3897) | | `main` `b611e634f7` | fails 2 of 2, message above | | `main` `b611e634f7` + this PR | passes 3 of 3; the executable prints `image 3D gather tests passed` | `tools/check_conventions.py` passes. Not run on Windows, NVIDIA or a device without registration modules. On those, the new check doesn't apply. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: AMD RX 6650 XT (RADV) - [x] AI-assisted: yes
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!15875
No description provided.