summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_clip_tri.c
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2007-09-27 13:49:35 +0800
committerZou Nan hai <nanhai.zou@intel.com>2007-09-27 13:49:35 +0800
commitaa88d11e7d881f0dd4c02fcefceb4085bdb3cf8a (patch)
tree9e8cb198273fe04d6b0166181dc35aadd4737d6e /src/mesa/drivers/dri/i965/brw_clip_tri.c
parent67f6449743d006084df85693085eca79a966ad17 (diff)
fix ppracer and bzflag issue with clip optimization
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clip_tri.c')
-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 506ab3712d..b7d30bb0c4 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));