Computes bitwise OR of two or more bytes. A resulting bit at a particular position is 0 only if all corresponding bits of inputs are 0.
bitwise-or
@/bitwise-or
Computes bitwise OR of two or more bytes. A resulting bit at a particular position is 0 only if all corresponding bits of inputs are 0.
#pragma XOD dirtieness disable
node {
void evaluate(Context ctx) {
auto in1 = getValue<input_IN1>(ctx);
auto in2 = getValue<input_IN2>(ctx);
emitValue<output_OUT>(ctx, in1 | in2);
}
}