Some sample_variables tests use tessellation/geometry shaders.
Need to check that the relevant extensions are exposed.
Components: AOSP
Affects:
dEQP-GLES31.functional.debug.negative_coverage.*.oes_sample_variables.access_built_in_types_inside_other_shaders
Bug:
65317039
Test: Run tests on couple of Google devices
Change-Id: Iff74939d474082938955e5b7ebfc41ea3b4a6ec5
{
checkSupported(ctx);
+ if ((!ctx.isExtensionSupported("GL_EXT_tessellation_shader") && !ctx.isExtensionSupported("GL_OES_tessellation_shader")) ||
+ (!ctx.isExtensionSupported("GL_EXT_geometry_shader") && !ctx.isExtensionSupported("GL_OES_geometry_shader")))
+ {
+ TCU_THROW(NotSupportedError, "tessellation and geometry shader extensions not supported");
+ }
+
std::ostringstream shader;
struct testConfig
} // NegativeTestShared
} // Functional
} // gles31
-} // deqp
\ No newline at end of file
+} // deqp