summaryrefslogtreecommitdiff
path: root/docs/dispatch.rst
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2020-06-27 10:00:10 +0200
committerMarge Bot <eric+marge@anholt.net>2020-06-28 09:06:57 +0000
commitb1c16e52514fd9e66d3ac118f1ec32a83cbc5f2a (patch)
treea641fd181f68e65d7c1a581587f6db379857189c /docs/dispatch.rst
parent5ee55b206af1a2eaf5ad23c8b8833c6fc49a96ea (diff)
downloadmesa-b1c16e52514fd9e66d3ac118f1ec32a83cbc5f2a.tar.gz
mesa-b1c16e52514fd9e66d3ac118f1ec32a83cbc5f2a.tar.bz2
mesa-b1c16e52514fd9e66d3ac118f1ec32a83cbc5f2a.zip
docs: use ref-links for internal references
Ref-link have two benefits over generic links: 1. They produce the right result for non-HTML outputs 2. They get validated at build-time So let's use them for internal references instead. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5671>
Diffstat (limited to 'docs/dispatch.rst')
-rw-r--r--docs/dispatch.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dispatch.rst b/docs/dispatch.rst
index 470b9809bd1..6b808597310 100644
--- a/docs/dispatch.rst
+++ b/docs/dispatch.rst
@@ -5,7 +5,7 @@ Several factors combine to make efficient dispatch of OpenGL functions
fairly complicated. This document attempts to explain some of the issues
and introduce the reader to Mesa's implementation. Readers already
familiar with the issues around GL dispatch can safely skip ahead to the
-`overview of Mesa's implementation <#overview>`__.
+:ref:`overview of Mesa's implementation <overview>`.
1. Complexity of GL Dispatch
----------------------------
@@ -162,7 +162,7 @@ dispatch routines are very short, and it is trivial to create optimal
assembly language versions. The amount of optimization provided by using
assembly stubs varies from platform to platform and application to
application. However, by using the assembly stubs, many platforms can
-use an additional space optimization (see `below <#fixedsize>`__).
+use an additional space optimization (see :ref:`below <fixedsize>`).
The biggest hurdle to creating assembly stubs is handling the various
ways that the dispatch table pointer can be accessed. There are four