Skip to content

gsk/vulkan/render: Download image before reset

gsk_vulkan_render_download_target() currently resets the uploader objects before downloading the image that it produces. This is problematic because there might be unreleased buffers and images in the command queue.

In particular, this can make validation layers complain about the glyph atlas - of all things! - upload buffer being released while still being used by the command queue.

Fix that by resetting the uploader after downloading the image.

Merge request reports