From 4230cfdb42061bdce806f35aec238d23ee37a26a Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 17 Jun 2010 20:37:17 -0700 Subject: [PATCH] TODO: Add note about initializers for constants --- TODO | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TODO b/TODO index 1db3819..193cfc7 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. -- 2.7.4