Commit f918f35d authored by Erik Faye-Lund 's avatar Erik Faye-Lund

zink: abort on submit-failure

parent 6939fd8b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment