glsl: Add IR builder support for triops.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 3 Sep 2013 23:37:39 +0000 (16:37 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 9 Sep 2013 18:52:22 +0000 (11:52 -0700)
commiteff2ca1ac3f77da81a698b08c46f245b28930ede
tree44b016fe7775a7dc0583fc1647dee3ea21647e78
parent7f0f60cd840fc88f01b8f6e46cad36c36709d813
glsl: Add IR builder support for triops.

Now that we have the ir_expression constructor that does type inference,
this is trivial to do.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/ir_builder.cpp
src/glsl/ir_builder.h