82065fa20ee3f2880a070f1f4f75509b910cedde |
|
21-Sep-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Remove ir_call::get_callee() and set_callee(). Previously, set_callee() performed some assertions about the type of the ir_call; protecting the bare pointer ensured these checks would be run. However, ir_call no longer has a type, so the getter and setter methods don't actually do anything useful. Remove them in favor of accessing callee directly, as is done with most other fields in our IR. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/ir_function_can_inline.cpp
|
e8a24c65bc06a2a098c05728df0da1e5ed61b1de |
|
25-Nov-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
glsl: Don't inline function prototypes. 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.
/external/mesa3d/src/glsl/ir_function_can_inline.cpp
|
19f8f32a967fbe376ca0aae9be12100f4cdf9d31 |
|
17-Sep-2010 |
Tilman Sauerbeck <tilman@code-monkey.de> |
glsl2: Empty functions can be inlined. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/ir_function_can_inline.cpp
|
29285882676388aacff123e8bdf025904abf8ea9 |
|
25-Jun-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Move the compiler to the subdirectory it will live in in Mesa.
/external/mesa3d/src/glsl/ir_function_can_inline.cpp
|