diff options
author | Roland Scheidegger <[email protected]> | 2010-02-09 21:48:43 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-02-09 21:48:43 +0100 |
commit | 98f8c4d0bb702c69fcddb504ddb702abc3aacc06 (patch) | |
tree | 72660b2bd16b7179a20350e80ed02e30c68c31fe /src/gallium/docs/source/cso/dsa.rst | |
parent | c59446a4930ec93e55f7cd3d1fffe46585cbe506 (diff) |
docs: fix up documentation for stencil ref value changes
Also fix and clarify depth/stencil/alpha documentation a bit.
Diffstat (limited to 'src/gallium/docs/source/cso/dsa.rst')
-rw-r--r-- | src/gallium/docs/source/cso/dsa.rst | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/gallium/docs/source/cso/dsa.rst b/src/gallium/docs/source/cso/dsa.rst index 12abaa9d6fe..1bbe381f9e9 100644 --- a/src/gallium/docs/source/cso/dsa.rst +++ b/src/gallium/docs/source/cso/dsa.rst @@ -11,9 +11,9 @@ they are all stored in one structure. During actual execution, the order of operations done on fragments is always: +* Alpha * Stencil * Depth -* Alpha Depth Members ------------- @@ -28,15 +28,18 @@ func Stencil Members --------------- -XXX document valuemask, writemask - enabled Whether the stencil test is enabled. For the second stencil, whether the - two-sided stencil is enabled. + two-sided stencil is enabled. If two-sided stencil is disabled, the other + fields for the second array member are not valid. func The stencil test function. One of PIPE_FUNC. -ref_value - Stencil test reference value; used for certain functions. +valuemask + Stencil test value mask; this is ANDed with the value in the stencil + buffer and the reference value before doing the stencil comparison test. +writemask + Stencil test writemask; this controls which bits of the stencil buffer + are written. fail_op The operation to carry out if the stencil test fails. One of PIPE_STENCIL_OP. |