mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 19:20:22 +01:00
We are trying to make vk snapshot load the google Chrome home page without crashing. With this CL it does not crash during load but would crash with a device lost after submitting a queue (which is unsurprising because everything is missing to snapshot vk queue). Content of this commit includes: - Add dependencies for VkImageView, VkGraphicsPipelines, VkFramebuffer. They are necessary to tell the snapshot module the order of vk object creation. - Add vkBindImageMemory into the loading sequencey of VkImage, so that it would be executed before vkCreateImageView. - Delay the destruction of VkShaderModule. This is because other objects can still refer to it after it is destroyed. - Initialize VK backend for color buffer properly on snapshot load. - Save and load vk images in the same order by sorting them according to their boxed handle. - Record all the placeholder handles for vkCreateDescriptorPool. For performance purpose this function creates a lot of extra handles without real contents. We need to snapshot those handles as well. Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246> |
||
|---|---|---|
| .. | ||
| cereal | ||
| cerealgenerator.py | ||
| cgenerator.py | ||
| generator.py | ||
| genvk.py | ||
| reg.py | ||