panfrost: Remove some more prints to stdout
They can confuse test runners. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3876>
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user