summaryrefslogtreecommitdiff
path: root/src/mesa/pipe
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-12-19 11:10:06 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2007-12-19 11:10:35 +0000
commite03982475795f19a674b79940c135584b13fd79a (patch)
tree42e323442f6546e1c47eb05003c11823226dacea /src/mesa/pipe
parent94c2ab2895f220d5d5156db71197446b3b89f52b (diff)
965: disable clipping for now
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r--src/mesa/pipe/i965simple/brw_clip.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/i965simple/brw_clip.c b/src/mesa/pipe/i965simple/brw_clip.c
index fc86e0a446..268124cc53 100644
--- a/src/mesa/pipe/i965simple/brw_clip.c
+++ b/src/mesa/pipe/i965simple/brw_clip.c
@@ -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 );