mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
pan/bi/ra: Dump verbose debug logging to stderr
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com> Reviewed-by: Lorenzo Rossi <lorenzo.rossi@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40576>
This commit is contained in:
parent
fc0770d5e3
commit
dbefdb2376
1 changed files with 3 additions and 3 deletions
|
|
@ -1206,7 +1206,7 @@ bi_register_allocate(bi_context *ctx)
|
|||
|
||||
bi_compute_liveness_ssa(ctx);
|
||||
if (verbose) {
|
||||
bi_print_shader(ctx, stdout);
|
||||
bi_print_shader(ctx, stderr);
|
||||
}
|
||||
unsigned register_demand = bi_calc_register_demand(ctx);
|
||||
if (register_demand > regs_to_use) {
|
||||
|
|
@ -1225,8 +1225,8 @@ bi_register_allocate(bi_context *ctx)
|
|||
if (ctx->arch >= 9)
|
||||
spill_count = ALIGN_POT(spill_count, 16);
|
||||
if (verbose) {
|
||||
printf("\nspill_registers=%d\n", spill_count);
|
||||
bi_print_shader(ctx, stdout);
|
||||
fprintf(stderr, "\nspill_registers=%d\n", spill_count);
|
||||
bi_print_shader(ctx, stderr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue