summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZou Nan hai <[email protected]>2007-09-27 13:49:35 +0800
committerZou Nan hai <[email protected]>2007-09-27 13:49:35 +0800
commitaa88d11e7d881f0dd4c02fcefceb4085bdb3cf8a (patch)
tree9e8cb198273fe04d6b0166181dc35aadd4737d6e
parent67f6449743d006084df85693085eca79a966ad17 (diff)
fix ppracer and bzflag issue with clip optimization
-rw-r--r--src/mesa/drivers/dri/i965/brw_clip_tri.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip_tri.c b/src/mesa/drivers/dri/i965/brw_clip_tri.c
index 506ab3712d0..b7d30bb0c4d 100644
--- a/src/mesa/drivers/dri/i965/brw_clip_tri.c
+++ b/src/mesa/drivers/dri/i965/brw_clip_tri.c
@@ -472,7 +472,6 @@ static void brw_clip_test( struct brw_clip_compile *c )
brw_MOV(p, v0, deref_4f(vt0, c->offset[VERT_RESULT_HPOS]));
brw_MOV(p, v1, deref_4f(vt1, c->offset[VERT_RESULT_HPOS]));
brw_MOV(p, v2, deref_4f(vt2, c->offset[VERT_RESULT_HPOS]));
- brw_AND(p, c->reg.planemask, c->reg.planemask, brw_imm_ud(~0x3f));
/* test nearz, xmin, ymin plane */
brw_CMP(p, t1, BRW_CONDITIONAL_LE, negate(v0), get_element(v0, 3));