mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
zink: abort on submit-failure
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
4a64ee192a
commit
b8a9bbeb00
1 changed files with 3 additions and 1 deletions
|
|
@ -83,8 +83,10 @@ zink_end_batch(struct zink_context *ctx, struct zink_batch *batch)
|
|||
si.commandBufferCount = 1;
|
||||
si.pCommandBuffers = &batch->cmdbuf;
|
||||
|
||||
if (vkQueueSubmit(ctx->queue, 1, &si, batch->fence->fence) != VK_SUCCESS)
|
||||
if (vkQueueSubmit(ctx->queue, 1, &si, batch->fence->fence) != VK_SUCCESS) {
|
||||
debug_printf("vkQueueSubmit failed\n");
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue