diff options
author | Keith Whitwell <[email protected]> | 2009-11-23 03:00:47 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-11-23 03:00:47 +0000 |
commit | cd0e6619e6d9f0f60606d1e079b1a04af1717309 (patch) | |
tree | b74911837a45faa323be538ee86aa9a0080c1ce3 /src/gallium | |
parent | 968a7dfb292f1eefa9ada8096bb023c051518c32 (diff) |
i965g: correct test for unfilled modes
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/i965/brw_pipe_rast.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965/brw_pipe_rast.c b/src/gallium/drivers/i965/brw_pipe_rast.c index 27c568de0a8..2117e91a9e4 100644 --- a/src/gallium/drivers/i965/brw_pipe_rast.c +++ b/src/gallium/drivers/i965/brw_pipe_rast.c @@ -58,8 +58,10 @@ calculate_clip_key_rast( const struct brw_context *brw, key->fill_cw = translate_fill(templ->fill_cw); } - if (key->fill_cw != CLIP_FILL || - key->fill_ccw != CLIP_FILL) { + if (key->fill_cw == CLIP_LINE || + key->fill_ccw == CLIP_LINE || + key->fill_cw == CLIP_POINT || + key->fill_ccw == CLIP_POINT) { key->do_unfilled = 1; key->clip_mode = BRW_CLIPMODE_CLIP_NON_REJECTED; } |