summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
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 9d7af2dcabc..042da94d853 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;