diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-05-13 18:02:08 -0700 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-05-17 12:01:16 -0700 |
commit | fea91ee22d468bf2b66aaba9e7b509d30914a110 (patch) | |
tree | 34fec65e796319098a6a28a37797b46904ca6b9c /src/gallium/drivers/r300/r300_emit.c | |
parent | ddf09d20df8b9b4706e3abf901cb8879b02951db (diff) |
r300g: Add RS block dump.
Shows what's actually going on in the RS block.
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 4 |
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 49a51fb936..7f7f2929cc 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -716,6 +716,10 @@ void r300_emit_rs_block_state(struct r300_context* r300, unsigned count = (rs->inst_count & R300_RS_INST_COUNT_MASK) + 1; CS_LOCALS(r300); + if (SCREEN_DBG_ON(r300->screen, DBG_DRAW)) { + r500_dump_rs_block(rs); + } + DBG(r300, DBG_DRAW, "r300: RS emit:\n"); BEGIN_CS(size); |