mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-06 13:30:00 +00:00
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:
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) {
|
||||
|
||||
Reference in new issue
Block a user