diff options
author | Eric Anholt <eric@anholt.net> | 2010-04-02 02:17:08 -1000 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-02 11:22:41 -0700 |
commit | c2cb84e17b2f7a5db146faa9c9c2a2ffac4b6c19 (patch) | |
tree | b8f09ac3636f438a3fcbd6f3e5d486bfc20249cc /ir.h | |
parent | dc58b3f8ccd817fdee390a3df5b8e0fb29d5397c (diff) |
Add bool/int conversion as IR operations.
Fixes constructor-09.glsl and CorrectParse2.frag.
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. */ /** |