aboutsummaryrefslogtreecommitdiff
path: root/mesalib/docs/shading.html
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-06-28 08:08:21 +0200
committermarha <marha@users.sourceforge.net>2012-06-28 08:08:21 +0200
commit67551627d34fff4a0fbe719bce33a3bacb55ccef (patch)
tree37b58281a1186148a56dbb3b9eed6eaf759cbe7b /mesalib/docs/shading.html
parent7baa3d795c87c11550f1686488c968320428cbf9 (diff)
downloadvcxsrv-67551627d34fff4a0fbe719bce33a3bacb55ccef.tar.gz
vcxsrv-67551627d34fff4a0fbe719bce33a3bacb55ccef.tar.bz2
vcxsrv-67551627d34fff4a0fbe719bce33a3bacb55ccef.zip
xkeyboard-config mesa fontconfig randrproto git update 28 Jun 2012
Diffstat (limited to 'mesalib/docs/shading.html')
-rw-r--r--mesalib/docs/shading.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/mesalib/docs/shading.html b/mesalib/docs/shading.html
index 175e02460..a9b7cfc4b 100644
--- a/mesalib/docs/shading.html
+++ b/mesalib/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>
@@ -243,7 +243,7 @@ regressions.
</p>
<p>
-The <a href="http://people.freedesktop.org/~nh/piglit/">Piglit</a> project
+The <a href="http://people.freedesktop.org/~nh/piglit/" target="_parent">Piglit</a> project
has many GLSL tests and the
<a href="http://glean.sf.net" target="_parent">Glean</a> glsl1 test
tests GLSL features.