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>
This commit is contained in:
parent
887c349d54
commit
fbfa807034
|
@ -379,14 +379,14 @@ unsigned r100_blit(struct gl_context *ctx,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (0) {
|
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",
|
"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,
|
src_x_offset, src_y_offset,
|
||||||
_mesa_get_format_name(src_mesaformat),
|
_mesa_get_format_name(src_mesaformat),
|
||||||
src_bo);
|
src_bo);
|
||||||
fprintf(stderr, "dst: pitch %d, offset[%d x %d], format %s, bo %p\n",
|
fprintf(stderr, "dst: pitch %d offset %d, offset[%d x %d], format %s, bo %p\n",
|
||||||
dst_pitch, dst_x_offset, dst_y_offset,
|
dst_pitch, dst_offset, dst_x_offset, dst_y_offset,
|
||||||
_mesa_get_format_name(dst_mesaformat), dst_bo);
|
_mesa_get_format_name(dst_mesaformat), dst_bo);
|
||||||
fprintf(stderr, "region: %d x %d\n", reg_width, reg_height);
|
fprintf(stderr, "region: %d x %d\n", reg_width, reg_height);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue