projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8174e63
)
anv/cmd_buffer: skip vkCmdNextSubpass() for broken command buffers
author
Iago Toral Quiroga
<itoral@igalia.com>
Wed, 8 Mar 2017 12:18:12 +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 1f4fe773a1123cd8df3e2acb75214b06faceb42d..690466585132b3d58a380a5149a85679fa2413d4 100644
(file)
--- a/
src/intel/vulkan/genX_cmd_buffer.c
+++ b/
src/intel/vulkan/genX_cmd_buffer.c
@@
-2517,6
+2517,9
@@
void genX(CmdNextSubpass)(
{
ANV_FROM_HANDLE(anv_cmd_buffer, cmd_buffer, commandBuffer);
+ if (anv_batch_has_error(&cmd_buffer->batch))
+ return;
+
assert(cmd_buffer->level == VK_COMMAND_BUFFER_LEVEL_PRIMARY);
anv_cmd_buffer_resolve_subpass(cmd_buffer);