summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-06-04 16:34:38 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-06-11 13:51:09 -0700
commit756a3fac4fbbc6b3785715db745f8d58a14baeb9 (patch)
tree9b6feea3aded11effb6a3ad8a54804d8b5c4a7f0 /ir.h
parent7c40a3205439e406d54feca6cd0a09fda091522c (diff)
Construct an ir_constant from a list of ir_constant values
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index 033d6f2261..60164a5ab1 100644
--- a/ir.h
+++ b/ir.h
@@ -1027,6 +1027,11 @@ public:
ir_constant(float f);
/**
+ * Construct an ir_constant from a list of ir_constant values
+ */
+ ir_constant(const struct glsl_type *type, exec_list *values);
+
+ /**
* Construct an ir_constant from a scalar component of another ir_constant
*
* The new \c ir_constant inherits the type of the component from the