diff options
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index dfafd0bb99f..5da3a533e85 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -134,6 +134,12 @@ struct pipe_rasterizer_state unsigned depth_clip:1; /** + * When true clip space in the z axis goes from [0..1] (D3D). When false + * [-1, 1] (GL). + */ + unsigned clip_halfz:1; + + /** * Enable bits for clipping half-spaces. * This applies to both user clip planes and shader clip distances. * Note that if the bound shader exports any clip distances, these |