Add bool/int conversion as IR operations.

Fixes constructor-09.glsl and CorrectParse2.frag.
This commit is contained in:
Eric Anholt
2010-04-02 02:17:08 -10:00
committed by Ian Romanick
parent dc58b3f8cc
commit c2cb84e17b
4 changed files with 7 additions and 1 deletions
+2
View File
@@ -66,6 +66,8 @@ ir_expression::get_num_operands(void)
1, /* ir_unop_i2f */
1, /* ir_unop_f2b */
1, /* ir_unop_b2f */
1, /* ir_unop_i2b */
1, /* ir_unop_b2i */
1, /* ir_unop_u2f */
1, /* ir_unop_trunc */