Add bool/int conversion as IR operations.
Fixes constructor-09.glsl and CorrectParse2.frag.
This commit is contained in:
committed by
Ian Romanick
parent
dc58b3f8cc
commit
c2cb84e17b
@@ -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. */
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user