added a few more fallbackStrings (Andreas Stenglein)
[mesa.git] / src / mesa / drivers / dri / radeon / radeon_texstate.c
index b96ad740d15d343de15ac9a37600c40393e69abf..43fe509fb4e90d568c1d32d38a85c768950fdca3 100644 (file)
@@ -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
@@ -923,7 +925,8 @@ static GLboolean radeon_validate_texgen( GLcontext *ctx, GLuint unit )
    default:
       /* Unsupported mode, fallback:
        */
-      /*  fprintf(stderr, "fallback unsupported texgen\n"); */
+      if (RADEON_DEBUG & DEBUG_FALLBACKS) 
+        fprintf(stderr, "fallback GL_SPHERE_MAP\n");
       return GL_FALSE;
    }