Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl hierarchical visitor: Do not overwrite base_ir for parameter lists. | Paul Berry | 2011-09-23 | 1 | -1/+2 |
| | | | | | | | | | | | | | | This patch fixes a bug in ir_hirearchical_visitor: when traversing an exec_list representing the formal or actual parameters of a function, it modified base_ir to point to each parameter in turn, rather than leaving it as a pointer to the enclosing statement. This was a problem, since base_ir is used by visitor classes to locate the statement containing the node being visited (usually so that additional statements can be inserted before or after it). Without this fix, visitors might attempt to insert statements into parameter lists. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | glsl2: Set a flag when visiting the assignee of an assignment | Ian Romanick | 2010-09-03 | 1 | -0/+7 |
| | |||||
* | glsl2: Add a pass to convert mod(a, b) to b * fract(a/b). | Eric Anholt | 2010-07-01 | 1 | -0/+12 |
| | | | | This is used by the Mesa IR backend to implement mod, fixing glsl-fs-mod. | ||||
* | glsl2: Define new ir_discard instruction. | Kenneth Graunke | 2010-06-30 | 1 | -0/+2 |
| | |||||
* | glsl2: Move the compiler to the subdirectory it will live in in Mesa. | Eric Anholt | 2010-06-24 | 1 | -0/+162 |