Re: [Piglit] [PATCH 22/23] util: Add fields to piglit_gl_test_config for listing supported GL flavors

2012-10-04 Thread Eric Anholt
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 +

[Piglit] [PATCH 22/23] util: Add fields to piglit_gl_test_config for listing supported GL flavors

2012-09-28 Thread Chad Versace
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