diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/r300/r300_debug.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index e44906d0099..4b852ab5454 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -465,6 +465,8 @@ struct draw_stage* r300_draw_stage(struct r300_context* r300); void r300_init_state_functions(struct r300_context* r300); void r300_init_resource_functions(struct r300_context* r300); +void r500_dump_rs_block(struct r300_rs_block *rs); + static INLINE boolean CTX_DBG_ON(struct r300_context * ctx, unsigned flags) { return SCREEN_DBG_ON(ctx->screen, flags); diff --git a/src/gallium/drivers/r300/r300_debug.c b/src/gallium/drivers/r300/r300_debug.c index 85a1aa7b06e..024731a22ab 100644 --- a/src/gallium/drivers/r300/r300_debug.c +++ b/src/gallium/drivers/r300/r300_debug.c @@ -126,9 +126,9 @@ void r500_dump_rs_block(struct r300_rs_block *rs) j = 3; do { - if (tex_ptr & 0x3f == 63) { + if ((tex_ptr & 0x3f) == 63) { fprintf(stderr, "1.0"); - } else if (tex_ptr & 0x3f == 62) { + } else if ((tex_ptr & 0x3f) == 62) { fprintf(stderr, "0.0"); } else { fprintf(stderr, "[%d]", tex_ptr & 0x3f); |