From: Kenneth Graunke Date: Tue, 20 Jul 2010 20:04:23 +0000 (-0700) Subject: glsl2: Update TODO. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9384d1d7fdf06b6345b3be0a70a294b90eac96e;p=mesa.git glsl2: Update TODO. --- diff --git a/src/glsl/TODO b/src/glsl/TODO index b2baa130786..07ac5f5c6e8 100644 --- a/src/glsl/TODO +++ b/src/glsl/TODO @@ -1,30 +1,7 @@ -- Handle currently unsupported constant expression types - - ir_unop_sign - - ir_unop_exp2 - - ir_unop_log2 - - ir_unop_u2f - - ir_unop_trunc - - ir_unop_ceil - - ir_unop_floor - - ir_unop_sin - - ir_unop_cos - - ir_binop_min - - ir_binop_max - - ir_binop_pow - - Handle constant expressions of (struct == struct) - Handle constant expressions of (struct != struct) -- Add support to ir_constant for array constants Arrays can only be - - declared 'const' in GLSL 1.20+. This is because there are no - array constructors in GLSL 1.10, and any variable declared as - 'const' must have an initializer. - -- Handle constant expressions of (array == array) - -- Handle constant expressions of (array != array) - - Treat built-in functions with constant parameters as constant expressions. - Rewrite all built-in functions return a single expression. - Modify the HIR generator for functions to automatically inline built-in