diff options
author | Eric Anholt <[email protected]> | 2005-05-28 23:45:39 +0000 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2005-05-28 23:45:39 +0000 |
commit | 0b73889d54add35aadbf5e623ac5441d70439e6f (patch) | |
tree | 27570d51d5c8cc1c52fc6552209dd265ce144e15 /src/mesa/drivers/dri/radeon | |
parent | 2962f88189c46e0bfe3fc33a1d46be9409cb9c10 (diff) |
Put some fallback debugging output under DEBUG_FALLBACKS.
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_texstate.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_texstate.c b/src/mesa/drivers/dri/radeon/radeon_texstate.c index b96ad740d15..60877e87da5 100644 --- a/src/mesa/drivers/dri/radeon/radeon_texstate.c +++ b/src/mesa/drivers/dri/radeon/radeon_texstate.c @@ -881,14 +881,16 @@ static GLboolean radeon_validate_texgen( GLcontext *ctx, GLuint unit ) /* Very easy to do this, in fact would remove a fallback case * elsewhere, but I haven't done it yet... Fallback: */ - fprintf(stderr, "fallback Q_BIT\n"); + if (RADEON_DEBUG & DEBUG_FALLBACKS) + fprintf(stderr, "fallback Q_BIT\n"); return GL_FALSE; } else if ((texUnit->TexGenEnabled & (S_BIT|T_BIT)) != (S_BIT|T_BIT) || texUnit->GenModeS != texUnit->GenModeT) { /* Mixed modes, fallback: */ - /* fprintf(stderr, "fallback mixed texgen\n"); */ + if (RADEON_DEBUG & DEBUG_FALLBACKS) + fprintf(stderr, "fallback mixed texgen\n"); return GL_FALSE; } else |