summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_blit.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-12-07 20:27:20 -0800
committerEric Anholt <eric@anholt.net>2015-12-08 09:49:51 -0800
commitfb4877dbab52d2b8fcc0ad7ec500385f87b6bdec (patch)
treee60d65e1501ed50c168f8e605535cb8032001267 /src/gallium/drivers/vc4/vc4_blit.c
parent2792d118f17f92b1908e3f0fc735087bb7ea4c38 (diff)
downloadexternal_mesa3d-fb4877dbab52d2b8fcc0ad7ec500385f87b6bdec.zip
external_mesa3d-fb4877dbab52d2b8fcc0ad7ec500385f87b6bdec.tar.gz
external_mesa3d-fb4877dbab52d2b8fcc0ad7ec500385f87b6bdec.tar.bz2
vc4: Add disabled debug printf for describing blits.
I keep typing variants of this while debugging RCL blits for MSAA.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_blit.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_blit.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_blit.c b/src/gallium/drivers/vc4/vc4_blit.c
index 6f5c91d..2aed540 100644
--- a/src/gallium/drivers/vc4/vc4_blit.c
+++ b/src/gallium/drivers/vc4/vc4_blit.c
@@ -82,6 +82,16 @@ vc4_tile_blit(struct pipe_context *pctx, const struct pipe_blit_info *info)
vc4_flush(pctx);
+ if (false) {
+ fprintf(stderr, "RCL blit from %d,%d to %d,%d (%d,%d)\n",
+ info->src.box.x,
+ info->src.box.y,
+ info->dst.box.x,
+ info->dst.box.y,
+ info->dst.box.width,
+ info->dst.box.height);
+ }
+
struct pipe_surface *dst_surf =
vc4_get_blit_surface(pctx, info->dst.resource, info->dst.level);
struct pipe_surface *src_surf =