From: Brian
Date: Wed, 28 Mar 2007 23:14:35 +0000 (-0600)
Subject: more tips, validation info
X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7eba12edce871c3db835decbf1a0271acfd3eb68;p=mesa.git
more tips, validation info
---
diff --git a/docs/shading.html b/docs/shading.html
index 4e8f18676b7..fd96a41e85a 100644
--- a/docs/shading.html
+++ b/docs/shading.html
@@ -15,7 +15,7 @@ OpenGL Shading Language.
-Last updated on 26 March 2007.
+Last updated on 28 March 2007.
@@ -27,6 +27,7 @@ Contents
Programming Hints
Stand-alone Compiler
Compiler Implementation
+Compiler Validation
@@ -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.
+
+Compiler Validation
+
+
+A new Glean test has
+been create to exercise the GLSL compiler.
+
+
+The glsl1 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
+regressions.
+
+
+The test coverage is reasonably broad and complete but additional tests
+should be added.
+
+
+