From: Tomeu Vizoso Date: Fri, 21 Feb 2020 12:47:38 +0000 (+0100) Subject: panfrost: Remove some more prints to stdout X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae5e6406df49add1d70088671491f96e442c2d85;p=mesa.git panfrost: Remove some more prints to stdout They can confuse test runners. Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/gallium/drivers/panfrost/nir/nir_lower_framebuffer.c b/src/gallium/drivers/panfrost/nir/nir_lower_framebuffer.c index 887b3662dc3..f575a63b731 100644 --- a/src/gallium/drivers/panfrost/nir/nir_lower_framebuffer.c +++ b/src/gallium/drivers/panfrost/nir/nir_lower_framebuffer.c @@ -219,7 +219,7 @@ nir_shader_to_native(nir_builder *b, return nir_format_pack_11f11f10f(b, c_shader); default: - printf("%s\n", desc->name); + fprintf(stderr, "%s\n", desc->name); unreachable("Unknown format name"); } } @@ -267,7 +267,7 @@ nir_native_to_shader(nir_builder *b, } default: - printf("%s\n", desc->name); + fprintf(stderr, "%s\n", desc->name); unreachable("Unknown format name"); } } diff --git a/src/panfrost/encoder/pan_format.c b/src/panfrost/encoder/pan_format.c index 80253072e89..205f722dd71 100644 --- a/src/panfrost/encoder/pan_format.c +++ b/src/panfrost/encoder/pan_format.c @@ -218,7 +218,7 @@ panfrost_find_format(const struct util_format_description *desc) break; default: - printf("%s\n", util_format_name(desc->format)); + fprintf(stderr, "%s\n", util_format_name(desc->format)); unreachable("Invalid format type"); } diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index 7dad7560a19..bce87ee2d45 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -1837,7 +1837,7 @@ emit_intrinsic(compiler_context *ctx, nir_intrinsic_instr *instr) break; default: - printf ("Unhandled intrinsic %s\n", nir_intrinsic_infos[instr->intrinsic].name); + fprintf(stderr, "Unhandled intrinsic %s\n", nir_intrinsic_infos[instr->intrinsic].name); assert(0); break; } @@ -2091,7 +2091,7 @@ emit_texop_native(compiler_context *ctx, nir_tex_instr *instr, } default: { - printf ("Unknown texture source type: %d\n", instr->src[i].src_type); + fprintf(stderr, "Unknown texture source type: %d\n", instr->src[i].src_type); assert(0); } } @@ -2121,7 +2121,7 @@ emit_tex(compiler_context *ctx, nir_tex_instr *instr) emit_sysval_read(ctx, &instr->instr, ~0, 4, 0); break; default: { - printf ("Unhandled texture op: %d\n", instr->op); + fprintf(stderr, "Unhandled texture op: %d\n", instr->op); assert(0); } }