projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6254be9
)
i965: handle all unfilled mode in clip stage. fix bug #12453
author
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 27 Sep 2007 08:14:57 +0000
(16:14 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 27 Sep 2007 08:14:57 +0000
(16:14 +0800)
src/mesa/drivers/dri/i965/brw_clip.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_clip.c
b/src/mesa/drivers/dri/i965/brw_clip.c
index 3bec153075a3112c262d9f8ef72e463bde2db820..8287fd9edf3be7a0dde2e628bda9e229c64d0691 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_clip.c
+++ b/
src/mesa/drivers/dri/i965/brw_clip.c
@@
-212,6
+212,10
@@
static void upload_clip_prog( struct brw_context *brw )
}
}
+ if (brw->attribs.Polygon->BackMode != GL_FILL ||
+ brw->attribs.Polygon->FrontMode != GL_FILL)
+ key.do_unfilled = 1;
+
/* Most cases the fixed function units will handle. Cases where
* one or more polygon faces are unfilled will require help:
*/