Mesa (master): softpipe: check for SP_NEW_STIPPLE when building quad pipeline

Brian Paul brianp at kemper.freedesktop.org
Fri Oct 31 21:31:45 UTC 2014


Module: Mesa
Branch: master
Commit: 2b9e63823f960ce632ba4b0bbc76ddf3de43404e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b9e63823f960ce632ba4b0bbc76ddf3de43404e

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Oct 30 20:45:36 2014 -0600

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 at vmware.com>

---

 src/gallium/drivers/softpipe/sp_state_derived.c |    1 +
 1 file changed, 1 insertion(+)

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);
 




More information about the mesa-commit mailing list