summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_context.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c
index 13f0ef0158c..5bb95fd46d2 100644
--- a/src/gallium/drivers/vc4/vc4_context.c
+++ b/src/gallium/drivers/vc4/vc4_context.c
@@ -248,8 +248,10 @@ vc4_flush(struct pipe_context *pctx)
#else
ret = vc4_simulator_flush(vc4, &submit);
#endif
- if (ret)
- errx(1, "VC4 submit failed\n");
+ if (ret) {
+ fprintf(stderr, "VC4 submit failed\n");
+ abort();
+ }
}
vc4_reset_cl(&vc4->bcl);