diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-07-12 12:20:14 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-07-12 12:20:14 -0600 |
commit | 86352ff70d8c9a31fe0ebb4d02ce4bb4644fe54a (patch) | |
tree | 2dcf373eacfec2e125771e3a5b51116969fefe46 /src/mesa/pipe/p_state.h | |
parent | bd5533bb7c90d8da06f6a1c38bdc84bb607c5b85 (diff) |
Added colormask, dither, multisample state. Implement colormasking stage.
Diffstat (limited to 'src/mesa/pipe/p_state.h')
-rw-r--r-- | src/mesa/pipe/p_state.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h index 581ea5ddd8..3dfe584af8 100644 --- a/src/mesa/pipe/p_state.h +++ b/src/mesa/pipe/p_state.h @@ -89,6 +89,8 @@ struct pipe_setup_state GLuint point_smooth:1; + GLuint multisample:1; /* XXX maybe more ms state in future */ + GLubyte line_stipple_factor; /**< [1..256] actually */ GLushort line_stipple_pattern; GLfloat line_width; @@ -156,6 +158,9 @@ struct pipe_blend_state { GLuint logicop_enable:1; GLuint logicop_func:4; /**< PIPE_LOGICOP_x */ + + GLuint colormask:4; /**< bitmask of PIPE_MASK_R/G/B/A */ + GLuint dither:1; }; struct pipe_blend_color { |