TODO: Add note about initializers for constants
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 18 Jun 2010 03:37:17 +0000 (20:37 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 18 Jun 2010 03:37:17 +0000 (20:37 -0700)
TODO

diff --git a/TODO b/TODO
index 1db3819..193cfc7 100644 (file)
--- a/TODO
+++ b/TODO
   - Handle resizing of arrays.
   - Other?  We'll have to look at the spec.
 
+- Improve handling of constants and their initializers.  Constant initializers
+  should never generate any code.  This is trival for scalar constants.  It is
+  also trivial for arrays, matrices, and vectors that are accessed with
+  constant index values.  For others it is more complicated.  Perhaps these
+  cases should be silently converted to uniforms?
+
 1.30 features:
 
 - Implement AST-to-HIR conversion of bit-shift operators.