diff options
author | Eric Anholt <[email protected]> | 2012-10-31 14:30:13 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-11-19 15:07:22 -0800 |
commit | 923c4b3f4a70737f7f36894dc0b4648f04fd8c19 (patch) | |
tree | 498776fc141ab37abf427f070767597daa74e816 /src/mesa | |
parent | e5671040c5f8e223c48c96ebb8a2fb98c86b741b (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |