mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
i965g: correct test for unfilled modes
This commit is contained in:
parent
968a7dfb29
commit
cd0e6619e6
1 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue