summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2014-10-30 20:45:36 -0600
committerBrian Paul <brianp@vmware.com>2014-10-31 15:29:59 -0600
commit2b9e63823f960ce632ba4b0bbc76ddf3de43404e (patch)
tree5facf4d5426b014c271e13f3e6504947e310f1bd /src/gallium/drivers/softpipe
parentb9e41b587fb15458c9b0c21b10d421d882083e27 (diff)
downloadexternal_mesa3d-2b9e63823f960ce632ba4b0bbc76ddf3de43404e.zip
external_mesa3d-2b9e63823f960ce632ba4b0bbc76ddf3de43404e.tar.gz
external_mesa3d-2b9e63823f960ce632ba4b0bbc76ddf3de43404e.tar.bz2
softpipe: check for SP_NEW_STIPPLE when building quad pipeline
Fixes polygon stipple if both DO_PSTIPPLE_IN_DRAW_MODULE and DO_PSTIPPLE_IN_HELPER_MODULE are zero/off. Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/sp_state_derived.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_derived.c b/src/gallium/drivers/softpipe/sp_state_derived.c
index dc73910..2a6a6f4 100644
--- a/src/gallium/drivers/softpipe/sp_state_derived.c
+++ b/src/gallium/drivers/softpipe/sp_state_derived.c
@@ -402,6 +402,7 @@ softpipe_update_derived(struct softpipe_context *softpipe, unsigned prim)
if (softpipe->dirty & (SP_NEW_BLEND |
SP_NEW_DEPTH_STENCIL_ALPHA |
SP_NEW_FRAMEBUFFER |
+ SP_NEW_STIPPLE |
SP_NEW_FS))
sp_build_quad_pipeline(softpipe);