Add missing tessellation shader extension check to bounding box tests.
authorMika Isojärvi <misojarvi@google.com>
Thu, 21 Jan 2016 23:28:21 +0000 (15:28 -0800)
committerMika Isojärvi <misojarvi@google.com>
Thu, 21 Jan 2016 23:28:21 +0000 (15:28 -0800)
Bug: 24101261
Change-Id: Id57a3ca04c20a7c683bc2c24ac85e6cc43e386dd

modules/gles31/functional/es31fPrimitiveBoundingBoxTests.cpp

index 4748b7f..1391878 100644 (file)
@@ -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"