| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2010-05-14 | Refresh autogenerated builtin_function.cpp. | Kenneth Graunke | |
| 2010-05-14 | Replace old builtin_function.cpp with new autogenerated one. | Kenneth Graunke | |
| 2010-04-23 | builtin_functions: Clean up compiler warning about unused name, instructions. | Eric Anholt | |
| 2010-04-23 | Put static pointers to vec[234]_types along with the static float_type. | Eric Anholt | |
| Otherwise you have to type a lot of get_instance. | |||
| 2010-04-21 | Actually emit temp declaration in vector comparison builtins. | Kenneth Graunke | |
| 2010-04-21 | Refactor IR function representation. | Kenneth Graunke | |
| Now, ir_function is emitted as part of the IR instructions, rather than simply existing in the symbol table. Individual ir_function_signatures are not emitted themselves, but only as part of ir_function. | |||
| 2010-04-08 | Add an implementation of gentype-only clamp(). | Eric Anholt | |
| 2010-04-08 | Add builtin implementations of vector comparison functions. | Eric Anholt | |
| Fixes CorrectFunction1.vert, glsl-fs-notequal.frag. | |||
| 2010-04-08 | Add support for builtin gentype mix(gentype a, gentype b) | Eric Anholt | |
| Fixes glsl-fs-mix.frag, glsl-fs-mix-constant.frag. | |||
| 2010-04-08 | Add buitlin functions for any(), all(), not(). | Eric Anholt | |
| 2010-04-08 | Add builtin normalize() functions. | Eric Anholt | |
| Fixes CorrectSqizzle2.vert. | |||
| 2010-04-07 | Make function bodies rely on the parameter variable declarations. | Eric Anholt | |
| Previously, generating inlined function bodies was going to be difficult, as there was no mapping between the body's declaration of variables where parameter values were supposed to live and the parameter variables that a caller would use in paramater setup. Presumably this also have been a problem for actual codegen. | |||
| 2010-04-07 | Make dot() take the right number of args. | Eric Anholt | |
| 2010-04-07 | Fix the returns of builtin functions to actually return. | Eric Anholt | |
| 2010-04-07 | Put function bodies under function signatures, instead of flat in the parent. | Eric Anholt | |
| This will let us know the length of function bodies for the purpose of inlining (among other uses). | |||
| 2010-03-31 | Use ir_function::add_signature to create link between function and signature | Ian Romanick | |
| ir_function_signature now has a pointer back to the ir_function that owns it. | |||
| 2010-03-29 | Add support for builtin radians() and degrees(). | Eric Anholt | |
| 2010-03-29 | Add the instruction for the parameter variable declarations of builtin funcs. | Eric Anholt | |
| Matches constructor setup, but I'm not really sure why we make the variable twice. | |||
| 2010-03-29 | Implement dot() builtin. | Eric Anholt | |
| 2010-03-29 | Implement exp2() and log2(), and make ir_unop_exp and ir_unop_log be base e. | Eric Anholt | |
| Making the base e functions IR operations is not a clear win. i965 doesn't support it, it doesn't look like r600 supports it, but r500 does. It should be easily supportable as a lowering pass, though. | |||
| 2010-03-29 | Implement builtin length() function. | Eric Anholt | |
| 2010-03-29 | Add sqrt() builtin as an IR operation. | Eric Anholt | |
| Following a discussion in #dri-devel, I think this makes more sense than implementing it as RSQ RCP CMP as Mesa did. The i965 has a hardware sqrt that should work, and AMD is suppposed to be able to implement it as RSQ RCP with an alternate floating point mode so that the 0.0 case is handled like we want. | |||
| 2010-03-29 | Add builtin pow() function. | Eric Anholt | |
| 2010-03-29 | Implement some binary gentype builtin functions. | Eric Anholt | |
| 2010-03-29 | Implement additional unary gentype builtins. | Eric Anholt | |
| 2010-03-29 | Implement the first builtin function: exp(). | Eric Anholt | |
