From: Zhenyu Wang Date: Tue, 7 Dec 2010 09:02:02 +0000 (+0800) Subject: i965: upload WM state for _NEW_POLYGON on sandybridge X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27609a826734594c092390c2538b74f8358c1aba;p=mesa.git i965: upload WM state for _NEW_POLYGON on sandybridge Be sure polygon stipple mode is updated. This fixes 'gamma' demo. --- 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 |