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