#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)
} 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)
/* 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;
}
}
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;
}
}
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;
}
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;
}