Add bool/int conversion as IR operations.
Fixes constructor-09.glsl and CorrectParse2.frag.
This commit is contained in:
parent
dc58b3f8cc
commit
c2cb84e17b
4 changed files with 7 additions and 1 deletions
2
ir.cpp
2
ir.cpp
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue