glsl: Add a new ir_unop_round_even opcode for GLSL 1.30's roundEven.

Also, update ir_to_mesa's "1.30 is unsupported" case to "handle" it.
This commit is contained in:
Kenneth Graunke
2010-10-14 13:37:03 -07:00
parent 510c503762
commit d85d25dd1f
3 changed files with 4 additions and 0 deletions

View File

@@ -700,6 +700,7 @@ enum ir_expression_operation {
ir_unop_ceil,
ir_unop_floor,
ir_unop_fract,
ir_unop_round_even,
/*@}*/
/**