summaryrefslogtreecommitdiff
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-07-07 11:33:13 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-07-12 15:19:29 -0700
commit792e01c1e259077eb339af3ce61905fd227ae4bd (patch)
tree12f77b4ef5066bbdb4a4b1b61f5df242b39cad2a /src/glsl/ir.h
parentb50098122696c00e7f9e57089197e25e5fe0e0cf (diff)
ir_call: Add method to set the function signature being called
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r--src/glsl/ir.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 0d5bbc20aa..89922c6bbc 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -695,6 +695,11 @@ public:
}
/**
+ * Set the function call target
+ */
+ void set_callee(const ir_function_signature *sig);
+
+ /**
* Generates an inline version of the function before @ir,
* returning the return value of the function.
*/