summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/r300/r300_cs.h6
-rw-r--r--src/gallium/drivers/r300/r300_screen.c10
2 files changed, 9 insertions, 7 deletions
diff --git a/src/gallium/drivers/r300/r300_cs.h b/src/gallium/drivers/r300/r300_cs.h
index 2dcb92d9af2..e6860cbaf7b 100644
--- a/src/gallium/drivers/r300/r300_cs.h
+++ b/src/gallium/drivers/r300/r300_cs.h
@@ -67,7 +67,7 @@ static uint32_t pack_float_32(float f)
#define BEGIN_CS(size) do { \
CHECK_CS(size); \
- debug_printf("r300: BEGIN_CS in %s (%s:%d)", __FUNCTION__, __FILE__, \
+ debug_printf("r300: BEGIN_CS in %s (%s:%d)\n", __FUNCTION__, __FILE__, \
__LINE__); \
cs_winsys->begin_cs(cs, (size), __FILE__, __FUNCTION__, __LINE__); \
} while (0)
@@ -94,13 +94,13 @@ static uint32_t pack_float_32(float f)
} while (0)
#define END_CS do { \
- debug_printf("r300: END_CS in %s (%s:%d)", __FUNCTION__, __FILE__, \
+ debug_printf("r300: END_CS in %s (%s:%d)\n", __FUNCTION__, __FILE__, \
__LINE__); \
cs_winsys->end_cs(cs, __FILE__, __FUNCTION__, __LINE__); \
} while (0)
#define FLUSH_CS do { \
- debug_printf("r300: FLUSH_CS in %s (%s:%d)", __FUNCTION__, __FILE__, \
+ debug_printf("r300: FLUSH_CS in %s (%s:%d)\n", __FUNCTION__, __FILE__, \
__LINE__); \
cs_winsys->flush_cs(cs); \
} while (0)
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index dc1e41749f8..25ddb0e8c68 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -139,7 +139,8 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
/* XXX 4 eventually */
return 1;
default:
- debug_printf("r300: Implementation error: Bad param %d", param);
+ debug_printf("r300: Implementation error: Bad param %d\n",
+ param);
return 0;
}
}
@@ -162,7 +163,8 @@ static float r300_get_paramf(struct pipe_screen* pscreen, int param)
case PIPE_CAP_MAX_TEXTURE_LOD_BIAS:
return 16.0f;
default:
- debug_printf("r300: Implementation error: Bad paramf %d", param);
+ debug_printf("r300: Implementation error: Bad paramf %d\n",
+ param);
return 0.0f;
}
}
@@ -175,7 +177,7 @@ static boolean check_tex_2d_format(enum pipe_format format)
case PIPE_FORMAT_I8_UNORM:
return TRUE;
default:
- debug_printf("r300: Warning: Got unknown format: %d, in %s",
+ debug_printf("r300: Warning: Got unknown format: %d, in %s\n",
format, __FUNCTION__);
break;
}
@@ -194,7 +196,7 @@ static boolean r300_is_format_supported(struct pipe_screen* pscreen,
case PIPE_TEXTURE_2D:
return check_tex_2d_format(format);
default:
- debug_printf("r300: Warning: Got unknown format target: %d",
+ debug_printf("r300: Warning: Got unknown format target: %d\n",
format);
break;
}