r600g: implement MSAA for r700
[mesa.git] / src / gallium / drivers / r600 / r600_shader.h
index fd98d09da86980f2a333a5cd16438b0f61ddb365..eb0bbf6ebb77ee9ae2a9dcd53272400f4d2605e4 100644 (file)
@@ -49,11 +49,17 @@ struct r600_shader {
        boolean                 fs_write_all;
        boolean                 vs_prohibit_ucps;
        boolean                 two_side;
-       unsigned                nr_cbufs;
+       /* Number of color outputs in the TGSI shader,
+        * sometimes it could be higher than nr_cbufs (bug?).
+        * Also with writes_all property on eg+ it will be set to max CB number */
+       unsigned                nr_ps_max_color_exports;
+       /* Real number of ps color exports compiled in the bytecode */
+       unsigned                nr_ps_color_exports;
        /* bit n is set if the shader writes gl_ClipDistance[n] */
        unsigned                clip_dist_write;
        /* flag is set if the shader writes VS_OUT_MISC_VEC (e.g. for PSIZE) */
        boolean                 vs_out_misc_write;
+       boolean                 vs_out_point_size;
 };
 
 #endif