965: disable clipping for now
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 19 Dec 2007 11:10:06 +0000 (11:10 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 19 Dec 2007 11:10:35 +0000 (11:10 +0000)
src/mesa/pipe/i965simple/brw_clip.c

index fc86e0a446cc3723799fab98c097c382e806d364..268124cc53f07695e4558d41888a3d758b40a652 100644 (file)
@@ -154,6 +154,8 @@ static void upload_clip_prog(struct brw_context *brw)
    key.do_flat_shading = (brw->attribs.Raster->flatshade);
    /* BRW_NEW_CLIP */
    key.nr_userclip = brw->attribs.Clip.nr; /* XXX */
+
+#if 0
    key.clip_mode = BRW_CLIPMODE_NORMAL;
 
    if (key.primitive == PIPE_PRIM_TRIANGLES) {
@@ -185,6 +187,9 @@ static void upload_clip_prog(struct brw_context *brw)
         }
       }
    }
+#else
+   key.clip_mode = BRW_CLIPMODE_ACCEPT_ALL;
+#endif
 
    if (!search_cache(brw, &key))
       compile_clip_prog( brw, &key );