summaryrefslogtreecommitdiff
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-10-06 09:28:46 +1000
committerDave Airlie <airlied@redhat.com>2010-10-13 09:30:02 +1000
commit4ecb2c105da590abf79421a06234b636cd1afcd6 (patch)
tree835d8e723f20687b8e11730e6828d7437321d16c /src/gallium/docs
parent43873b53c4d15f10f0321c770b1b8bd537cc226d (diff)
gallium/tgsi: add support for stencil writes.
this adds the capability + a stencil semantic id, + tgsi scan support. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r--src/gallium/docs/source/tgsi.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 9e02d43ab7..c767680c62 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -1415,6 +1415,12 @@ Edge flags are used to control which lines or points are actually
drawn when the polygon mode converts triangles/quads/polygons into
points or lines.
+TGSI_SEMANTIC_STENCIL
+""""""""""""""""""""""
+
+For fragment shaders, this semantic label indicates than an output
+is a writable stencil reference value. Only the Y component is writable.
+This allows the fragment shader to change the fragments stencilref value.
Properties