[OPENGL]
[reactos.git] / reactos / dll / opengl / mesa / src / glsl / TODO
1 - Detect code paths in non-void functions that don't reach a return statement
2
3 - Improve handling of constants and their initializers. Constant initializers
4 should never generate any code. This is trival for scalar constants. It is
5 also trivial for arrays, matrices, and vectors that are accessed with
6 constant index values. For others it is more complicated. Perhaps these
7 cases should be silently converted to uniforms?
8
9 - Implement support for ir_binop_dot in ir_algebraic.cpp. Perform
10 transformations such as "dot(v, vec3(0.0, 1.0, 0.0))" -> v.y.
11
12 - Track source locations throughout the IR. There are currently several
13 places where we cannot emit line numbers for errors (and currently emit 0:0)
14 because we've "lost" the line number information. This is particularly
15 noticeable at link time.
16
17 1.30 features:
18
19 - Implement AST-to-HIR conversion of switch-statements
20 - switch
21 - case
22 - Update break to correcly handle mixed nexting of switch-statements
23 and loops.
24
25 - Implement support for gl_ClipDistance. This is non-trivial because
26 gl_ClipDistance is exposed as a float[8], but all hardware actually
27 implements it as vec4[2].