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().
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user