summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_emit.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-09-10 09:18:03 +0200
committerMarek Olšák <maraeo@gmail.com>2010-09-13 07:49:43 +0200
commitab7cc445801b99a4482ea50429ceea1d0601a221 (patch)
tree0c869af913208ef5188fe669a391d85d381235a4 /src/gallium/drivers/r300/r300_emit.c
parentc3c5646b93eb20013d2739c7966da7ddad532877 (diff)
downloadexternal_mesa3d-ab7cc445801b99a4482ea50429ceea1d0601a221.zip
external_mesa3d-ab7cc445801b99a4482ea50429ceea1d0601a221.tar.gz
external_mesa3d-ab7cc445801b99a4482ea50429ceea1d0601a221.tar.bz2
r300g: add new debug options for dumping scissor regs and disabling CBZB clear
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index 2583b93..3eebd2a 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -300,6 +300,10 @@ void r300_emit_gpu_flush(struct r300_context *r300, unsigned size, void *state)
width = surf->cbzb_width;
}
+ DBG(r300, DBG_SCISSOR,
+ "r300: Scissor width: %i, height: %i, CBZB clear: %s\n",
+ width, height, r300->cbzb_clear ? "YES" : "NO");
+
BEGIN_CS(size);
/* Set up scissors.