Interoperability block texture access

Texture Initialization:

for (int i = 0; i < data.Length; i +=4) {
				data [i] = 125;
			}
			GL.BindTexture (TextureTarget.Texture2D, tboID [0]);
			GL.TexImage2D<byte> (TextureTarget.Texture2D, 0, PixelInternalFormat.Rgba8, w, h, 0,
			                     PixelFormat.Rgba, PixelType.UnsignedByte, data);
			
			GL.BindTexture (TextureTarget.Texture2D, 0)

TBO+FBO Initialization:

			GL.BindFramebuffer (FramebufferTarget.FramebufferExt, fboID [0]);
			GL.FramebufferTexture2D (FramebufferTarget.FramebufferExt, FramebufferAttachment.ColorAttachment0,
			                         TextureTarget.Texture2D, tboID [0], 0);
			GL.BindFramebuffer (FramebufferTarget.FramebufferExt, 0);

CL/GL Initialization:


bufferID = CL.CreateFromGLTexture2D (context, MemFlags.MemReadWrite, TextureTarget.Texture2D, ((uint[])tboID.Clone()) [0], 0);

Render Loop:


			for (int i = 0; i < data.Length; i += 4) {
				data [i] = tt;
			}
			tt++;
			GL.BindTexture (TextureTarget.Texture2D, tboID [0]);
			GL.TexImage2D<byte> (TextureTarget.Texture2D, 0, PixelInternalFormat.Rgba8, w, h, 0,
			                     PixelFormat.Rgba, PixelType.UnsignedByte, data);
			
			GL.BindTexture (TextureTarget.Texture2D, 0);
			GL.BindFramebuffer (FramebufferTarget.FramebufferExt, fboID [0]);
			GL.FramebufferTexture2D (FramebufferTarget.FramebufferExt, FramebufferAttachment.ColorAttachment0,
			                         TextureTarget.Texture2D, tboID [0], 0);
			GL.BindFramebuffer (FramebufferTarget.FramebufferExt, 0);GL.BindFramebuffer (FramebufferTarget.ReadFramebuffer, fboID [0]);

			GL.ReadBuffer (ReadBufferMode.ColorAttachment0);
			GL.DrawBuffer (DrawBufferMode.Back);

			GL.BlitFramebuffer (0, 0, w, h, 0, 0, w, h, ClearBufferMask.ColorBufferBit, BlitFramebufferFilter.Nearest);

			GL.BindFramebuffer (FramebufferTarget.ReadFramebuffer, 0);

The work of this should be simple. The color of screen is being changed from black to red. And It works until there is no CL/GL initialization. When I add it, it doesn’t work.

You can see more information about my issue here http://forums.amd.com/forum/messageview.cfm?catid=390&threadid=158360&enterthread=y.