Skip to content

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

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
milescoviello:fix/msaa-target-test-skip
Oct 17, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
milescoviello:fix/msaa-target-test-skip

Conversation

@milescoviello

Copy link
Copy Markdown
Contributor

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

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

…ltisampling

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, such as an Intel Arrow Lake iGPU
on ANV, the recompiler refuses that shader ('storage image multisampling
is unavailable on the target device') and the test failed. It now
skips there, as the recorder's storage multisample checks already do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

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

@akkadbakkad89

Copy link
Copy Markdown
Contributor

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc*

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants