[Mesa-dev] [PATCH 4/6] gallium/docs: fix incorrect/missing references

Ilia Mirkin imirkin at alum.mit.edu
Mon Mar 31 15:43:15 PDT 2014


---
 src/gallium/docs/source/context.rst   | 6 +++---
 src/gallium/docs/source/cso/dsa.rst   | 2 +-
 src/gallium/docs/source/debugging.rst | 2 +-
 src/gallium/docs/source/distro.rst    | 2 ++
 src/gallium/docs/source/resources.rst | 2 ++
 src/gallium/docs/source/tgsi.rst      | 2 +-
 6 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst
index 8e14522..d68745d 100644
--- a/src/gallium/docs/source/context.rst
+++ b/src/gallium/docs/source/context.rst
@@ -31,10 +31,10 @@ CSO objects handled by the context object:
   the CSO module will always replace all samplers at once (no sub-ranges).
   This may change in the future.
 * :ref:`Rasterizer`: ``*_rasterizer_state``
-* :ref:`Depth, Stencil, & Alpha`: ``*_depth_stencil_alpha_state``
+* :ref:`depth-stencil-alpha`: ``*_depth_stencil_alpha_state``
 * :ref:`Shader`: These are create, bind and destroy methods for vertex,
   fragment and geometry shaders.
-* :ref:`Vertex Elements`: ``*_vertex_elements_state``
+* :ref:`vertexelements`: ``*_vertex_elements_state``
 
 
 Resource Binding State
@@ -305,7 +305,7 @@ The interface currently includes the following types of queries:
 
 ``PIPE_QUERY_OCCLUSION_COUNTER`` counts the number of fragments which
 are written to the framebuffer without being culled by
-:ref:`Depth, Stencil, & Alpha` testing or shader KILL instructions.
+:ref:`depth-stencil-alpha` testing or shader KILL instructions.
 The result is an unsigned 64-bit integer.
 This query can be used with ``render_condition``.
 
diff --git a/src/gallium/docs/source/cso/dsa.rst b/src/gallium/docs/source/cso/dsa.rst
index 1bbe381..473d4f4 100644
--- a/src/gallium/docs/source/cso/dsa.rst
+++ b/src/gallium/docs/source/cso/dsa.rst
@@ -1,4 +1,4 @@
-.. _depth,stencil,&alpha:
+.. _depth-stencil-alpha:
 
 Depth, Stencil, & Alpha
 =======================
diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst
index dc308e5..8566dbd 100644
--- a/src/gallium/docs/source/debugging.rst
+++ b/src/gallium/docs/source/debugging.rst
@@ -31,7 +31,7 @@ Controls if the :ref:`rbug` should be used.
 
 .. envvar:: GALLIUM_TRACE <string> ("")
 
-If set, this variable will cause the :ref:`Trace` output to be written to the
+If set, this variable will cause the :ref:`trace` output to be written to the
 specified file. Paths may be relative or absolute; relative paths are relative
 to the working directory.  For example, setting it to "trace.xml" will cause
 the trace to be written to a file of the same name in the working directory.
diff --git a/src/gallium/docs/source/distro.rst b/src/gallium/docs/source/distro.rst
index 0089b28..d69c186 100644
--- a/src/gallium/docs/source/distro.rst
+++ b/src/gallium/docs/source/distro.rst
@@ -67,6 +67,8 @@ Softpipe
 
 Reference software rasterizer. Slow but accurate.
 
+.. _trace:
+
 Trace
 ^^^^^
 
diff --git a/src/gallium/docs/source/resources.rst b/src/gallium/docs/source/resources.rst
index 56a86d6..e3e15f8 100644
--- a/src/gallium/docs/source/resources.rst
+++ b/src/gallium/docs/source/resources.rst
@@ -1,3 +1,5 @@
+.. _resource:
+
 Resources and derived objects
 =============================
 
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 4493f1e..6168b89 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -17,7 +17,7 @@ one.
 
 Some instructions, like :opcode:`I2F`, permit re-interpretation of vector
 components as integers. Other instructions permit using registers as
-two-component vectors with double precision; see :ref:`Double Opcodes`.
+two-component vectors with double precision; see :ref:`doubleopcodes`.
 
 When an instruction has a scalar result, the result is usually copied into
 each of the components of *dst*. When this happens, the result is said to be
-- 
1.8.3.2



More information about the mesa-dev mailing list