Jonah Williams a9b8415bfc [Impeller] Correct attachment description for offscreen MSAA resolve. (flutter/engine#42753)
Two issues:

1. The resolve texture is created from the same impeller attachment as the msaa attachment, so the store mode was getting set to dont care instead of store.

2. the image layout for the resolve attachment should be ePresentSrcKHR, at least from following the guide at https://vulkan-tutorial.com/Multisampling

Fixing both of these locally fixes all of the weird offscreen cursed rendering.

Fixes https://github.com/flutter/flutter/issues/128600
2023-06-12 18:01:07 +00:00
..