From: Erik Faye-Lund Date: Fri, 12 Jul 2019 09:28:45 +0000 (+0200) Subject: zink: abort on submit-failure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8a9bbeb000ad9c799ee79f464010e7871900bef;p=mesa.git zink: abort on submit-failure Acked-by: Jordan Justen --- diff --git a/src/gallium/drivers/zink/zink_batch.c b/src/gallium/drivers/zink/zink_batch.c index c8a4883a807..2a1e7f8e65b 100644 --- a/src/gallium/drivers/zink/zink_batch.c +++ b/src/gallium/drivers/zink/zink_batch.c @@ -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