*/
#include "pan_context.h"
-#include "util/u_format.h"
+#include "pan_util.h"
+#include "util/format/u_format.h"
static void
panfrost_blitter_save(
struct panfrost_context *ctx = pan_context(pipe);
if (!util_blitter_is_blit_supported(ctx->blitter, info)) {
- fprintf(stderr, "blit unsupported %s -> %s\n",
+ DBG("blit unsupported %s -> %s\n",
util_format_short_name(info->src.resource->format),
util_format_short_name(info->dst.resource->format));
return false;
if (panfrost_u_blitter_blit(pipe, info))
return;
- fprintf(stderr, "Unhandled blit");
-
return;
}
panfrost_blit_wallpaper(struct panfrost_context *ctx, struct pipe_box *box)
{
struct panfrost_batch *batch = ctx->wallpaper_batch;
- struct pipe_blit_info binfo = { };
+ struct pipe_blit_info binfo = {0};
panfrost_blitter_save(ctx, ctx->blitter_wallpaper);