glsl: Allow vectors to be created from ir_constant().
authorMatt Turner <mattst88@gmail.com>
Mon, 5 Aug 2013 22:15:37 +0000 (15:15 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 17 Sep 2013 23:59:14 +0000 (16:59 -0700)
commit5561251b58c976a70125bb07dc1c6cc2bd2541f4
tree3677012e424204d7f3a8e3fd68d774bea3a6deba
parentb2ab840130677bbe7b67de4727fcd91ee6506bb8
glsl: Allow vectors to be created from ir_constant().

Note the parameter name change in the int version of ir_constant, to
avoid the conflict with the loop iterator.

v2: Make analogous change to builtin_builder::imm().
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/builtin_functions.cpp
src/glsl/ir.cpp
src/glsl/ir.h