aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2020-04-15 16:38:56 -0500
committerMarge Bot <[email protected]>2020-04-16 17:26:16 +0000
commit029471c3c4eb1fde68fbebc79fdcb8e70090aab8 (patch)
tree1180cb6430538a5c274c8911a0e12f7a6c60b441 /src/intel
parentb8acf9a3d4af33cf8b6b8c870167c2aa348990a0 (diff)
intel/batch_decoder: Stop printing to stdout
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4597>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/common/gen_batch_decoder.c4
1 files changed, 2 insertions, 2 deletions
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");
}
}