diff options
author | Keith Whitwell <[email protected]> | 2008-04-02 11:38:33 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-04-02 11:38:33 +0100 |
commit | 8e33194837dd206d920889851d9cf22190100c99 (patch) | |
tree | 0a438cdb78e8fcd606e7686e33d88351e5380840 /src/gallium/include/pipe | |
parent | bc739440c29c551fcc44e9e12d0d9c170d8d24fb (diff) |
gallium: add a flag to turn on gl rasterization rules
Use this to set up hardware rasterization (if your hardware can
do it) or otherwise turn on various tweaks in the draw module.
Currently only hooked up to point biasing code.
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index e407e3bc725..3593446e1c4 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -115,6 +115,7 @@ struct pipe_rasterizer_state still needed though, to indicate inputs/outputs */ unsigned origin_lower_left:1; /**< Is (0,0) the lower-left corner? */ unsigned flatshade_first:1; /**< take color attribute from the first vertex of a primitive */ + unsigned gl_rasterization_rules:1; /**< enable tweaks for GL rasterization? */ float line_width; float point_size; /**< used when no per-vertex size */ |