Make the draw call failure optional if the beginTransformFeedback
failed
Affects:
KHR-GLES32.core.tessellation_shader.single.xfb_captures_data_from_correct_stage
Components: OpenGL
VK-GL-CTS issue: 609
Change-Id: If2a47bf2bef866d1618b7071f6adb9e887422c88
(cherry picked from commit
bb0a7d17b1c3ba5f92e44b00b6aa9d456f05479f)
}
else
{
- if (gl.getError() != GL_INVALID_OPERATION)
+ if (gl.getError() != GL_INVALID_OPERATION && !didBeginXFBFail)
{
TCU_FAIL("A draw call made using a program object lacking TES stage has"
" not generated a GL_INVALID_OPERATION as specified");