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:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user