From 756a3fac4fbbc6b3785715db745f8d58a14baeb9 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 4 Jun 2010 16:34:38 -0700 Subject: Construct an ir_constant from a list of ir_constant values --- ir.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ir.h') diff --git a/ir.h b/ir.h index 033d6f2261..60164a5ab1 100644 --- a/ir.h +++ b/ir.h @@ -1026,6 +1026,11 @@ public: ir_constant(int i); 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 * -- cgit v1.2.3