Chad Versace chad.vers...@linux.intel.com writes:
+static void
+validate_supported_apis(const struct piglit_gl_test_config *test_config)
+{
+ int supported_apis = !!test_config-supports_gl_core_version
++ !!test_config-supports_gl_compat_version
+
This patch has 3 interrelated components.
1) Add the following fields to piglit_gl_test_config:
supports_gl_core_version
supports_gl_compat_version
supports_gl_es1
supports_gl_es2
These allow a test to specify what GL flavors under which it can run. For
details, see the