From: Vladimir Dergachev Date: Thu, 3 Feb 2005 03:47:12 +0000 (+0000) Subject: This was too optimistic sorry - all that register does is something weird with polygo... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f350617c24470f4b5ef4305e2951f8b9c07bb210;p=mesa.git This was too optimistic sorry - all that register does is something weird with polygon culling. --- diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index 72dfe7a3b6f..abd87728c94 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -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;