mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
agx: print pack assertions to stderr
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
parent
eff48b9826
commit
7ab777a959
1 changed files with 3 additions and 3 deletions
|
|
@ -22,9 +22,9 @@ static void
|
|||
pack_assert_internal(const agx_instr *I, bool condition, const char *msg)
|
||||
{
|
||||
if (!condition) {
|
||||
printf("Packing assertion failed for instruction:\n\n");
|
||||
agx_print_instr(I, stdout);
|
||||
printf("\n%s\n", msg);
|
||||
fprintf(stderr, "Packing assertion failed for instruction:\n\n");
|
||||
agx_print_instr(I, stderr);
|
||||
fprintf(stderr, "\n%s\n", msg);
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue