diff --git a/src/mesa/drivers/dri/r300/r300_blit.c b/src/mesa/drivers/dri/r300/r300_blit.c index fa60628..7fe7f39 100644 --- a/src/mesa/drivers/dri/r300/r300_blit.c +++ b/src/mesa/drivers/dri/r300/r300_blit.c @@ -499,6 +499,9 @@ static void emit_cb_setup(struct r300_context *r300, _mesa_get_format_bytes(mesa_format), _mesa_format_row_stride(mesa_format, pitch)); + radeon_print(RADEON_STATE, RADEON_VERBOSE, + "%s TL %d,%d, BR %d,%d\n", + __func__, x1, y1, x2, y2); BEGIN_BATCH_NO_AUTOSTATE(5); OUT_BATCH_REGSEQ(R300_SC_SCISSORS_TL, 2); OUT_BATCH((x1 << R300_SCISSORS_X_SHIFT)|(y1 << R300_SCISSORS_Y_SHIFT)); diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c index e2dbb1d..7a12654 100644 --- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c +++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c @@ -253,6 +253,9 @@ void r300_emit_scissor(GLcontext *ctx) x2 += R300_SCISSORS_OFFSET; y2 += R300_SCISSORS_OFFSET; } + radeon_print(RADEON_STATE, RADEON_VERBOSE, + "%s TL %d,%d, BR %d,%d\n", + __func__, x1, y1, x2, y2); BEGIN_BATCH_NO_AUTOSTATE(3); OUT_BATCH_REGSEQ(R300_SC_SCISSORS_TL, 2); OUT_BATCH((x1 << R300_SCISSORS_X_SHIFT)|(y1 << R300_SCISSORS_Y_SHIFT)); @@ -278,6 +281,9 @@ static void emit_scissor(struct r300_context *r300, int i; BATCH_LOCALS(&r300->radeon); if (r300->radeon.radeonScreen->chip_family >= CHIP_FAMILY_RV515) { + radeon_print(RADEON_STATE, RADEON_VERBOSE, + "%s TL %d,%d, BR %d,%d\n", + __func__, 0, 0, width - 1, height - 1); BEGIN_BATCH_NO_AUTOSTATE(3); OUT_BATCH_REGSEQ(R300_SC_SCISSORS_TL, 2); OUT_BATCH(0); @@ -296,6 +302,9 @@ static void emit_scissor(struct r300_context *r300, OUT_BATCH(0xffffff); END_BATCH(); } else { + radeon_print(RADEON_STATE, RADEON_VERBOSE, + "%s 2 TL %d,%d, BR %d,%d\n", + __func__, 0, 0, width - 1, height - 1); BEGIN_BATCH_NO_AUTOSTATE(3); OUT_BATCH_REGSEQ(R300_SC_SCISSORS_TL, 2); OUT_BATCH((R300_SCISSORS_OFFSET << R300_SCISSORS_X_SHIFT) |