From: Chad Versace Date: Thu, 28 Jan 2016 04:42:45 +0000 (-0800) Subject: anv: Drop const on anv_framebuffer::attachments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=142da00486989eb669ac1f93fb9ff48acab0e3fb;p=mesa.git 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(). --- 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 {