Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-20 | glsl2: Move constant_expression_value method to ir_rvalue. | Kenneth Graunke | |
This prevents top-level callers from asking for the value of something that is guaranteed not to have one. | |||
2010-07-18 | glsl2: Make cross() be an expression operation. | Eric Anholt | |
ARB_fp, ARB_vp, Mesa IR, and the 965 vertex shader all have instructions for cross. Shaves 12 Mesa instructions off of a 66-instruction shader I have. | |||
2010-07-14 | ir_constant_expression: Add support for ir_binop_mod. | Kenneth Graunke | |
2010-07-14 | ir_constant_expression: Add support for ir_binop_min and ir_binop_max. | Kenneth Graunke | |
These now work on scalar/vector combos. Semantically, if a is a scalar, min(a, vec2(x,y)) == vec2(min(a,x), min(a,y)) | |||
2010-07-14 | ir_constant_expression: Add support for ir_binop_pow. | Kenneth Graunke | |
2010-07-14 | ir_constant_expression: Add support for ir_unop_cos. | Kenneth Graunke | |
2010-07-14 | ir_constant_expression: Add support for ir_unop_sin. | Kenneth Graunke | |
2010-07-14 | ir_constant_expression: Add support for ir_unop_floor. | Kenneth Graunke | |
2010-07-14 | ir_constant_expression: Add support for ir_unop_ceil. | Kenneth Graunke | |
2010-07-14 | ir_constant_expression: Add support for ir_unop_trunc. | Kenneth Graunke | |
This uses a C99 function. | |||
2010-07-14 | ir_constant_expression: Add support for ir_unop_log2. | Kenneth Graunke | |
This uses a C99 function. | |||
2010-07-14 | ir_constant_expression: Add support for ir_unop_exp2. | Kenneth Graunke | |
This uses a C99 function. | |||
2010-07-14 | ir_constant_expression: Add support for ir_unop_sign. | Kenneth Graunke | |
2010-07-14 | ir_constant_expression: Remove bogus assert in ir_unop_abs case. | Kenneth Graunke | |
abs is defined for integral types; it's even implemented. | |||
2010-07-07 | ir_constant_expression: Fix loop increments. | Kenneth Graunke | |
2010-07-07 | glsl2: Avoid null deref in scalar constant unop expressions. | Eric Anholt | |
2010-07-06 | glsl2: Clone methods return the type of the thing being cloned | Ian Romanick | |
This is as opposed to returning the type of the base class of the hierarchy. | |||
2010-07-06 | ir_constant_expression: Declare loop counting variables in the loops. | Kenneth Graunke | |
Fixes "name lookup of 'c' changed" warning. | |||
2010-07-06 | ir_constant_expression: Add support for dot products. | Kenneth Graunke | |
2010-07-06 | ir_constant_expression: Add support for matrix multiplication. | Kenneth Graunke | |
Also handles matrix/vector and vector/matrix multiplication. Fixes piglit tests const-matrix-multiply-01.frag, const-matrix-multiply-02.frag, and const-vec-mat.frag. | |||
2010-07-06 | ir_constant_expression: Support scalar * vector and scalar * matrix. | Kenneth Graunke | |
The test here is slightly different since we need to keep matrix multiplication separate. Fixes piglit tests const-vec-scalar-03.frag and const-mat-scalar-03.frag. | |||
2010-07-06 | ir_constant_expression: Support scalar / vector and scalar / matrix. | Kenneth Graunke | |
Fixes piglit tests const-vec-scalar-04.frag and const-mat-scalar-04.frag. | |||
2010-07-06 | ir_constant_expression: Support scalar - vector and scalar - matrix. | Kenneth Graunke | |
Fixes piglit tests const-vec-scalar-02.frag and const-mat-scalar-02.frag. | |||
2010-07-06 | ir_constant_expression: Support scalar + vector and scalar + matrix. | Kenneth Graunke | |
Fixes piglit tests const-vec-scalar-01.frag, const-vec-scalar-05.frag, and const-mat-scalar-01.frag. | |||
2010-07-06 | ir_constant_expression: Assert that both operands share a base type. | Kenneth Graunke | |
2010-07-06 | ir_constant_expression: Initialize op[0] and op[1] to NULL. | Kenneth Graunke | |
This makes it easy to check if there is a second argument. | |||
2010-07-06 | ir_constant_expression: Initialize all components of constant data to 0. | Kenneth Graunke | |
This is probably just a good idea, and will come in useful when implementing things like matrix multiplication. | |||
2010-07-01 | glsl2: Add ir_unop_fract as an expression type. | Eric Anholt | |
Most backends will prefer seeing this to seeing (a - floor(a)), so represent it explicitly. | |||
2010-06-30 | glsl2: Define new ir_discard instruction. | Kenneth Graunke | |
2010-06-24 | glsl2: Move the compiler to the subdirectory it will live in in Mesa. | Eric Anholt | |