r600g: fix RSQ of negative value on Cayman
[mesa.git] / src / gallium / drivers / r600 / r600_shader.h
index 323f94810f61bed322729ea534a29de2a65da5a1..d68dd0762eb55064d4588be4a3b77da48b575739 100644 (file)
@@ -47,14 +47,18 @@ struct r600_shader {
        struct r600_shader_io   output[32];
        boolean                 uses_kill;
        boolean                 fs_write_all;
-       boolean                 vs_prohibit_ucps;
-       boolean                 clamp_color;
        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