Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl2: Add support for redeclaring layout of gl_FragCoord for ARB_fcc. | Eric Anholt | 2010-07-28 | 1 | -0/+2 |
| | | | | | Fixes: glsl-arb-fragment-coord-conventions | ||||
* | glsl2: Set the type on cloned tex instructions. | Eric Anholt | 2010-07-22 | 1 | -0/+1 |
| | |||||
* | glsl2: Extend ir_constant to store constant arrays, and generate them. | Kenneth Graunke | 2010-07-21 | 1 | -0/+11 |
| | | | | | | | | | Since GLSL permits arrays of structures, we need to store each element as an ir_constant*, not just ir_constant_data. Fixes parser tests const-array-01.frag, const-array-03.frag, const-array-04.frag, const-array-05.frag, though 03 and 04 generate the wrong code. | ||||
* | glsl2: Add and use new variable mode ir_var_temporary | Ian Romanick | 2010-07-20 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | This is quite a large patch because breaking it into smaller pieces would result in the tree being intermitently broken. The big changes are: * Add the ir_var_temporary variable mode * Change the ir_variable constructor to take the mode as a parameter and correctly specify the mode for all ir_varables. * Change the linker to not cross validate ir_var_temporary variables. * Change the linker to pull all ir_var_temporary variables from global scope into 'main'. | ||||
* | glsl2: Remove the const disease from function signature's callee. | Eric Anholt | 2010-07-18 | 1 | -1/+1 |
| | |||||
* | glsl2: Remove unnecessary casts of clone return values | Ian Romanick | 2010-07-13 | 1 | -25/+22 |
| | |||||
* | linker: Implement first bits of intrastage linking | Ian Romanick | 2010-07-12 | 1 | -0/+1 |
| | | | | | | | This currently involves an ugly hack so that every link doesn't result in all the built-in functions showing up as multiply defined. As soon as the built-in functions are stored in a separate compilation unit, ir_function_signature::is_built_in can be removed. | ||||
* | glsl2: Add utility function clone_ir_list | Ian Romanick | 2010-07-12 | 1 | -0/+60 |
| | |||||
* | glsl2: Implement ir_function::clone and ir_function_signature::clone | Ian Romanick | 2010-07-12 | 1 | -6/+43 |
| | |||||
* | glsl2: Add missing fields in ir_variable::clone | Ian Romanick | 2010-07-12 | 1 | -0/+8 |
| | |||||
* | glsl2: Clone methods return the type of the thing being cloned | Ian Romanick | 2010-07-06 | 1 | -17/+17 |
| | | | | This is as opposed to returning the type of the base class of the hierarchy. | ||||
* | glsl2: Define new ir_discard instruction. | Kenneth Graunke | 2010-06-30 | 1 | -0/+12 |
| | |||||
* | glsl2: Wrap includes of C interfaces with extern "C". | Eric Anholt | 2010-06-24 | 1 | -0/+2 |
| | |||||
* | glsl2: Move the compiler to the subdirectory it will live in in Mesa. | Eric Anholt | 2010-06-24 | 1 | -0/+287 |