glsl: Add nequal() to ir_builder.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
Matt Turner 2013-08-04 14:09:35 -07:00
parent 16be6298c0
commit 1cf76c72da
2 changed files with 7 additions and 0 deletions

View file

@ -231,6 +231,12 @@ equal(operand a, operand b)
return expr(ir_binop_equal, a, b);
}
ir_expression*
nequal(operand a, operand b)
{
return expr(ir_binop_nequal, a, b);
}
ir_expression*
less(operand a, operand b)
{

View file

@ -136,6 +136,7 @@ ir_expression *saturate(operand a);
ir_expression *abs(operand a);
ir_expression *equal(operand a, operand b);
ir_expression *nequal(operand a, operand b);
ir_expression *less(operand a, operand b);
ir_expression *greater(operand a, operand b);
ir_expression *lequal(operand a, operand b);