From 3b7d35bb99cb0caa47841c415473a065a4610925 Mon Sep 17 00:00:00 2001 From: Italo Nicola Date: Thu, 23 Mar 2023 00:47:36 +0000 Subject: [PATCH] etnaviv: abort() instead of assert(0) on compiler error Signed-off-by: Italo Nicola Reviewed-by: Christian Gmeiner Part-of: --- src/gallium/drivers/etnaviv/etnaviv_compiler_nir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.h b/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.h index 4e7d858..8c30ab1 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.h +++ b/src/gallium/drivers/etnaviv/etnaviv_compiler_nir.h @@ -62,7 +62,7 @@ struct etna_compile { #define compile_error(ctx, args...) ({ \ printf(args); \ ctx->error = true; \ - assert(0); \ + abort(); \ }) enum { -- 2.7.4