aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/zink/zink_batch.c
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-07-12 11:28:45 +0200
committerErik Faye-Lund <[email protected]>2019-10-28 08:51:46 +0000
commitb8a9bbeb000ad9c799ee79f464010e7871900bef (patch)
treec2bf66a6984e17e5a708b46f8ebe9d59ab0302d6 /src/gallium/drivers/zink/zink_batch.c
parent4a64ee192adf909bb29b1b7c8a5af3508cc35428 (diff)
zink: abort on submit-failure
Acked-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/zink/zink_batch.c')
-rw-r--r--src/gallium/drivers/zink/zink_batch.c4
1 files changed, 3 insertions, 1 deletions
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