we are seeing different results when implementing "bitwise and" operation in OpenCL kernel working on uchar2 data. The OpenCL kernel code like this:
res = val1 & val2;
produce wrong results, while code like below:
res = (uchar2)(val1.x & val2.x, val1.y & val2.y)
produce correct result.
BTW, the same behaviour detected for bitwise or/xor and uchar3/4 data, although attached test case was prepared only for "bitwise and" on uchar2 data.