mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-15 08:30:42 +01:00
freedreno: Fix stdout vs stderr logging
Everything else uses mesa_log*(), which uses stderr. Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40144>
This commit is contained in:
parent
b618b7e725
commit
48a82aa1ad
1 changed files with 3 additions and 3 deletions
|
|
@ -282,18 +282,18 @@ fd_bc_dump(struct fd_context *ctx, const char *fmt, ...)
|
|||
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
vprintf(fmt, ap);
|
||||
vfprintf(stderr, fmt, ap);
|
||||
va_end(ap);
|
||||
|
||||
for (int i = 0; i < ARRAY_SIZE(cache->batches); i++) {
|
||||
struct fd_batch *batch = cache->batches[i];
|
||||
if (batch) {
|
||||
printf(" %p<%u>%s\n", batch, batch->seqno,
|
||||
fprintf(stderr, " %p<%u>%s\n", batch, batch->seqno,
|
||||
batch->needs_flush ? ", NEEDS FLUSH" : "");
|
||||
}
|
||||
}
|
||||
|
||||
printf("----\n");
|
||||
fprintf(stderr, "----\n");
|
||||
|
||||
fd_screen_unlock(ctx->screen);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue