diff options
author | Zhenyu Wang <[email protected]> | 2010-12-07 17:02:02 +0800 |
---|---|---|
committer | Zhenyu Wang <[email protected]> | 2010-12-07 17:05:02 +0800 |
commit | 27609a826734594c092390c2538b74f8358c1aba (patch) | |
tree | e4b62bf445fdd4fd66b682d6f9bb1029d9917e88 /src/mesa/drivers | |
parent | 6ee415cc6d7083bb091dfa93c617c3907a4801c9 (diff) |
i965: upload WM state for _NEW_POLYGON on sandybridge
Be sure polygon stipple mode is updated. This fixes 'gamma' demo.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_wm_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_wm_state.c b/src/mesa/drivers/dri/i965/gen6_wm_state.c index a039d7df29d..333c2a78424 100644 --- a/src/mesa/drivers/dri/i965/gen6_wm_state.c +++ b/src/mesa/drivers/dri/i965/gen6_wm_state.c @@ -178,7 +178,7 @@ upload_wm_state(struct brw_context *brw) const struct brw_tracked_state gen6_wm_state = { .dirty = { .mesa = (_NEW_LINE | _NEW_POLYGONSTIPPLE | _NEW_COLOR | _NEW_BUFFERS | - _NEW_PROGRAM_CONSTANTS), + _NEW_PROGRAM_CONSTANTS | _NEW_POLYGON), .brw = (BRW_NEW_CURBE_OFFSETS | BRW_NEW_FRAGMENT_PROGRAM | BRW_NEW_NR_WM_SURFACES | |