From 77bf326d51c9a49a28775dc255861b7eadcb56b4 Mon Sep 17 00:00:00 2001 From: milescoviello Date: Sat, 17 Oct 2026 15:39:18 +0000 Subject: [PATCH] test(agc): skip the multisampled target test without storage image multisampling 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 --- .../tests/execution/SampleMultisampleTarget.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp b/core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp index e165888e8c..dfe6cfab4d 100644 --- a/core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp +++ b/core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp @@ -583,6 +583,10 @@ int main(int argc, char** argv) { Block other(BlockBytes); const auto color = DecodeTarget(block); const auto state = TargetState(color); + if (!AgcDriver::VulkanDeviceTestAccess::ContextOf(*device).storageImageMultisample) { + std::puts("multisampled target sampling not tested: storage image multisampling unavailable"); + return VulkanTestSkipped; + } Draw(*device, state); CheckSamples(state, LoadSamples(*device, block), {}); const auto colorBytes = AgcDriver::Graphics::MultisampledColorBytes(color);