From 029471c3c4eb1fde68fbebc79fdcb8e70090aab8 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 15 Apr 2020 16:38:56 -0500 Subject: intel/batch_decoder: Stop printing to stdout Reviewed-by: Caio Marcelo de Oliveira Filho Part-of: --- src/intel/common/gen_batch_decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/intel') 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"); } } -- cgit v1.2.3