diff options
author | Emma Anholt <emma@anholt.net> | 2021-06-16 09:49:01 -0700 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-06-18 18:18:35 +0000 |
commit | 3863008c22375d9cc1ecfab2a816c49c8787b83f (patch) | |
tree | 0c788f207005f09c57fa785808727483f96d8035 /src/freedreno | |
parent | ecf807c900f0412627eb21db92bc30a43e4e46b4 (diff) |
freedreno/ir3: Move the assert output to mesa_loge().
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9262>
Diffstat (limited to 'src/freedreno')
-rw-r--r-- | src/freedreno/ir3/disasm-a3xx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/freedreno/ir3/disasm-a3xx.c b/src/freedreno/ir3/disasm-a3xx.c index 3f2678376ee..f0b9731fee1 100644 --- a/src/freedreno/ir3/disasm-a3xx.c +++ b/src/freedreno/ir3/disasm-a3xx.c @@ -29,6 +29,7 @@ #include <assert.h> #include <util/u_debug.h> +#include <util/log.h> #include "isa/isa.h" @@ -551,7 +552,7 @@ void ir3_assert_handler(const char *expr, const char *file, int line, const char *func) { - fprintf(stdout, "\n%s:%u: %s: Assertion `%s' failed.\n", file, line, func, expr); + mesa_loge("%s:%u: %s: Assertion `%s' failed.", file, line, func, expr); if (jmp_env_valid) longjmp(jmp_env, 1); abort(); |