Revert #5089: agc_driver_waterfall_images fails SPIR-V validation on main #5824

Merged
adriadam10 merged 1 commit from upstream-pr/5824 into main 2026-10-14 12:39:36 +00:00
adriadam10 commented 2026-10-14 12:38:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-14T12:38:32Z.


What

Reverts #5089. Since its merge (fd438f663) every main build fails agc_driver_waterfall_images on Linux:

[VUID-StandaloneSpirv-DerivativeGroupQuadsKHR-10151] Local Size execution mode dimensions is (X = 8, Y = 1) but Entry Point id 39 also has an DerivativeGroupQuadsKHR execution mode, so both dimensions must be

The test's compute shader does an LOD query with a local size of 8x1, and SpirvModuleSetup.cpp declares DerivativeGroupQuadsKHR for every compute shader with derivatives. CI's -DANYPS5_ENABLE_SPIRV_TOOLS=ON validation rejects it. Main runs: 38560929488, 38562879025, 38563969869.

The PR can come back with the derivative group chosen from the local size (or the test on an even 2D size).

Tested

Full Build dispatched with linux=true on this branch; the last green main build (968d32686) was right before #5089.

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 in TechnicalDebt
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4857989886 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5824). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-14T12:38:32Z. --- ### What Reverts #5089. Since its merge (fd438f663) every main build fails `agc_driver_waterfall_images` on Linux: ``` [VUID-StandaloneSpirv-DerivativeGroupQuadsKHR-10151] Local Size execution mode dimensions is (X = 8, Y = 1) but Entry Point id 39 also has an DerivativeGroupQuadsKHR execution mode, so both dimensions must be ``` The test's compute shader does an LOD query with a local size of 8x1, and `SpirvModuleSetup.cpp` declares `DerivativeGroupQuadsKHR` for every compute shader with derivatives. CI's `-DANYPS5_ENABLE_SPIRV_TOOLS=ON` validation rejects it. Main runs: 38560929488, 38562879025, 38563969869. The PR can come back with the derivative group chosen from the local size (or the test on an even 2D size). ### Tested Full Build dispatched with `linux=true` on this branch; the last green main build (968d32686) was right before #5089. ### Checklist - [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 - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in TechnicalDebt - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [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!5824
No description provided.