[Piglit] [PATCH] gles-3.0: Add minmax test (v2)

Tom Gall tom.gall at linaro.org
Wed Nov 28 14:59:36 PST 2012


On Wed, Nov 28, 2012 at 4:10 PM, Chad Versace
<chad.versace at linux.intel.com>wrote:

> This is the first GLES3 test.
>
> Tested against Mesa, branch gles3, commit 5612c08 "egl/dri2: Add plumbing
> for EGL_OPENGL_ES3_BIT_KHR", with Intel Sandybridge.  All testcases pass
> except:
>
>   token                         min          actual
>   GL_MAX_ELEMENT_INDEX          16777215     16384
>   GL_MAX_TEXTURE_LOD_BIAS              2.0  -9999.0
>   GL_MAX_SERVER_WAIT_TIMEOUT           0       -1
>   GL_MIN_PROGRAM_TEXEL_OFFSET         -8     9999
>
> Currently, all.tests contains the GL tests, all_es1.tests contains the
> GLES1 tests, and all_es2.tests contains the GLES2 tests. This is the first
> GLES3 test, so I added the file all_es3.tests. We should really clean that
> up and put all tests in all.tests.
>
> v2: Add tests for the following, for Anholt,
>   GL_MIN_VIEWPORT_DIMENSIONS
>   GL_NUM_*_BINARY_FORMATS
>   GL_MAX_SERVER_WAIT_TIMEOUT
>
> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
> CC: Eric Anholt <eric at anholt.net>
> ---
>  tests/all_es3.tests                      |  16 ++++
>  tests/spec/CMakeLists.txt                |   1 +
>  tests/spec/gles-3.0/CMakeLists.gles3.txt |   7 ++
>  tests/spec/gles-3.0/CMakeLists.txt       |   1 +
>  tests/spec/gles-3.0/minmax.c             | 122
> +++++++++++++++++++++++++++++++
>  5 files changed, 147 insertions(+)
>  create mode 100644 tests/all_es3.tests
>  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
>


Should this belong in tests/spec/gles-3.0?

We have tests/gles2 for instance yet no tests/spec/gles-2.0.

Perhaps the tests/gles2 directory should find it's way into tests/spec.

 <snip>


-- 
Regards,
Tom

"Where's the kaboom!? There was supposed to be an earth-shattering kaboom!"
Marvin Martian
Graphics Working Group | Linaro.org │ Open source software for ARM SoCs
w) tom.gall att linaro.org
h) tom_gall att mac.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20121128/afab0062/attachment.html>


More information about the Piglit mailing list