summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-11-11 15:25:43 +0000
committerDave Airlie <airlied@redhat.com>2011-12-05 11:31:15 +0000
commitfbfa80703449365415c9db6d189dd0a6a35fb4d4 (patch)
tree068c9bbc0246ce7cb6c46f735da7e03f8f8cb90c
parent887c349d543d5b6d681845eb441be88acb8e0063 (diff)
radeon: add a bit more debugging to the blit debug code.
For debugging blits it helps if we printed out the offsets as well. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_blit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_blit.c b/src/mesa/drivers/dri/radeon/radeon_blit.c
index 25d21197562..330e1abdfe5 100644
--- a/src/mesa/drivers/dri/radeon/radeon_blit.c
+++ b/src/mesa/drivers/dri/radeon/radeon_blit.c
@@ -379,14 +379,14 @@ unsigned r100_blit(struct gl_context *ctx,
}
if (0) {
- fprintf(stderr, "src: size [%d x %d], pitch %d, "
+ fprintf(stderr, "src: size [%d x %d], pitch %d, offset %d "
"offset [%d x %d], format %s, bo %p\n",
- src_width, src_height, src_pitch,
+ src_width, src_height, src_pitch, src_offset,
src_x_offset, src_y_offset,
_mesa_get_format_name(src_mesaformat),
src_bo);
- fprintf(stderr, "dst: pitch %d, offset[%d x %d], format %s, bo %p\n",
- dst_pitch, dst_x_offset, dst_y_offset,
+ fprintf(stderr, "dst: pitch %d offset %d, offset[%d x %d], format %s, bo %p\n",
+ dst_pitch, dst_offset, dst_x_offset, dst_y_offset,
_mesa_get_format_name(dst_mesaformat), dst_bo);
fprintf(stderr, "region: %d x %d\n", reg_width, reg_height);
}