Main issue seen here was that ES 3.2 did not reset context state when
initializing TestCaseWrapper, this was causing different behaviour in
following tests:
KHR-GLES31.core.draw_buffers_indexed.blending
KHR-GLES32.core.draw_buffers_indexed.blending
Patch also fixes few other differences spotted.
Components: Framework, OpenGL
VK-GL-CTS issue: 3318
Affects:
glcts
cts-runner
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Change-Id: Ie5848e41eba64c3b76b526738e8612c8bebdfbfc
ES31TestPackage::~ES31TestPackage(void)
{
+ deqp::TestPackage::deinit();
}
class ShaderTests : public deqp::TestCaseGroup
if (m_waiverMechanism->isOnWaiverList(path))
throw tcu::TestException("Waived test", QP_TEST_RESULT_WAIVER);
+ glu::resetState(m_testPackage.getContext().getRenderContext(), m_testPackage.getContext().getContextInfo());
+
testCase->init();
}
glu::RenderContext& renderCtx = m_testPackage.getContext().getRenderContext();
tcu::TestCase::IterateResult result;
- // Clear to surrender-blue
+ // Clear to black
{
const glw::Functions& gl = renderCtx.getFunctions();
gl.clearColor(0.0f, 0.0f, 0.0f, 1.f);