This was too optimistic sorry - all that register does is something weird with polygo...
authorVladimir Dergachev <volodya@freedesktop.org>
Thu, 3 Feb 2005 03:47:12 +0000 (03:47 +0000)
committerVladimir Dergachev <volodya@freedesktop.org>
Thu, 3 Feb 2005 03:47:12 +0000 (03:47 +0000)
src/mesa/drivers/dri/r300/r300_state.c

index 72dfe7a3b6f93d6e58f1cefc98650476f2092ec4..abd87728c942d534446c21b78cf1b35fc4b4d946 100644 (file)
@@ -499,12 +499,7 @@ static void r300Enable(GLcontext* ctx, GLenum cap, GLboolean state)
                r300UpdateCulling(ctx);
                break;
        case GL_POLYGON_OFFSET_FILL:
-               R300_STATECHANGE(r300, unk42B4);
-               if (state) {
-                       r300->hw.unk42B4.cmd[1] = (1<<1);
-               } else {
-                       r300->hw.unk42B4.cmd[1] = 0;
-               }
+               WARN_ONCE("Don't know how to enable polygon offset fill. Help me !\n");
                break;
        case GL_VERTEX_PROGRAM_ARB:
                //TCL_FALLBACK(rmesa->glCtx, R200_TCL_FALLBACK_TCL_DISABLE, state);
@@ -1662,9 +1657,7 @@ void r300ResetHwState(r300ContextPtr r300)
 
        r300->hw.unk42A0.cmd[1] = 0x00000000;
 
-       #if 0
        r300->hw.unk42B4.cmd[1] = 0x00000000;
-       #endif
        
        r300->hw.unk42C0.cmd[1] = 0x4B7FFFFF;
        r300->hw.unk42C0.cmd[2] = 0x00000000;