projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67f6449
)
fix ppracer and bzflag issue with clip optimization
author
Zou Nan hai
<nanhai.zou@intel.com>
Thu, 27 Sep 2007 05:49:35 +0000
(13:49 +0800)
committer
Zou Nan hai
<nanhai.zou@intel.com>
Thu, 27 Sep 2007 05:49:35 +0000
(13:49 +0800)
src/mesa/drivers/dri/i965/brw_clip_tri.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_clip_tri.c
b/src/mesa/drivers/dri/i965/brw_clip_tri.c
index 506ab3712d05fc7bbc98be86f21109ec057473da..b7d30bb0c4db9fc7e8001c5a6aeeda4bf00f3c8a 100644
(file)
--- 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));