Mesa (master): intel/batch_decoder: Stop printing to stdout
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Apr 16 17:36:12 UTC 2020
Module: Mesa
Branch: master
Commit: 029471c3c4eb1fde68fbebc79fdcb8e70090aab8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=029471c3c4eb1fde68fbebc79fdcb8e70090aab8
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Wed Apr 15 16:38:56 2020 -0500
intel/batch_decoder: Stop printing to stdout
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4597>
---
src/intel/common/gen_batch_decoder.c | 4 ++--
1 file 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");
}
}
More information about the mesa-commit
mailing list