From 7eba12edce871c3db835decbf1a0271acfd3eb68 Mon Sep 17 00:00:00 2001
From: Brian
Date: Wed, 28 Mar 2007 17:14:35 -0600
Subject: more tips, validation info
---
docs/shading.html | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/docs/shading.html b/docs/shading.html
index 4e8f18676b..fd96a41e85 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.
+
+
+