util/hash_table: replace fnv1a hash function with xxhash
[mesa.git] / docs / shading.html
index ae7b8e6c5eae19d4e8fddfa9a8240c19505b7c7c..e36bab49c58373aba145ebbdf1d65a2ec9018484 100644 (file)
@@ -85,7 +85,7 @@ should match the filenames of the corresponding dumped shaders.
 
 <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).
@@ -162,11 +162,11 @@ These issues will be addressed/resolved in the future.
 <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>