gallium: add # of MRT to blend state
[mesa.git] / src / gallium / include / pipe / p_state.h
index 736649acd2f474b694b25d6c99e71acda5a79006..c557ecc186983bfc4f69e5dec9e878b0c4f2c721 100644 (file)
@@ -363,6 +363,7 @@ struct pipe_blend_state
    unsigned dither:1;
    unsigned alpha_to_coverage:1;
    unsigned alpha_to_one:1;
+   unsigned max_rt:3;            /* index of max rt, Ie. # of cbufs minus 1 */
    struct pipe_rt_blend_state rt[PIPE_MAX_COLOR_BUFS];
 };