diff options
author | Brian Paul <brianp@vmware.com> | 2011-02-11 13:54:15 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-02-11 14:02:30 -0700 |
commit | f7d84c177fe58e767a58748b33794ecea507ac8c (patch) | |
tree | 4f00dcd30d5e8798c465e94f61b3b5bd86033fbe /src/gallium/drivers/svga | |
parent | 6826d58bbf21ea27e7601fe5dfeca07a91bee55d (diff) |
svga: more comments for need_pipeline field
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r-- | src/gallium/drivers/svga/svga_context.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h index 0550ddd79b..37ca417d2f 100644 --- a/src/gallium/drivers/svga/svga_context.h +++ b/src/gallium/drivers/svga/svga_context.h @@ -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; |