diff options
author | Brian <[email protected]> | 2007-07-11 11:34:19 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-07-11 11:34:19 -0600 |
commit | e89bd0fbc56ecfb96f3aff926c5891c45221dd37 (patch) | |
tree | 9522b593d58a4117c21b42eab0010812dad7c62a /src/mesa/pipe/softpipe/sp_quad.c | |
parent | 300e97081e7e752c0ff9133149d15935baac7a46 (diff) |
Implement polygon stipple state tracking, application.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_quad.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad.c b/src/mesa/pipe/softpipe/sp_quad.c index 31278f529d7..aba5ab280e6 100644 --- a/src/mesa/pipe/softpipe/sp_quad.c +++ b/src/mesa/pipe/softpipe/sp_quad.c @@ -37,4 +37,8 @@ sp_build_quad_pipeline(struct softpipe_context *sp) sp->quad.first = sp->quad.shade; } + if (sp->setup.poly_stipple_enable) { + sp->quad.polygon_stipple->next = sp->quad.first; + sp->quad.first = sp->quad.polygon_stipple; + } } |