aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Niklas Haas <git@haasn.xyz>2017-10-12 09:27:33 +0200
committerGravatar Martin Herkt <652892+lachs0r@users.noreply.github.com>2017-12-25 00:47:53 +0100
commit5abe0bd593538c40b6b441e18f5c635157078324 (patch)
treef37c6a254e5df0a870de169c75984e918d1f84fb
parent58e201e6bd0e59e55ffa28ad14266ad02d09dd2a (diff)
vo_gpu: vulkan: fix dummyPass creation
This violates vulkan spec
-rw-r--r--video/out/vulkan/ra_vk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vulkan/ra_vk.c b/video/out/vulkan/ra_vk.c
index cd3ad73d5b..d18d4f84b0 100644
--- a/video/out/vulkan/ra_vk.c
+++ b/video/out/vulkan/ra_vk.c
@@ -481,7 +481,7 @@ static bool vk_init_image(struct ra *ra, struct ra_tex *tex)
VK(vk_create_render_pass(vk->dev, params->format,
VK_ATTACHMENT_LOAD_OP_DONT_CARE,
VK_IMAGE_LAYOUT_UNDEFINED,
- VK_IMAGE_LAYOUT_UNDEFINED,
+ VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,
&tex_vk->dummyPass));
VkFramebufferCreateInfo finfo = {