summaryrefslogtreecommitdiff
path: root/src/glsl/ir.cpp
AgeCommit message (Collapse)Author
2010-07-12ir_function_signature: Add method to get the function owning a signatureIan Romanick
There is no setter function, the getter returns a constant pointer, and ir_function_signature::_function is private for a reason. The only way to make a connection between a function and function signature is via ir_function::add_signature. This helps ensure that certain invariants (i.e., a function signature is in the list of signatures for its _function) are met.
2010-07-12ir_call: Add method to set the function signature being calledIan Romanick
2010-07-01glsl2: 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-30glsl2: Make function names and variable names be children of the node.Eric Anholt
This avoids losing their memory when the parser state is freed.
2010-06-29ir_swizzle: Add new constructor, refactor constructorsIan Romanick
Adds a new constructor that takes an array of component values. Refactors the meat of the two constructors to an init_mask method.
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt