So, it is sharing the textures correctly, it is drawing the OpenGL texture fine. But OpenCL will not touch the thing. CodeXL wont debug it for some reason, and I can't read out from enqueueReadBuffer. I really don't know whats going on here

This commit is contained in:
2016-01-10 03:33:10 -08:00
parent d999828bee
commit d93a57cbdf
3 changed files with 140 additions and 188 deletions

View File

@@ -10,5 +10,6 @@ uniform sampler2D ourTexture1;
void main()
{
// Linearly interpolate between both textures (second texture is only slightly combined)
//color = vec4(1.0f, 0.5f, 0.2f, 1.0f);
color = texture(ourTexture1, TexCoord);
}