summaryrefslogtreecommitdiff
path: root/src/glsl/link_functions.cpp
AgeCommit message (Collapse)Author
2010-07-19linker: Recursively resolve function calls in imported functionsIan Romanick
2010-07-19linker: look up function signatures during linking instead of using calleeIan Romanick
Instead of using ir_call::callee, search for the signature in the linked shader. This will allow resolving calls from functions imported from other shaders. The ir_call::callee pointer in the imported function will still reference a signature in the original shader.
2010-07-19linker: Pull find_matching_signature out of call_link_visitorIan Romanick
The list of shaders to search needs to be provided as an explicit parameter to support coming changes. At that point there is no reason for it to be in the class. Also, fix some of the 'const' decorators.
2010-07-19linker: First bits of intrastage, intershader function linkingIan Romanick
This handles the easy case of linking a function in a different compilation unit that doesn't call any functions or reference any global variables.