summaryrefslogtreecommitdiff
path: root/src/glsl/ir_function_can_inline.cpp
AgeCommit message (Collapse)Author
2010-11-25glsl: Don't inline function prototypes.Kenneth Graunke
Currently, the standalone compiler tries to do function inlining before linking shaders (including linking against the built-in functions). This resulted in the built-in function _prototypes_ being inlined rather than the actual function definition. This is only known to fix a bug in the standalone compiler; most programs should be unaffected. Still, it seems like a good idea. NOTE: This is a candidate for the 7.9 branch.
2010-09-18glsl2: Empty functions can be inlined.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt