projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
968a7df
)
i965g: correct test for unfilled modes
author
Keith Whitwell
<keithw@vmware.com>
Mon, 23 Nov 2009 03:00:47 +0000
(
03:00
+0000)
committer
Keith Whitwell
<keithw@vmware.com>
Mon, 23 Nov 2009 03:00:47 +0000
(
03:00
+0000)
src/gallium/drivers/i965/brw_pipe_rast.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965/brw_pipe_rast.c
b/src/gallium/drivers/i965/brw_pipe_rast.c
index 27c568de0a81d844d5b69def497437a5ff74c137..2117e91a9e453bd99b0a100a5e625f753b64d55d 100644
(file)
--- 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;
}