vulkan/renderpass: Use GENERAL for initial layout
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 4 Oct 2019 20:55:25 +0000 (17:55 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sat, 5 Oct 2019 15:13:22 +0000 (12:13 -0300)
commita2b49322fb86f22a4f851e1b2b6d06467df2de4a
tree6d26db13fb5071716085e6020e711a2767fbb890
parent0b2006b74f0cc659625986059e172086a3b6d548
vulkan/renderpass: Use GENERAL for initial layout

UNDEFINED initial layouts may not preserve the contents
of the attachment after transitioning the layout. We want
them to be preserved because we do partial rendering.

Use GENERAL as the initial layout for render passes.
gsk/vulkan/gskvulkanrenderpass.c