aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_wm_state.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-05-14 19:20:25 +0100
committerKeith Whitwell <[email protected]>2010-05-14 19:20:25 +0100
commit9c264642c385557d64b9bc6bbe31d2d15e703aff (patch)
treebe9a5eb3b0369128f05518b4e91984a1e459616d /src/gallium/drivers/i965/brw_wm_state.c
parent0bd1cbcd0d28dbadfb0c3e1f8b048a18b56bc72c (diff)
gallium: more work on ccw flag removal
The linux-debug target builds...
Diffstat (limited to 'src/gallium/drivers/i965/brw_wm_state.c')
-rw-r--r--src/gallium/drivers/i965/brw_wm_state.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965/brw_wm_state.c b/src/gallium/drivers/i965/brw_wm_state.c
index ee970ac75bc..efc2d96be13 100644
--- a/src/gallium/drivers/i965/brw_wm_state.c
+++ b/src/gallium/drivers/i965/brw_wm_state.c
@@ -128,8 +128,9 @@ wm_unit_populate_key(struct brw_context *brw, struct brw_wm_unit_key *key)
key->line_stipple = brw->curr.rast->templ.line_stipple_enable;
- key->offset_enable = (brw->curr.rast->templ.offset_cw ||
- brw->curr.rast->templ.offset_ccw);
+ key->offset_enable = (brw->curr.rast->templ.offset_point ||
+ brw->curr.rast->templ.offset_line ||
+ brw->curr.rast->templ.offset_tri);
key->offset_units = brw->curr.rast->templ.offset_units;
key->offset_factor = brw->curr.rast->templ.offset_scale;