[Piglit] [PATCH 00/13] Support GLES3; Add a GLES3 minmax test

Chad Versace chad.versace at linux.intel.com
Tue Nov 27 17:51:58 PST 2012


This series lives on gles3-v1 branch.

The final patch adds test gles-3.0-minmax. I tested it against waffle-1.2.2
and mesa-gles3-861a99d with Intel Sandybridge. The test runs, but fails
because Mesa exposes some incorrect values.

* Patches 1-3 enable tests to declare config.supports_gl_es_version = 30 in the
  config block.
* Patches 4-11 build libpiglitutil_gles3.
* Patches 12-13 add test gles-3.0-minmax.

Chad Versace (13):
  cmake: Require waffle>=1.2.2 if using waffle
  util/gl: Add config field 'supports_gl_es_version'
  util/piglit-framework-gl: Support OpenGL ES3
  cmake: Add option PIGLIT_BUILD_GLES3_TESTS
  cmake: Support CMakeLists.gles3.txt
  util/gl: Include GLES3 headers
  util/minmax: Add preprocessor guards for OpenGL-specific functions
  util/gl: Implement piglit_get_gl_enum_name() for GLES3
  cmake: Move piglit-util-gl-enum.c out of common UTIL_GL_SOURCES
  util/gl: Extend cpp #if's for PIGLIT_USE_OPENGL_ES3
  util/gl: Build libpigitutil_gles3
  util/gl: Add functions piglit_test_{min,max}_int64
  gles-3.0: Add minmax test

 CMakeLists.txt                                     |   7 +-
 cmake/piglit_util.cmake                            |   2 +-
 cmake/target_api/CMakeLists.txt                    |   4 +
 cmake/target_api/gles3/CMakeLists.txt              |   8 +
 src/piglit/gl_wrap.h                               |   3 +
 tests/gles2/gles2_shader_runner.c                  |   2 +-
 tests/glslparsertest/glslparsertest.c              |  10 +-
 tests/spec/CMakeLists.txt                          |   1 +
 .../spec/ext_unpack_subimage/ext_unpack_subimage.c |   2 +-
 tests/spec/gles-3.0/CMakeLists.gles3.txt           |   7 +
 tests/spec/gles-3.0/CMakeLists.txt                 |   1 +
 tests/spec/gles-3.0/minmax.c                       | 118 ++++
 .../oes_compressed_etc1_rgb8_texture-basic.c       |   2 +-
 .../oes_compressed_etc1_rgb8_texture-miptree.c     |   2 +-
 .../oes_compressed_paletted_texture-api.c          |   2 +-
 tests/spec/oes_draw_texture/oes_draw_texture.c     |   2 +-
 tests/util/CMakeLists.gles1.txt                    |   1 +
 tests/util/CMakeLists.gles2.txt                    |   1 +
 tests/util/CMakeLists.gles3.txt                    |  21 +
 tests/util/CMakeLists.txt                          |   1 -
 tests/util/minmax-test.c                           |  36 ++
 tests/util/minmax-test.h                           |   5 +
 tests/util/piglit-framework-gl.h                   |  28 +-
 .../util/piglit-framework-gl/piglit_gl_framework.c |  13 +-
 .../piglit-framework-gl/piglit_wfl_framework.c     |  56 +-
 tests/util/piglit-shader.h                         |   2 +-
 tests/util/piglit-util-gl-common.c                 |   4 +-
 tests/util/piglit-util-gles.c                      |   2 +-
 tests/util/piglit-util-gles3-enum.c                | 706 +++++++++++++++++++++
 29 files changed, 988 insertions(+), 61 deletions(-)
 create mode 100644 cmake/target_api/gles3/CMakeLists.txt
 create mode 100644 tests/spec/gles-3.0/CMakeLists.gles3.txt
 create mode 100644 tests/spec/gles-3.0/CMakeLists.txt
 create mode 100644 tests/spec/gles-3.0/minmax.c
 create mode 100644 tests/util/CMakeLists.gles3.txt
 create mode 100644 tests/util/piglit-util-gles3-enum.c

-- 
1.7.11.7



More information about the Piglit mailing list