summaryrefslogtreecommitdiffstats
path: root/docs/shading.html
diff options
context:
space:
mode:
authorAndreas Boll <[email protected]>2012-06-12 09:05:33 +0200
committerBrian Paul <[email protected]>2012-06-12 08:03:30 -0600
commitcc4188895be5525fa15c8b64b8338f901eda82fc (patch)
tree8994e84a5d8eb954fce7b85f7d080fa11468d3a0 /docs/shading.html
parentf85d23cea4588dc1a62477a134bde9cd87d5d2d1 (diff)
docs: use id instead of <a name>
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'docs/shading.html')
-rw-r--r--docs/shading.html29
1 files changed, 9 insertions, 20 deletions
diff --git a/docs/shading.html b/docs/shading.html
index ebb3927ad47..175e0246006 100644
--- a/docs/shading.html
+++ b/docs/shading.html
@@ -20,7 +20,7 @@ Contents
</p>
<ul>
<li><a href="#envvars">Environment variables</a>
-<li><a href="#120">GLSL 1.20 support</a>
+<li><a href="#glsl120">GLSL 1.20 support</a>
<li><a href="#unsup">Unsupported Features</a>
<li><a href="#notes">Implementation Notes</a>
<li><a href="#hints">Programming Hints</a>
@@ -30,9 +30,7 @@ Contents
</ul>
-
-<a name="envvars">
-<h2>Environment Variables</h2>
+<h2 id="envvars">Environment Variables</h2>
<p>
The <b>MESA_GLSL</b> environment variable can be set to a comma-separated
@@ -59,8 +57,7 @@ Example: export MESA_GLSL=dump,nopt
</p>
-<a name="120">
-<h2>GLSL Version</h2>
+<h2 id="glsl120">GLSL Version</h2>
<p>
The GLSL compiler currently supports version 1.20 of the shading language.
@@ -77,8 +74,7 @@ Several GLSL extensions are also supported:
</ul>
-<a name="unsup">
-<h2>Unsupported Features</h2>
+<h2 id="unsup">Unsupported Features</h2>
<p>XXX update this section</p>
@@ -101,8 +97,7 @@ All other major features of the shading language should function.
</p>
-<a name="notes">
-<h2>Implementation Notes</h2>
+<h2 id="notes">Implementation Notes</h2>
<ul>
<li>Shading language programs are compiled into low-level programs
@@ -125,8 +120,7 @@ These issues will be addressed/resolved in the future.
</p>
-<a name="hints">
-<h2>Programming Hints</h2>
+<h2 id="hints">Programming Hints</h2>
<ul>
<li>Use the built-in library functions whenever possible.
@@ -142,8 +136,7 @@ These issues will be addressed/resolved in the future.
</ul>
-<a name="standalone">
-<h2>Stand-alone GLSL Compiler</h2>
+<h2 id="standalone">Stand-alone GLSL Compiler</h2>
<p>
The stand-alone GLSL compiler program can be used to compile GLSL shaders
@@ -180,10 +173,7 @@ Options include
</ul>
-
-
-<a name="implementation">
-<h2>Compiler Implementation</h2>
+<h2 id="implementation">Compiler Implementation</h2>
<p>
The source code for Mesa's shading language compiler is in the
@@ -245,8 +235,7 @@ Extra NOP instructions will also be inserted.
</ul>
-<a name="validation">
-<h2>Compiler Validation</h2>
+<h2 id="validation">Compiler Validation</h2>
<p>
Developers working on the GLSL compiler should test frequently to avoid