projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6743456
)
anv/cmd_buffer: skip vkCmdEndRenderPass() for broken command buffers
author
Iago Toral Quiroga
<itoral@igalia.com>
Wed, 8 Mar 2017 12:18:52 +0000
(13:18 +0100)
committer
Iago Toral Quiroga
<itoral@igalia.com>
Thu, 16 Mar 2017 10:40:05 +0000
(11:40 +0100)
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/vulkan/genX_cmd_buffer.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/genX_cmd_buffer.c
b/src/intel/vulkan/genX_cmd_buffer.c
index 690466585132b3d58a380a5149a85679fa2413d4..6c12a7edc2d8ecd4ca8f51777592e89c4fc68093 100644
(file)
--- a/
src/intel/vulkan/genX_cmd_buffer.c
+++ b/
src/intel/vulkan/genX_cmd_buffer.c
@@
-2536,6
+2536,9
@@
void genX(CmdEndRenderPass)(
{
ANV_FROM_HANDLE(anv_cmd_buffer, cmd_buffer, commandBuffer);
+ if (anv_batch_has_error(&cmd_buffer->batch))
+ return;
+
anv_cmd_buffer_resolve_subpass(cmd_buffer);
/* Perform transitions to the final layout after all writes have occurred.