TODO revision 1.1 1 1.1 mrg - Detect code paths in non-void functions that don't reach a return statement
2 1.1 mrg
3 1.1 mrg - Improve handling of constants and their initializers. Constant initializers
4 1.1 mrg should never generate any code. This is trival for scalar constants. It is
5 1.1 mrg also trivial for arrays, matrices, and vectors that are accessed with
6 1.1 mrg constant index values. For others it is more complicated. Perhaps these
7 1.1 mrg cases should be silently converted to uniforms?
8 1.1 mrg
9 1.1 mrg - Track source locations throughout the IR. There are currently several
10 1.1 mrg places where we cannot emit line numbers for errors (and currently emit 0:0)
11 1.1 mrg because we've "lost" the line number information. This is particularly
12 1.1 mrg noticeable at link time.
13