summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@freedesktop.org>2005-02-03 03:47:12 +0000
committerVladimir Dergachev <volodya@freedesktop.org>2005-02-03 03:47:12 +0000
commitf350617c24470f4b5ef4305e2951f8b9c07bb210 (patch)
treeafcd5f19eaadb0f481052665d374c12c58190674 /src/mesa/drivers/dri
parentf46de6f23b93cdcae5c33a5c107a3c1578cb9ed1 (diff)
This was too optimistic sorry - all that register does is something weird with polygon culling.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c
index 72dfe7a3b6..abd87728c9 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;