Again, it's a bad idea to modify texture because it sill be soon changed (radically) and it should not be opencl aware.