test(agc): skip unsupported Windows vouched-import probe #7929

Merged
NumberGuan merged 1 commit from upstream-pr/7929 into main 2026-10-19 16:22:32 +00:00
NumberGuan commented 2026-10-19 14:36:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by NumberGuan on 2026-10-19T14:36:17Z.


What

On Windows, agc_driver_image_table_vouched_lookups can fail because CTest forces APS5_WRITE_WATCH_IMPORTS=watch even when the device cannot settle watched host imports. The assertion then reports zero vouches and reuses.

Probe host-import write protection before this test variant. If the probe fails or reports writes after a GPU read, return CTest's existing skip code 77. Import-time writes alone do not suppress the test. Devices where the probe confirms tracking through GPU reads still run it; the other variants are unchanged.

This is a Windows follow-up to #7916, which covers the Linux RADV case.

Tested

  • Windows build with WinLibs GCC 15.2.0 and CMake 4.4.4: agc_driver_image_table_cache_tests and agc_driver_image_table_cache_bounds_tests built successfully.
  • Focused CTest run with VK_LAYER_KHRONOS_validation, ANYPS5_NO_SHADER_CACHE=1 and ANYPS5_REQUIRE_VULKAN=1: 3 passed, 1 skipped. On this Intel Windows device, the skip reports that the import probe cannot use a settle queue. The validation layer loaded; the run reported no VUID- messages and no missing-layer warning.
  • The unmodified test source fails on this device with the reported zero-counter assertion.
  • python tools/check_conventions.py --base origin/main, python tools/check_test_registration.py build-vouch-watch, python tools/check_skips.py <CTest JUnit> --job windows and git diff origin/main --check: passed.
  • python tools/pr_overlap.py reports a shared hunk with #7916 in ImageTableCacheBounds.cpp; this change is limited to Windows and declares the dependency below.

No Linux/RADV, game or PS5 run was performed for this follow-up.

Checklist

  • Based on current main; no other open PR implements the Windows probe
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw; no silent stubs added
  • No notes, investigation files or images added to the repository
  • New third-party code is a submodule built from source; none added
  • Generic behaviour, not specific to one title
  • Depends on: #7916
  • Fixes: none
  • Unblocks: none
  • GPUs tested: Intel(R) Graphics (vendor 0x8086, device 0xa7ac), driver 32.0.101.7076, Windows 11 build 26300
  • AI-assisted: yes, Codex
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4922659939 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7929). Originally posted by [NumberGuan](https://github.com/NumberGuan) on 2026-10-19T14:36:17Z. --- ### What On Windows, `agc_driver_image_table_vouched_lookups` can fail because CTest forces `APS5_WRITE_WATCH_IMPORTS=watch` even when the device cannot settle watched host imports. The assertion then reports zero vouches and reuses. Probe host-import write protection before this test variant. If the probe fails or reports writes after a GPU read, return CTest's existing skip code 77. Import-time writes alone do not suppress the test. Devices where the probe confirms tracking through GPU reads still run it; the other variants are unchanged. This is a Windows follow-up to #7916, which covers the Linux RADV case. ### Tested - Windows build with WinLibs GCC 15.2.0 and CMake 4.4.4: `agc_driver_image_table_cache_tests` and `agc_driver_image_table_cache_bounds_tests` built successfully. - Focused CTest run with `VK_LAYER_KHRONOS_validation`, `ANYPS5_NO_SHADER_CACHE=1` and `ANYPS5_REQUIRE_VULKAN=1`: 3 passed, 1 skipped. On this Intel Windows device, the skip reports that the import probe cannot use a settle queue. The validation layer loaded; the run reported no `VUID-` messages and no missing-layer warning. - The unmodified test source fails on this device with the reported zero-counter assertion. - `python tools/check_conventions.py --base origin/main`, `python tools/check_test_registration.py build-vouch-watch`, `python tools/check_skips.py <CTest JUnit> --job windows` and `git diff origin/main --check`: passed. - `python tools/pr_overlap.py` reports a shared hunk with #7916 in `ImageTableCacheBounds.cpp`; this change is limited to Windows and declares the dependency below. No Linux/RADV, game or PS5 run was performed for this follow-up. ### Checklist - [x] Based on current `main`; no other open PR implements the Windows probe - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw; no silent stubs added - [x] No notes, investigation files or images added to the repository - [x] New third-party code is a submodule built from source; none added - [x] Generic behaviour, not specific to one title - [x] Depends on: #7916 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: Intel(R) Graphics (vendor 0x8086, device 0xa7ac), driver 32.0.101.7076, Windows 11 build 26300 - [x] AI-assisted: yes, Codex
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!7929
No description provided.