Merge pull request #8604 from GiannisG1/test/msaa-retirement-skip-storage-without-feature

test(agc): skip the MSAA retirement storage promotion without shaderStorageImageMultisample
This commit is contained in:
Dean authored and GitHub committed 2026-11-01 19:46:34 +13:00
commit f57babef79
1 file changed
+6 -1
@@ -608,10 +608,15 @@ int main() {
run.IdleRemaps();
run.RecordedRemap();
run.SampledRemap();
run.StorageRemap();
const bool storage = context.storageImageMultisample;
if (storage) run.StorageRemap();
run.StorageSrgbTwin();
run.OrderRemap();
if (context.storageImageMultisample) run.StorageTwin();
if (!storage) {
std::puts("storage promotion skipped, the device has no shaderStorageImageMultisample");
return VulkanTestSkipped;
}
std::puts("retired MSAA allocations stay bounded, recorded clears and storage promotions retain their images, sampled aliases release their parents after the last batch, and sample-order targets keep their retired images until their batch completes");
return 0;
} catch (const std::exception& error) {