diff options
author | Dave Airlie <[email protected]> | 2009-01-21 01:40:33 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-01-21 01:40:33 +1000 |
commit | d9c4a01bad3a7d4a965fc09d8605afc6ca48f6f9 (patch) | |
tree | c5347c9b5ee3ef1c88855e50a1c25cca0118237b /src/mesa/drivers/dri/radeon/common_misc.c | |
parent | 04029e5ddb030445edc98305b091b9a35479282a (diff) |
r200: make tri render on my r200.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/common_misc.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/common_misc.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/common_misc.c b/src/mesa/drivers/dri/radeon/common_misc.c index 51cbe590244..d7c16c4957a 100644 --- a/src/mesa/drivers/dri/radeon/common_misc.c +++ b/src/mesa/drivers/dri/radeon/common_misc.c @@ -1337,3 +1337,16 @@ void rcommon_emit_vector(GLcontext * ctx, struct radeon_aos *aos, } radeon_bo_unmap(aos->bo); } + + +void radeon_print_state_atom( struct radeon_state_atom *state ) +{ + int i; + + fprintf(stderr, "emit %s/%d\n", state->name, state->cmd_size); + + if (RADEON_DEBUG & DEBUG_VERBOSE) + for (i = 0 ; i < state->cmd_size ; i++) + fprintf(stderr, "\t%s[%d]: %x\n", state->name, i, state->cmd[i]); + +} |