test(agc): skip the multisampled target test without storage image multisampling #7191

Merged
milescoviello merged 1 commit from upstream-pr/7191 into main 2026-10-17 20:57:16 +00:00
milescoviello commented 2026-10-17 15:42:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-17T15:42:17Z.


What

agc_driver_sample_multisample_target draws into a 4x target and reads its samples back through a multisampled storage image. On a device without shaderStorageImageMultisample the recompiler refuses that shader, and the test fails instead of skipping:

ShaderRecompiler::Recompile: SPIR-V module emission failed: storage image multisampling is unavailable on the target device

That happens on an Intel Arrow Lake iGPU with ANV (Mesa 26.1.6). The test now returns VulkanTestSkipped when the device's Graphics::Context::storageImageMultisample is false, like the recorder's storage multisample checks (Recorder.cpp, if (context.storageImageMultisample)). The --native-vertex-input mode doesn't need the feature and still runs on such devices.

This is separate from #6957, which is a different Intel device (UHD 770) that has the feature and returns wrong samples, and is fixed by #6971 / #6973. The check sits a few lines after the --native-vertex-input branch, so it merges cleanly with both.

Tested

  • Intel Arrow Lake iGPU (ANV, Mesa 26.1.6, Linux): main's binary exits 1 with the refusal above. With this change it exits 77, multisampled target sampling not tested: storage image multisampling unavailable.
  • NVIDIA RTX 4070 Ti (595.99, Ubuntu 24.04, Release): the test still runs and passes 3 of 3.
  • tools/check_conventions.py passes. tools/pr_overlap.py reports no line conflict, and git merge-tree against #6971 and #6973 is clean.

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
  • GPUs tested: Intel Arrow Lake iGPU (Mesa 26.1.6 ANV); NVIDIA GeForce RTX 4070 Ti (595.99)
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4901481916 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7191). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-17T15:42:17Z. --- ### What `agc_driver_sample_multisample_target` draws into a 4x target and reads its samples back through a multisampled storage image. On a device without `shaderStorageImageMultisample` the recompiler refuses that shader, and the test fails instead of skipping: ``` ShaderRecompiler::Recompile: SPIR-V module emission failed: storage image multisampling is unavailable on the target device ``` That happens on an Intel Arrow Lake iGPU with ANV (Mesa 26.1.6). The test now returns `VulkanTestSkipped` when the device's `Graphics::Context::storageImageMultisample` is false, like the recorder's storage multisample checks (`Recorder.cpp`, `if (context.storageImageMultisample)`). The `--native-vertex-input` mode doesn't need the feature and still runs on such devices. This is separate from #6957, which is a different Intel device (UHD 770) that has the feature and returns wrong samples, and is fixed by #6971 / #6973. The check sits a few lines after the `--native-vertex-input` branch, so it merges cleanly with both. ### Tested - Intel Arrow Lake iGPU (ANV, Mesa 26.1.6, Linux): `main`'s binary exits 1 with the refusal above. With this change it exits 77, `multisampled target sampling not tested: storage image multisampling unavailable`. - NVIDIA RTX 4070 Ti (595.99, Ubuntu 24.04, Release): the test still runs and passes 3 of 3. - `tools/check_conventions.py` passes. `tools/pr_overlap.py` reports no line conflict, and `git merge-tree` against #6971 and #6973 is clean. ### 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] GPUs tested: Intel Arrow Lake iGPU (Mesa 26.1.6 ANV); NVIDIA GeForce RTX 4070 Ti (595.99) - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-17 15:57:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-17T15:57:17Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6628 core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp L584-586

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 6297 core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp
PR 6808 core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6236200702 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7191#issuecomment-6236200702). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-17T15:57:17Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 6628](https://www.github.com/boykopovar/AnyPS5/pull/6628) | `core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp` [L584-586](https://github.com/boykopovar/AnyPS5/blob/07b4651142a2c40e129c8f9f9746eccf01f6e6ea/core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp#L584-L586) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 6297](https://www.github.com/boykopovar/AnyPS5/pull/6297) | `core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp` |
akkadbakkad89 commented 2026-10-17 16:03:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-17T16:03:44Z.


Windows datapoint, head 77bf326d5, MinGW (WinLibs GCC 15.2.0), Release: agc_driver_sample_multisample_target passes on NVIDIA RTX 3070 (driver 617.42) and on Intel UHD 630 (ANYPS5_GPU=UHD, igvk64 — vulkaninfo shows shaderStorageImageMultisample=true, so the test runs rather than skips on both). The skip path is covered by your Arrow Lake run; nothing here exercises it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6236285421 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7191#issuecomment-6236285421). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-17T16:03:44Z. --- Windows datapoint, head `77bf326d5`, MinGW (WinLibs GCC 15.2.0), Release: `agc_driver_sample_multisample_target` passes on NVIDIA RTX 3070 (driver 617.42) and on Intel UHD 630 (`ANYPS5_GPU=UHD`, igvk64 — vulkaninfo shows shaderStorageImageMultisample=true, so the test runs rather than skips on both). The skip path is covered by your Arrow Lake run; nothing here exercises it.
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!7191
No description provided.