From: Jason Ekstrand Date: Wed, 15 Apr 2020 21:38:56 +0000 (-0500) Subject: intel/batch_decoder: Stop printing to stdout X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=029471c3c4eb1fde68fbebc79fdcb8e70090aab8;p=mesa.git intel/batch_decoder: Stop printing to stdout Reviewed-by: Caio Marcelo de Oliveira Filho Part-of: --- diff --git a/src/intel/common/gen_batch_decoder.c b/src/intel/common/gen_batch_decoder.c index e03a5e1d26c..22a084c65fe 100644 --- a/src/intel/common/gen_batch_decoder.c +++ b/src/intel/common/gen_batch_decoder.c @@ -378,7 +378,7 @@ handle_media_interface_descriptor_load(struct gen_batch_decode_ctx *ctx, } ctx_disassemble_program(ctx, ksp, "compute shader"); - printf("\n"); + fprintf(ctx->fp, "\n"); dump_samplers(ctx, sampler_offset, sampler_count); dump_binding_table(ctx, binding_table_offset, binding_entry_count); @@ -540,7 +540,7 @@ decode_single_ksp(struct gen_batch_decode_ctx *ctx, const uint32_t *p) if (is_enabled) { ctx_disassemble_program(ctx, ksp, type); - printf("\n"); + fprintf(ctx->fp, "\n"); } }