Fix promotion of floats to doubles
[mesa.git] / src / gallium / drivers / softpipe / sp_context.h
index 7ce4dc3560dc17621360457537a0cc9a279d7287..bfa547df1872bce1bb0b8a2f4ccf241f11a25b86 100644 (file)
@@ -94,7 +94,7 @@ struct softpipe_context {
    struct draw_so_target *so_targets[PIPE_MAX_SO_BUFFERS];
    unsigned num_so_targets;
    
-   struct pipe_query_data_so_statistics so_stats;
+   struct pipe_query_data_so_statistics so_stats[PIPE_MAX_VERTEX_STREAMS];
 
    struct pipe_query_data_pipeline_statistics pipeline_statistics;
    unsigned active_statistics_queries;
@@ -148,12 +148,10 @@ struct softpipe_context {
    /** Derived from scissor and surface bounds: */
    struct pipe_scissor_state cliprect[PIPE_MAX_VIEWPORTS];
 
-   unsigned line_stipple_counter;
-
    /** Conditional query object and mode */
    struct pipe_query *render_cond_query;
-   uint render_cond_mode;
-   boolean render_cond_cond;
+   enum pipe_render_cond_flag render_cond_mode;
+   bool render_cond_cond;
 
    /** Polygon stipple items */
    struct {