<body>
<div class="header">
- <h1>The Mesa 3D Graphics Library</h1>
+ The Mesa 3D Graphics Library
</div>
<iframe src="contents.html"></iframe>
<p>
Setting <b>MESA_SHADER_CAPTURE_PATH</b> to a directory will cause the compiler
-to write <tt>.shader_test</tt> files for use with
+to write <code>.shader_test</code> files for use with
<a href="https://gitlab.freedesktop.org/mesa/shader-db">shader-db</a>, a tool
which compiler developers can use to gather statistics about shaders
(instructions, cycles, memory accesses, and so on).
<li>Use the built-in library functions whenever possible.
For example, instead of writing this:
<pre>
- float x = 1.0 / sqrt(y);
+float x = 1.0 / sqrt(y);
</pre>
Write this:
<pre>
- float x = inversesqrt(y);
+float x = inversesqrt(y);
</pre>
</li>
</ul>