From 0415dfcfe7fc082973630424ecad2ab183c7dc64 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Mon, 11 Jan 2016 15:05:47 -0800 Subject: [PATCH] anv/meta: Add FINISHME for clearing multi-layer framebuffers --- src/vulkan/anv_meta_clear.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vulkan/anv_meta_clear.c b/src/vulkan/anv_meta_clear.c index 0469c57dabf..cec98dbcf47 100644 --- a/src/vulkan/anv_meta_clear.c +++ b/src/vulkan/anv_meta_clear.c @@ -677,6 +677,9 @@ anv_cmd_buffer_clear_attachments(struct anv_cmd_buffer *cmd_buffer, meta_clear_begin(&saved_state, cmd_buffer); + if (cmd_buffer->state.framebuffer->layers > 1) + anv_finishme("clearing multi-layer framebuffer"); + for (uint32_t a = 0; a < pass->attachment_count; ++a) { struct anv_render_pass_attachment *att = &pass->attachments[a]; -- 2.30.2