mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
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:
parent
16be6298c0
commit
1cf76c72da
2 changed files with 7 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue