summaryrefslogtreecommitdiff
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-07-18 17:45:16 -0700
committerEric Anholt <eric@anholt.net>2010-07-18 18:13:06 -0700
commit1f47245bdda2c85bf0f0174e6c24a50486b413aa (patch)
treec38a52938e930d6d1e948a12a70bd813ce076da1 /src/glsl/ir.h
parent9be7f638130f46a9df2bfbcd4a03b36de9e4f3aa (diff)
glsl2: Remove the const disease from function signature's callee.
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r--src/glsl/ir.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 9d7af2dcab..042da94d85 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -661,7 +661,7 @@ public:
*/
class ir_call : public ir_rvalue {
public:
- ir_call(const ir_function_signature *callee, exec_list *actual_parameters)
+ ir_call(ir_function_signature *callee, exec_list *actual_parameters)
: callee(callee)
{
assert(callee->return_type != NULL);
@@ -706,7 +706,7 @@ public:
return callee->function_name();
}
- const ir_function_signature *get_callee()
+ ir_function_signature *get_callee()
{
return callee;
}
@@ -714,7 +714,7 @@ public:
/**
* Set the function call target
*/
- void set_callee(const ir_function_signature *sig);
+ void set_callee(ir_function_signature *sig);
/**
* Generates an inline version of the function before @ir,
@@ -729,7 +729,7 @@ private:
/* empty */
}
- const ir_function_signature *callee;
+ ir_function_signature *callee;
/* List of ir_rvalue of paramaters passed in this call. */
exec_list actual_parameters;