projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f8bcb
)
anv/meta: Add FINISHME for clearing multi-layer framebuffers
author
Chad Versace
<chad.versace@intel.com>
Mon, 11 Jan 2016 23:05:47 +0000
(15:05 -0800)
committer
Chad Versace
<chad.versace@intel.com>
Thu, 14 Jan 2016 21:14:40 +0000
(13:14 -0800)
src/vulkan/anv_meta_clear.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_meta_clear.c
b/src/vulkan/anv_meta_clear.c
index 0469c57dabf080a30fd7ffc14e02e8ba6038d3c1..cec98dbcf473de148b6c4cf6daffc7bab5c9ecd7 100644
(file)
--- 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];