From 05d0223da32a2749b7eb260c351f5623dafee022 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Mon, 31 Mar 2014 18:08:07 -0400 Subject: gallium/docs: fix incorrect/missing references Signed-off-by: Ilia Mirkin Reviewed-by: Brian Paul --- 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(-) (limited to 'src/gallium/docs/source') diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst index efa2a1c77f0..1fc8a3e4bad 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 @@ -310,7 +310,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 1bbe381f9e9..473d4f424e6 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 dc308e539d0..8566dbdd751 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 ("") -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 0089b28ee0a..d69c1860345 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 56a86d6cfca..e3e15f85f3c 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 a408be41d81..16990de01ef 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 -- cgit v1.2.3