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
@@ -318,6 +318,8 @@ enum ir_expression_operation {
ir_unop_i2f, /**< Integer-to-float conversion. */
ir_unop_f2b, /**< Float-to-boolean conversion */
ir_unop_b2f, /**< Boolean-to-float conversion */
ir_unop_i2b, /**< int-to-boolean conversion */
ir_unop_b2i, /**< Boolean-to-int conversion */
ir_unop_u2f, /**< Unsigned-to-float conversion. */
/**