From c22e16e65c11afffe24ad5c07f255a9f38b11231 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mika=20Isoj=C3=A4rvi?= Date: Thu, 21 Jan 2016 15:28:21 -0800 Subject: [PATCH] Add missing tessellation shader extension check to bounding box tests. Bug: 24101261 Change-Id: Id57a3ca04c20a7c683bc2c24ac85e6cc43e386dd --- modules/gles31/functional/es31fPrimitiveBoundingBoxTests.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/gles31/functional/es31fPrimitiveBoundingBoxTests.cpp b/modules/gles31/functional/es31fPrimitiveBoundingBoxTests.cpp index 4748b7f..1391878 100644 --- a/modules/gles31/functional/es31fPrimitiveBoundingBoxTests.cpp +++ b/modules/gles31/functional/es31fPrimitiveBoundingBoxTests.cpp @@ -4461,6 +4461,9 @@ void ViewportCallOrderCase::init (void) if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_primitive_bounding_box")) throw tcu::NotSupportedError("Test requires GL_EXT_primitive_bounding_box extension"); + if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader")) + throw tcu::NotSupportedError("Test requires GL_EXT_tessellation_shader extension"); + m_testCtx.getLog() << tcu::TestLog::Message << "Testing call order of state setting functions have no effect on the rendering.\n" -- 2.7.4