we've detected suspicious behaviour of clEnqueueWriteBufferRect/clEnqueueCopyBufferRect functions which is demonstrated with simple test case attached. The test case depends on OpenCL API only. This work correctly on AMD Tahiti but not on Intel HD4400, HD4600.
The problem is in copying rectangle of interest with some specific parameters from whole image, which is kept in cl buffer.
The short description of test case:
1. create opencl buffer for whole image (not initialized)