summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs/source/cso
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2013-04-20 12:24:44 +0100
committerJosé Fonseca <[email protected]>2013-04-22 18:39:06 +0100
commit7c1bf8e381b914f88335686cc6561f89dcca9ae5 (patch)
tree2756bb32139586088e1e58c624e47f097373ddd5 /src/gallium/docs/source/cso
parent95c83824e6c3740781d1e9f7ce6a5fbe839d0457 (diff)
gallium: Add a new clip_halfz rasterizer state.
gl_rasterization_rules lumps too many different flags. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/docs/source/cso')
-rw-r--r--src/gallium/docs/source/cso/rasterizer.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/docs/source/cso/rasterizer.rst b/src/gallium/docs/source/cso/rasterizer.rst
index 8338243be9f..be4bad56c00 100644
--- a/src/gallium/docs/source/cso/rasterizer.rst
+++ b/src/gallium/docs/source/cso/rasterizer.rst
@@ -242,6 +242,10 @@ gl_rasterization_rules
Whether the rasterizer should use (0.5, 0.5) pixel centers. When not set,
the rasterizer will use (0, 0) for pixel centers.
+clip_halfz
+ When true clip space in the z axis goes from [0..1] (D3D). When false
+ [-1, 1] (GL)
+
depth_clip
When false, the near and far depth clipping planes of the view volume are
disabled and the depth value will be clamped at the per-pixel level, after