From: Xiang, Haihao Date: Thu, 27 Sep 2007 08:14:57 +0000 (+0800) Subject: i965: handle all unfilled mode in clip stage. fix bug #12453 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ee6a77e97f7d2996f8fffdbb4787a9589189b39;p=mesa.git i965: handle all unfilled mode in clip stage. fix bug #12453 --- diff --git a/src/mesa/drivers/dri/i965/brw_clip.c b/src/mesa/drivers/dri/i965/brw_clip.c index 3bec153075a..8287fd9edf3 100644 --- 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: */