aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/ir.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-07-18 08:19:27 +0200
committermarha <marha@users.sourceforge.net>2011-07-18 08:19:27 +0200
commit7723537ddbe5dd4070f2bebbd4e0c93be3244b18 (patch)
tree191087c1b324a1effd6c003c529fb06d53d9543f /mesalib/src/glsl/ir.h
parent2ce12f084113a0097fa1a0d67e2f8fe1ab70092b (diff)
downloadvcxsrv-7723537ddbe5dd4070f2bebbd4e0c93be3244b18.tar.gz
vcxsrv-7723537ddbe5dd4070f2bebbd4e0c93be3244b18.tar.bz2
vcxsrv-7723537ddbe5dd4070f2bebbd4e0c93be3244b18.zip
pixman git update 18 July 2011
Diffstat (limited to 'mesalib/src/glsl/ir.h')
-rw-r--r--mesalib/src/glsl/ir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesalib/src/glsl/ir.h b/mesalib/src/glsl/ir.h
index 42a393697..80ad3dd29 100644
--- a/mesalib/src/glsl/ir.h
+++ b/mesalib/src/glsl/ir.h
@@ -991,6 +991,7 @@ public:
assert(callee->return_type != NULL);
type = callee->return_type;
actual_parameters->move_nodes_to(& this->actual_parameters);
+ this->use_builtin = callee->is_builtin;
}
virtual ir_call *clone(void *mem_ctx, struct hash_table *ht) const;
@@ -1054,6 +1055,9 @@ public:
/* List of ir_rvalue of paramaters passed in this call. */
exec_list actual_parameters;
+ /** Should this call only bind to a built-in function? */
+ bool use_builtin;
+
private:
ir_call()
: callee(NULL)