test(agc): skip the clip and cull distance draw without a Vulkan device #5045

Merged
oneandonlydean merged 1 commit from upstream-pr/5045 into main 2026-10-13 09:38:01 +00:00
oneandonlydean commented 2026-10-13 09:32:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T09:32:54Z.


What

Since #423, main's Windows job fails agc_driver_vertex_clip_cull_draw and agc_driver_vertex_clip_cull_draw_no_key (push build at 4bb2c7f394):

491/1051 Test  #494: agc_driver_vertex_clip_cull_draw ........................***Failed    0.06 sec
vkCreateInstance: Vulkan result -9

The runner has no Vulkan driver. The other driver draw tests open the device through OpenVulkanTestDevice() first and return 77 when it cannot be created; VertexClipCullDraw.cpp went straight to the driver, so the driver's VulkanDevice constructor threw and the test returned 1. It now probes the device the same way MsaaEnableSingleSample.cpp does, after the CPU-only PositionExportLayout checks. Both registrations already have SKIP_RETURN_CODE 77, and ANYPS5_REQUIRE_VULKAN still turns a missing device into a failure on Linux. agc_driver_vertex_clip_cull_distances already skips (***Skipped in the same log).

Tested

Linux (CachyOS, GCC, RTX 4090), Release, CI configure flags, on main 8299b2f7eb:

  • Both tests pass on the GPU.
  • With VK_ICD_FILENAMES=/nonexistent VK_DRIVER_FILES=/nonexistent, ctest shows both as Skipped (skipped, no usable Vulkan device: ...), and tools/check_skips.py accepts the JUnit file with --job linux and --job windows.
  • tools/check_conventions.py and git diff --check pass.

Not tested: Windows (the CI job is the test).

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
  • Unblocks: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4841232183 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5045). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-13T09:32:54Z. --- ### What Since #423, `main`'s Windows job fails `agc_driver_vertex_clip_cull_draw` and `agc_driver_vertex_clip_cull_draw_no_key` ([push build at 4bb2c7f394](https://github.com/boykopovar/AnyPS5/actions/runs/38371726509/job/115212107093)): ``` 491/1051 Test #494: agc_driver_vertex_clip_cull_draw ........................***Failed 0.06 sec vkCreateInstance: Vulkan result -9 ``` The runner has no Vulkan driver. The other driver draw tests open the device through `OpenVulkanTestDevice()` first and return 77 when it cannot be created; `VertexClipCullDraw.cpp` went straight to the driver, so the driver's `VulkanDevice` constructor threw and the test returned 1. It now probes the device the same way `MsaaEnableSingleSample.cpp` does, after the CPU-only `PositionExportLayout` checks. Both registrations already have `SKIP_RETURN_CODE 77`, and `ANYPS5_REQUIRE_VULKAN` still turns a missing device into a failure on Linux. `agc_driver_vertex_clip_cull_distances` already skips (`***Skipped` in the same log). ### Tested Linux (CachyOS, GCC, RTX 4090), Release, CI configure flags, on `main` 8299b2f7eb: - Both tests pass on the GPU. - With `VK_ICD_FILENAMES=/nonexistent VK_DRIVER_FILES=/nonexistent`, ctest shows both as Skipped (`skipped, no usable Vulkan device: ...`), and `tools/check_skips.py` accepts the JUnit file with `--job linux` and `--job windows`. - `tools/check_conventions.py` and `git diff --check` pass. Not tested: Windows (the CI job is the test). ### 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](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] Unblocks: 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!5045
No description provided.