summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-06-17 20:37:17 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-06-17 20:37:17 -0700
commit4230cfdb42061bdce806f35aec238d23ee37a26a (patch)
treeefca8d6ab3f8eb278de90c32896c5b7ad00295f7
parentce030884064046925a655413097dd8257e9392dd (diff)
TODO: Add note about initializers for constants
-rw-r--r--TODO6
1 files changed, 6 insertions, 0 deletions
diff --git a/TODO b/TODO
index 1db3819178..193cfc767d 100644
--- a/TODO
+++ b/TODO
@@ -56,6 +56,12 @@
- 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.