From: Chad Versace Date: Mon, 11 Jan 2016 23:05:47 +0000 (-0800) Subject: anv/meta: Add FINISHME for clearing multi-layer framebuffers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0415dfcfe7fc082973630424ecad2ab183c7dc64;p=mesa.git anv/meta: Add FINISHME for clearing multi-layer framebuffers --- 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];