diff options
author | Xiang, Haihao <[email protected]> | 2007-09-27 16:14:57 +0800 |
---|---|---|
committer | Brian <[email protected]> | 2007-09-27 10:40:22 -0600 |
commit | 44f032db61c2de52fba031ea2c289cbb256c3453 (patch) | |
tree | a7c70e51cb474d2f61b7356d3ce6e10f3acaf1b0 /src/mesa | |
parent | 5a520729ee1e07fc075022afa5a34d19a4ab6f84 (diff) |
i965: handle all unfilled mode in clip stage. fix bug #12453
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_clip.c | 4 |
1 files changed, 4 insertions, 0 deletions
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: */ |