0x4497 doesn't have NV30_TCL_PRIMITIVE_3D_NORMALIZE_ENABLE
authorBen Skeggs <darktama@iinet.net.au>
Thu, 14 Dec 2006 04:12:05 +0000 (04:12 +0000)
committerBen Skeggs <darktama@iinet.net.au>
Thu, 14 Dec 2006 04:12:05 +0000 (04:12 +0000)
src/mesa/drivers/dri/nouveau/nv30_state.c

index eb3606b6e1c7a07622991a26559ae8245e61383b..7592c3fa0aff9b75d2caf0a734441b9cccdd6fad 100644 (file)
@@ -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: