summaryrefslogtreecommitdiffstats
path: root/docs/shading.html
diff options
context:
space:
mode:
authorAndreas Boll <andreas.boll.dev@gmail.com>2012-06-25 21:51:28 +0200
committerBrian Paul <brianp@vmware.com>2012-06-25 16:10:01 -0600
commitd52419e0c3b2916609a9707b66195ac41020ebdb (patch)
treef80d8a3b264c4248dcb6dbb9acb98dd27de8d8e6 /docs/shading.html
parent75e62024c32b6a670da767536b756e2247d1880c (diff)
downloadexternal_mesa3d-d52419e0c3b2916609a9707b66195ac41020ebdb.zip
external_mesa3d-d52419e0c3b2916609a9707b66195ac41020ebdb.tar.gz
external_mesa3d-d52419e0c3b2916609a9707b66195ac41020ebdb.tar.bz2
docs/shading: use proper markup
use dl instead of ul Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'docs/shading.html')
-rw-r--r--docs/shading.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/docs/shading.html b/docs/shading.html
index 175e024..3718917 100644
--- a/docs/shading.html
+++ b/docs/shading.html
@@ -209,30 +209,30 @@ struct gl_shader_state
};
</pre>
-<ul>
-<li>EmitHighLevelInstructions
-<br>
+<dl>
+<dt>EmitHighLevelInstructions</dt>
+<dd>
This option controls instruction selection for loops and conditionals.
If the option is set high-level IF/ELSE/ENDIF, LOOP/ENDLOOP, CONT/BRK
instructions will be emitted.
Otherwise, those constructs will be implemented with BRA instructions.
-</li>
+</dd>
-<li>EmitCondCodes
-<br>
+<dt>EmitCondCodes</dt>
+<dd>
If set, condition codes (ala GL_NV_fragment_program) will be used for
branching and looping.
Otherwise, ordinary registers will be used (the IF instruction will
examine the first operand's X component and do the if-part if non-zero).
This option is only relevant if EmitHighLevelInstructions is set.
-</li>
+</dd>
-<li>EmitComments
-<br>
+<dt>EmitComments</dt>
+<dd>
If set, instructions will be annoted with comments to help with debugging.
Extra NOP instructions will also be inserted.
-</li>
-</ul>
+</dd>
+</dl>
<h2 id="validation">Compiler Validation</h2>