Correct the descriptions of the glBlend{Equation,Func} fallbacks in r128, and
authorEric Anholt <anholt@FreeBSD.org>
Tue, 31 May 2005 04:26:13 +0000 (04:26 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Tue, 31 May 2005 04:26:13 +0000 (04:26 +0000)
remove those descriptions and the corresponding bits on r200, where they're no
longer used.

src/mesa/drivers/dri/r128/r128_tris.c
src/mesa/drivers/dri/r200/r200_context.h
src/mesa/drivers/dri/r200/r200_swtcl.c

index 8c2047baa4bc91dd1547df8c53154dcd3276ce6f..4a1015b9e4cf135db4ba9d57f6ee000b855e5086 100644 (file)
@@ -673,8 +673,8 @@ static const char * const fallbackStrings[] = {
    "glRenderMode(selection or feedback)",
    "glLogicOp (mode != GL_COPY)",
    "GL_SEPARATE_SPECULAR_COLOR",
-   "glBlendEquation",
-   "glBlendFunc(mode != ADD)",
+   "glBlendEquation(mode != ADD)",
+   "glBlendFunc",
    "Projective texture",
    "Rasterization disable",
 };
index eea3a7fe358dc86a4b887e3b9c5c7b81b938baa9..5e3fb2295d524cecaca15b7806515171fdbadbb4 100644 (file)
@@ -59,14 +59,12 @@ typedef struct r200_context *r200ContextPtr;
 
 /* Flags for software fallback cases */
 /* See correponding strings in r200_swtcl.c */
-#define R200_FALLBACK_TEXTURE           0x1
-#define R200_FALLBACK_DRAW_BUFFER       0x2
-#define R200_FALLBACK_STENCIL           0x4
-#define R200_FALLBACK_RENDER_MODE       0x8
-#define R200_FALLBACK_BLEND_EQ          0x10
-#define R200_FALLBACK_BLEND_FUNC        0x20
-#define R200_FALLBACK_DISABLE           0x40
-#define R200_FALLBACK_BORDER_MODE       0x80
+#define R200_FALLBACK_TEXTURE           0x01
+#define R200_FALLBACK_DRAW_BUFFER       0x02
+#define R200_FALLBACK_STENCIL           0x04
+#define R200_FALLBACK_RENDER_MODE       0x08
+#define R200_FALLBACK_DISABLE           0x10
+#define R200_FALLBACK_BORDER_MODE       0x20
 
 /* The blit width for texture uploads
  */
index 4dad6c1271bdff8634c3c92713214c5b0ef95730..fd1aa783f5997b17b247ce14db4261eaa53455b3 100644 (file)
@@ -647,8 +647,6 @@ static const char * const fallbackStrings[] = {
    "glDrawBuffer(GL_FRONT_AND_BACK)",
    "glEnable(GL_STENCIL) without hw stencil buffer",
    "glRenderMode(selection or feedback)",
-   "glBlendEquation",
-   "glBlendFunc(mode != ADD)",
    "R200_NO_RAST",
    "Mixing GL_CLAMP_TO_BORDER and GL_CLAMP (or GL_MIRROR_CLAMP_ATI)"
 };