diff options
author | Corbin Simpson <[email protected]> | 2009-12-20 15:00:40 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-12-20 15:00:40 -0800 |
commit | c686e17e52eb9964137fd1a46fbbc96e368b6286 (patch) | |
tree | 46c6d5e3c4374b7557bdca513e52142a4ef03229 /src/gallium/docs/source/cso | |
parent | 65ecbdd49c130fbc790cd37d7c035349c70259a4 (diff) |
Add Gallium docs.
In Sphinx/ReST format.
Diffstat (limited to 'src/gallium/docs/source/cso')
-rw-r--r-- | src/gallium/docs/source/cso/blend.rst | 12 | ||||
-rw-r--r-- | src/gallium/docs/source/cso/dsa.rst | 23 | ||||
-rw-r--r-- | src/gallium/docs/source/cso/rasterizer.rst | 10 | ||||
-rw-r--r-- | src/gallium/docs/source/cso/sampler.rst | 10 | ||||
-rw-r--r-- | src/gallium/docs/source/cso/shader.rst | 10 |
5 files changed, 65 insertions, 0 deletions
diff --git a/src/gallium/docs/source/cso/blend.rst b/src/gallium/docs/source/cso/blend.rst new file mode 100644 index 00000000000..e32d324854f --- /dev/null +++ b/src/gallium/docs/source/cso/blend.rst @@ -0,0 +1,12 @@ +Blend +===== + +This state controls blending of the final fragments into the target rendering +buffers. + +XXX it is unresolved what behavior should result if blend_enable is off. + +Members +------- + +XXX diff --git a/src/gallium/docs/source/cso/dsa.rst b/src/gallium/docs/source/cso/dsa.rst new file mode 100644 index 00000000000..5f23896f6e7 --- /dev/null +++ b/src/gallium/docs/source/cso/dsa.rst @@ -0,0 +1,23 @@ +Depth, Stencil, & Alpha +======================= + +These three states control the depth, stencil, and alpha tests, used to +discard fragments that have passed through the fragment shader. + +Traditionally, these three tests have been clumped together in hardware, so +they are all stored in one structure. + +Depth Members +------------- + +XXX + +Stencil Members +--------------- + +XXX + +Alpha Members +------------- + +XXX diff --git a/src/gallium/docs/source/cso/rasterizer.rst b/src/gallium/docs/source/cso/rasterizer.rst new file mode 100644 index 00000000000..145ce259bb4 --- /dev/null +++ b/src/gallium/docs/source/cso/rasterizer.rst @@ -0,0 +1,10 @@ +Rasterizer +========== + +The rasterizer is the main chunk of state controlling how vertices are +interpolated into fragments. + +Members +------- + +XXX diff --git a/src/gallium/docs/source/cso/sampler.rst b/src/gallium/docs/source/cso/sampler.rst new file mode 100644 index 00000000000..09b959ffffe --- /dev/null +++ b/src/gallium/docs/source/cso/sampler.rst @@ -0,0 +1,10 @@ +Sampler +======= + +Texture units have many options for selecting texels from loaded textures; +this state controls an individual texture unit's texel-sampling settings. + +Members +------- + +XXX diff --git a/src/gallium/docs/source/cso/shader.rst b/src/gallium/docs/source/cso/shader.rst new file mode 100644 index 00000000000..9e1cb35be06 --- /dev/null +++ b/src/gallium/docs/source/cso/shader.rst @@ -0,0 +1,10 @@ +Shader +====== + +One of the two types of shaders supported by Gallium. + +Members +------- + +tokens + A list of tgsi_tokens. |