svga: more comments for need_pipeline field
authorBrian Paul <brianp@vmware.com>
Fri, 11 Feb 2011 20:54:15 +0000 (13:54 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Feb 2011 21:02:30 +0000 (14:02 -0700)
src/gallium/drivers/svga/svga_context.h

index 0550ddd79b91475af942b6151ef731285ca91ccc..37ca417d2ff84327a9eca9e4f6de11d3d3fda525 100644 (file)
@@ -147,8 +147,11 @@ struct svga_rasterizer_state {
    float pointsize;
    
    unsigned hw_unfilled:16;         /* PIPE_POLYGON_MODE_x */
-   unsigned need_pipeline:16;    /* which prims do we need help for? */
 
+   /** Which prims do we need help for?  Bitmask of (1 << PIPE_PRIM_x) flags */
+   unsigned need_pipeline:16;
+
+   /** For debugging: */
    const char* need_pipeline_tris_str;
    const char* need_pipeline_lines_str;
    const char* need_pipeline_points_str;