gallium-docs: Minor grammar, need to talk about dual-source blends.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Thu, 28 Jan 2010 21:37:09 +0000 (13:37 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Thu, 28 Jan 2010 21:37:09 +0000 (13:37 -0800)
src/gallium/docs/source/cso/blend.rst
src/gallium/docs/source/screen.rst

index 3fc573054e666557256b509246e20dbc4296608b..55c0f328859c5ab3f660032952650c705eecd604 100644 (file)
@@ -6,6 +6,14 @@ Blend
 This state controls blending of the final fragments into the target rendering
 buffers.
 
+Blend Factors
+-------------
+
+The blend factors largely follow the same pattern as their counterparts
+in other modern and legacy drawing APIs.
+
+XXX blurb about dual-source blends
+
 Members
 -------
 
@@ -22,9 +30,9 @@ logicop_func
 dither
    Whether dithering is enabled.
 rt
-   Contains the per rendertarget blend state.
+   Contains the per-rendertarget blend state.
 
-per rendertarget members
+Per-rendertarget Members
 ------------------------
 
 blend_enable
index 39938f7bb79fec1d0d74ab3025791df624e383ad..f2421c74ae45b6fdc0bbe3bee43cb2293ee7698c 100644 (file)
@@ -23,7 +23,8 @@ The integer capabilities:
 * ``TWO_SIDED_STENCIL``: Whether the stencil test can also affect back-facing
   polygons.
 * ``GLSL``: Deprecated.
-* ``S3TC``: Deprecated.
+* ``DUAL_SOURCE_BLEND``: Whether dual-source blend factors are supported. See
+  :ref:`Blend` for more information.
 * ``ANISOTROPIC_FILTER``: Whether textures can be filtered anisotropically.
 * ``POINT_SPRITE``: Whether point sprites are available.
 * ``MAX_RENDER_TARGETS``: The maximum number of render targets that may be