mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 05:28:05 +02:00
anv/cmd_buffer: report tracked errors in vkEndCommandBuffer()
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
68d88f0237
commit
8174e63869
1 changed files with 3 additions and 0 deletions
|
|
@ -620,6 +620,9 @@ genX(EndCommandBuffer)(
|
|||
{
|
||||
ANV_FROM_HANDLE(anv_cmd_buffer, cmd_buffer, commandBuffer);
|
||||
|
||||
if (anv_batch_has_error(&cmd_buffer->batch))
|
||||
return cmd_buffer->batch.status;
|
||||
|
||||
/* We want every command buffer to start with the PMA fix in a known state,
|
||||
* so we disable it at the end of the command buffer.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue