void InterpolationOffsetCase::init (void)
{
- if (!m_context.getContextInfo().isExtensionSupported("GL_OES_shader_multisample_interpolation"))
+ const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2));
+
+ if (!isES32 && !m_context.getContextInfo().isExtensionSupported("GL_OES_shader_multisample_interpolation"))
throw tcu::NotSupportedError("Test requires GL_OES_shader_multisample_interpolation extension");
}
void FragmentInterpolationOffsetBitsCase::init (void)
{
- if (!m_context.getContextInfo().isExtensionSupported("GL_OES_shader_multisample_interpolation"))
+ const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2));
+
+ if (!isES32 && !m_context.getContextInfo().isExtensionSupported("GL_OES_shader_multisample_interpolation"))
throw tcu::NotSupportedError("Test requires GL_OES_shader_multisample_interpolation extension");
}