diff options
author | Dave Airlie <[email protected]> | 2010-10-06 09:28:46 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-10-13 09:30:02 +1000 |
commit | 4ecb2c105da590abf79421a06234b636cd1afcd6 (patch) | |
tree | 835d8e723f20687b8e11730e6828d7437321d16c /src/gallium/docs | |
parent | 43873b53c4d15f10f0321c770b1b8bd537cc226d (diff) |
gallium/tgsi: add support for stencil writes.
this adds the capability + a stencil semantic id, + tgsi scan support.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r-- | src/gallium/docs/source/tgsi.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index 9e02d43ab74..c767680c62a 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 |