1 - Handle currently unsupported constant expression types
15 - Handle constant expressions of (struct == struct)
17 - Handle constant expressions of (struct != struct)
19 - Add support to ir_constant for array constants Arrays can only be
20 - declared 'const' in GLSL 1.20+. This is because there are no
21 array constructors in GLSL 1.10, and any variable declared as
22 'const' must have an initializer.
24 - Handle constant expressions of (array == array)
26 - Handle constant expressions of (array != array)
28 - Treat built-in functions with constant parameters as constant expressions.
29 - Rewrite all built-in functions return a single expression.
30 - Modify the HIR generator for functions to automatically inline built-in
31 functions durning translation.
32 - Care must be taken to handle both the 1.10 rules and the 1.20+ rules. In
33 1.10, built-in functions cannot be constant expressions.
35 - Detect code paths in non-void functions that don't reach a return statement
37 - Handle over-riding built-in functions
38 - Is the overload per-compilation unit or per-linked shader?
40 - Handle redeclaration of built-in variables
41 - Handle addition of qualifiers such as 'invariant' or 'centroid'.
42 - Handle resizing of arrays.
43 - Other? We'll have to look at the spec.
45 - Improve handling of constants and their initializers. Constant initializers
46 should never generate any code. This is trival for scalar constants. It is
47 also trivial for arrays, matrices, and vectors that are accessed with
48 constant index values. For others it is more complicated. Perhaps these
49 cases should be silently converted to uniforms?
53 - Implement AST-to-HIR conversion of bit-shift operators.
55 - Implement AST-to-HIR conversion of bit-wise {&,|,^,!} operators.
57 - Implement AST-to-HIR conversion of switch-statements
60 - Update break to correcly handle mixed nexting of switch-statements
63 - Handle currently unsupported constant expression types
72 - Implement support for 1.30 style shadow compares which only return a float