From 142da00486989eb669ac1f93fb9ff48acab0e3fb Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Wed, 27 Jan 2016 20:42:45 -0800 Subject: [PATCH] anv: Drop const on anv_framebuffer::attachments The attachments should be const, but the driver's function signatures are generally not const-friendly. Drop the const because it conflicts with upcoming anv_cmd_buffer_resolve_subpass(). --- src/vulkan/anv_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index cad1e1fd5ff..835a5e81e1e 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -1702,7 +1702,7 @@ struct anv_framebuffer { uint32_t layers; uint32_t attachment_count; - const struct anv_image_view * attachments[0]; + struct anv_image_view * attachments[0]; }; struct anv_subpass { -- 2.30.2