From: Zou Nan hai Date: Thu, 27 Sep 2007 05:49:35 +0000 (+0800) Subject: fix ppracer and bzflag issue with clip optimization X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa88d11e7d881f0dd4c02fcefceb4085bdb3cf8a;p=mesa.git fix ppracer and bzflag issue with clip optimization --- 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));