mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-16 23:30:35 +01:00
glsl: Add bit_xor builder
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
5f7f7d582b
commit
7f64041cee
2 changed files with 7 additions and 0 deletions
|
|
@ -416,6 +416,12 @@ bit_or(operand a, operand b)
|
|||
return expr(ir_binop_bit_or, a, b);
|
||||
}
|
||||
|
||||
ir_expression*
|
||||
bit_xor(operand a, operand b)
|
||||
{
|
||||
return expr(ir_binop_bit_xor, a, b);
|
||||
}
|
||||
|
||||
ir_expression*
|
||||
lshift(operand a, operand b)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -168,6 +168,7 @@ ir_expression *logic_or(operand a, operand b);
|
|||
ir_expression *bit_not(operand a);
|
||||
ir_expression *bit_or(operand a, operand b);
|
||||
ir_expression *bit_and(operand a, operand b);
|
||||
ir_expression *bit_xor(operand a, operand b);
|
||||
ir_expression *lshift(operand a, operand b);
|
||||
ir_expression *rshift(operand a, operand b);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue