fix(tests): add SPIRV-Headers to the tests that include VulkanTestDevice.hpp #2099

Merged
oneandonlydean merged 1 commit from upstream-pr/2099 into main 2026-10-09 09:07:11 +00:00
oneandonlydean commented 2026-10-09 08:29:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:29:51Z.


What

main no longer builds on Linux or Windows: #1558 added #include <spirv/unified1/spirv.hpp> to tests/execution/VulkanTestDevice.hpp, and two test targets that include that header (agc_shader_fusion_tests in libSceAgc and agc_driver_tests in libSceAgcDriver) don't have SPIRV-Headers on their include path:

core/libs/prx/libSceAgcDriver/tests/execution/VulkanTestDevice.hpp:5:10: fatal error: spirv/unified1/spirv.hpp: No such file or directory

This adds 3rdparty/SPIRV-Headers/include to both targets, the same path the other execution test targets already use.

Tested

  • Linux, GCC: agc_shader_fusion_tests builds again (it failed on main with the line above).
  • python3 tools/check_conventions.py --base origin/main passes.

Checklist

  • Based on current main
  • One topic per PR
  • No comments in code
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4798021262 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2099). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-09T08:29:51Z. --- ### What `main` no longer builds on Linux or Windows: #1558 added `#include <spirv/unified1/spirv.hpp>` to `tests/execution/VulkanTestDevice.hpp`, and two test targets that include that header (`agc_shader_fusion_tests` in libSceAgc and `agc_driver_tests` in libSceAgcDriver) don't have SPIRV-Headers on their include path: ``` core/libs/prx/libSceAgcDriver/tests/execution/VulkanTestDevice.hpp:5:10: fatal error: spirv/unified1/spirv.hpp: No such file or directory ``` This adds `3rdparty/SPIRV-Headers/include` to both targets, the same path the other execution test targets already use. ### Tested - Linux, GCC: `agc_shader_fusion_tests` builds again (it failed on main with the line above). - `python3 tools/check_conventions.py --base origin/main` passes. ### Checklist - [x] Based on current `main` - [x] One topic per PR - [x] No comments in code - [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!2099
No description provided.