r300g: remove unused debug option DBG_UPLOAD

And renumber the options.
This commit is contained in:
Marek Olšák 2011-06-01 01:09:11 +02:00
parent c5903ed454
commit 37a85b1830
2 changed files with 11 additions and 15 deletions

View file

@ -27,7 +27,7 @@
#include <stdio.h>
static const struct debug_named_value debug_options[] = {
{ "info", DBG_INFO, "Print hardware info"},
{ "info", DBG_INFO, "Print hardware info (printed by default on debug builds"},
{ "fp", DBG_FP, "Log fragment program compilation" },
{ "vp", DBG_VP, "Log vertex program compilation" },
{ "pstat", DBG_P_STAT, "Log vertex/fragment program stats" },
@ -41,7 +41,6 @@ static const struct debug_named_value debug_options[] = {
{ "fb", DBG_FB, "Log framebuffer" },
{ "cbzb", DBG_CBZB, "Log fast color clear info" },
{ "hyperz", DBG_HYPERZ, "Log HyperZ info" },
{ "upload", DBG_UPLOAD, "Log user buffer upload info" },
{ "scissor", DBG_SCISSOR, "Log scissor info" },
{ "anisohq", DBG_ANISOHQ, "Use high quality anisotropic filtering" },
{ "notiling", DBG_NO_TILING, "Disable tiling" },

View file

@ -88,23 +88,20 @@ radeon_winsys(struct pipe_screen *screen) {
#define DBG_TEX (1 << 5)
#define DBG_TEXALLOC (1 << 6)
#define DBG_RS (1 << 7)
/* gap - fill it */
#define DBG_FB (1 << 9)
#define DBG_RS_BLOCK (1 << 10)
#define DBG_CBZB (1 << 11)
#define DBG_HYPERZ (1 << 12)
#define DBG_SCISSOR (1 << 13)
#define DBG_UPLOAD (1 << 14)
#define DBG_INFO (1 << 15)
#define DBG_FB (1 << 8)
#define DBG_RS_BLOCK (1 << 9)
#define DBG_CBZB (1 << 10)
#define DBG_HYPERZ (1 << 11)
#define DBG_SCISSOR (1 << 12)
#define DBG_INFO (1 << 13)
/* Features. */
#define DBG_ANISOHQ (1 << 16)
#define DBG_NO_TILING (1 << 17)
#define DBG_NO_IMMD (1 << 18)
/* gap - fill it */
#define DBG_NO_OPT (1 << 20)
#define DBG_NO_CBZB (1 << 21)
#define DBG_NO_ZMASK (1 << 22)
#define DBG_NO_HIZ (1 << 23)
#define DBG_NO_OPT (1 << 19)
#define DBG_NO_CBZB (1 << 20)
#define DBG_NO_ZMASK (1 << 21)
#define DBG_NO_HIZ (1 << 22)
/* Statistics. */
#define DBG_P_STAT (1 << 25)
/*@}*/