projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22258e2
)
anv: Drop const on anv_framebuffer::attachments
author
Chad Versace
<chad.versace@intel.com>
Thu, 28 Jan 2016 04:42:45 +0000
(20:42 -0800)
committer
Chad Versace
<chad.versace@intel.com>
Thu, 28 Jan 2016 18:03:00 +0000
(10:03 -0800)
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
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_private.h
b/src/vulkan/anv_private.h
index cad1e1fd5ff5e64f862c08dd19c7b38309dd27cd..835a5e81e1eb66a98590bec66b6f9e18a122dc2e 100644
(file)
--- 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 {