etnaviv: abort() instead of assert(0) on compiler error
authorItalo Nicola <italonicola@collabora.com>
Thu, 23 Mar 2023 00:47:36 +0000 (00:47 +0000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 6 Apr 2023 16:51:35 +0000 (16:51 +0000)
Signed-off-by: Italo Nicola <italonicola@collabora.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22210>

src/gallium/drivers/etnaviv/etnaviv_compiler_nir.h

index 4e7d858..8c30ab1 100644 (file)
@@ -62,7 +62,7 @@ struct etna_compile {
 #define compile_error(ctx, args...) ({ \
    printf(args); \
    ctx->error = true; \
-   assert(0); \
+   abort(); \
 })
 
 enum {