summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2006-12-14 04:12:05 +0000
committerBen Skeggs <[email protected]>2006-12-14 04:12:05 +0000
commitc95557f48beb132f96cf103822bb433e00131829 (patch)
tree1b7b2ce9df21a7f41eeb607d1de69aac8f93c9dc /src
parent15c7e8896ba4c0fedbe3510cb04c44ba3e8d644b (diff)
0x4497 doesn't have NV30_TCL_PRIMITIVE_3D_NORMALIZE_ENABLE
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv30_state.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv30_state.c b/src/mesa/drivers/dri/nouveau/nv30_state.c
index eb3606b6e1c..7592c3fa0af 100644
--- a/src/mesa/drivers/dri/nouveau/nv30_state.c
+++ b/src/mesa/drivers/dri/nouveau/nv30_state.c
@@ -293,8 +293,10 @@ static void nv30Enable(GLcontext *ctx, GLenum cap, GLboolean state)
// case GL_MAP2_VERTEX_4:
// case GL_MINMAX:
case GL_NORMALIZE:
- BEGIN_RING_CACHE(NvSub3D, NV30_TCL_PRIMITIVE_3D_NORMALIZE_ENABLE, 1);
- OUT_RING_CACHE(state);
+ if (nmesa->screen->card->type != NV_44) {
+ BEGIN_RING_CACHE(NvSub3D, NV30_TCL_PRIMITIVE_3D_NORMALIZE_ENABLE, 1);
+ OUT_RING_CACHE(state);
+ }
break;
// case GL_POINT_SMOOTH:
case GL_POLYGON_OFFSET_POINT: