From: Jeannot Breton Date: Mon, 31 Jul 2017 18:59:59 +0000 (-0500) Subject: drawCall error optional if beginXFB failed X-Git-Tag: upstream/0.1.0~48^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28ef40bf2649f74f3a7ae1f8e4c462082b9880d0;p=platform%2Fupstream%2FVK-GL-CTS.git drawCall error optional if beginXFB failed 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) --- diff --git a/external/openglcts/modules/glesext/tessellation_shader/esextcTessellationShaderXFB.cpp b/external/openglcts/modules/glesext/tessellation_shader/esextcTessellationShaderXFB.cpp index d138daf..d560089 100644 --- a/external/openglcts/modules/glesext/tessellation_shader/esextcTessellationShaderXFB.cpp +++ b/external/openglcts/modules/glesext/tessellation_shader/esextcTessellationShaderXFB.cpp @@ -805,7 +805,7 @@ tcu::TestNode::IterateResult TessellationShaderXFB::iterate(void) } 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");