kolibrios/contrib/sdk/sources/Mesa/mesa-10.6.0/src/glsl/TODO
Sergey Semyonov (Serge) 0471f48b2c add mesa-10.6.0
git-svn-id: svn://kolibrios.org@5564 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-06-01 07:08:00 +00:00

13 lines
689 B
Plaintext

- Detect code paths in non-void functions that don't reach a return statement
- 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?
- Track source locations throughout the IR. There are currently several
places where we cannot emit line numbers for errors (and currently emit 0:0)
because we've "lost" the line number information. This is particularly
noticeable at link time.