working opencl texture manipulation

implemented working texture manipulation (write only and not cleaned up
code)