mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 11:20:11 +01:00
anv/cmd_buffer: skip vkCmdEndRenderPass() for broken command buffers
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
6743456699
commit
d823f381a5
1 changed files with 3 additions and 0 deletions
|
|
@ -2536,6 +2536,9 @@ void genX(CmdEndRenderPass)(
|
||||||
{
|
{
|
||||||
ANV_FROM_HANDLE(anv_cmd_buffer, cmd_buffer, commandBuffer);
|
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);
|
anv_cmd_buffer_resolve_subpass(cmd_buffer);
|
||||||
|
|
||||||
/* Perform transitions to the final layout after all writes have occurred.
|
/* Perform transitions to the final layout after all writes have occurred.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue