Commit 7eba12ed authored by Brian's avatar Brian

more tips, validation info

parent ba730e14
......@@ -15,7 +15,7 @@ OpenGL Shading Language</a>.
Last updated on 26 March 2007.
Last updated on 28 March 2007.
......@@ -27,6 +27,7 @@ Contents
<li><a href="#hints">Programming Hints</a>
<li><a href="#standalone">Stand-alone Compiler</a>
<li><a href="#implementation">Compiler Implementation</a>
<li><a href="#validation">Compiler Validation</a>
......@@ -121,6 +122,9 @@ These issues will be addressed/resolved in the future.
float x = inversesqrt(y);
Use ++i when possible as it's more efficient than i++
......@@ -282,5 +286,24 @@ Extra NOP instructions will also be inserted.
<a name="validation">
<h2>Compiler Validation</h2>
A new <a href="" target="_parent">Glean</a> test has
been create to exercise the GLSL compiler.
The <em>glsl1</em> test runs over 130 sub-tests to check that the language
features and built-in functions work properly.
This test should be run frequently while working on the compiler to catch
The test coverage is reasonably broad and complete but additional tests
should be added.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment