From 923c4b3f4a70737f7f36894dc0b4648f04fd8c19 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 31 Oct 2012 14:30:13 -0700 Subject: i965: Add a little bit more debug info for validate blits. The kind of data you're copying is definitely an interesting variable. Reviewed-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c index cd7299e2a30..c70c1de0ccc 100644 --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c @@ -696,8 +696,10 @@ intel_miptree_copy_slice(struct intel_context *intel, intel_miptree_get_image_offset(src_mt, level, face, depth, &src_x, &src_y); - DBG("validate blit mt %p %d,%d/%d -> mt %p %d,%d/%d (%dx%d)\n", + DBG("validate blit mt %s %p %d,%d/%d -> mt %s %p %d,%d/%d (%dx%d)\n", + _mesa_get_format_name(src_mt->format), src_mt, src_x, src_y, src_mt->region->pitch * src_mt->region->cpp, + _mesa_get_format_name(dst_mt->format), dst_mt, dst_x, dst_y, dst_mt->region->pitch * dst_mt->region->cpp, width, height); -- cgit v1.2.3