util/hash_table: replace fnv1a hash function with xxhash
[mesa.git] / docs / shading.html
index 174337b41f2f5f1d5ee2ce85a916ca6f5d655515..e36bab49c58373aba145ebbdf1d65a2ec9018484 100644 (file)
@@ -2,19 +2,19 @@
 <html lang="en">
 <head>
   <meta http-equiv="content-type" content="text/html; charset=utf-8">
-  <title>Shading Language Support</title>
+  <title>Shading Language</title>
   <link rel="stylesheet" type="text/css" href="mesa.css">
 </head>
 <body>
 
 <div class="header">
-  <h1>The Mesa 3D Graphics Library</h1>
+  The Mesa 3D Graphics Library
 </div>
 
 <iframe src="contents.html"></iframe>
 <div class="content">
 
-<h1>Shading Language Support</h1>
+<h1>Shading Language</h1>
 
 <p>
 This page describes the features and status of Mesa's support for the
@@ -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>