The third paragraph in section 9.3.1 gives conditions when
texture/framebuffer texture reads/writes are undefined. I
think that this test requires a TextureBarrier as described
in the last bullet point.
Affects:
KHR-GL46.texture_view.coherency
Components: OpenGL
VK-GL-CTS issue: 1183
Change-Id: I231ffd5acd089ebc1a9e0265c2f4a97f2a5c525c
gl.drawArrays(GL_TRIANGLE_STRIP, 0 /* first */, 4 /* count */);
GLU_EXPECT_NO_ERROR(gl.getError(), "glDrawArrays() call failed.");
+
+ gl.textureBarrier();
}
/* Determine which texture and which mip-map level we will need to sample