[Piglit] X.Org Book Sprint 2012 (guide to writing graphics drivers)

2012-08-16 Thread Matt Dew
(Cross post. Yes, I know this is short notice and a short window to reply. My apologies on that.) X.Org Book Sprint 2012 Monday Sept 17 & Tuesday Sept 18. Nürnberg (Nuremberg), Germany. The X.Org Consortium will hold a book sprint on the Monday and Tuesday before the Developers Conference

[Piglit] [PATCH] Allow testing of compressed texture formats with 1D textures

2012-08-16 Thread Anuj Phogat
OpenGL specification requires generic compressed texture formats to be supported for 1D, 1D_ARRAY and TEXTURE_RECTANGLE targets. Brian, after applying this patch I executed test case on NVIDIA drivers. It fails for all texture formats with 1D textures. But test passes on i965 driver for cases invo

Re: [Piglit] piglit tests for EGL_KHR_create_context

2012-08-16 Thread Matt Turner
On Tue, Jul 31, 2012 at 6:38 PM, Matt Turner wrote: > > This series adds nine tests for EGL_KHR_create_context. It's based on > the GLX_ARB_create_context tests but with some differences. > > These GLX_ARB_create_context tests aren't applicable: > - Verify rejection of forward-compatible flag w/p

[Piglit] [PATCH 17/17] egl_khr_create_context: Verify default minor version is 0 for Desktop GL

2012-08-16 Thread Matt Turner
--- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../default-minor-version-gl.c | 95 3 files changed, 97 insertions(+), 0 deletions(-) create mode 100644 tests/egl/spec/egl_kh

[Piglit] [PATCH 16/17] egl_khr_create_context: Verify default major version is 1 for Desktop GL

2012-08-16 Thread Matt Turner
--- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../default-major-version-gl.c | 96 3 files changed, 98 insertions(+), 0 deletions(-) create mode 100644 tests/egl/spec/egl_kh

[Piglit] [PATCH 15/17] egl_khr_create_context: Verify that the invalid attributes are rejected for GLES

2012-08-16 Thread Matt Turner
--- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../invalid-attribute-gles.c | 109 3 files changed, 111 insertions(+), 0 deletions(-) create mode 100644 tests/egl/spec/egl_k

[Piglit] [PATCH 14/17] egl_khr_create_context: Verify that the invalid flags are rejected for GLES

2012-08-16 Thread Matt Turner
--- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../egl_khr_create_context/invalid-flag-gles.c | 100 3 files changed, 102 insertions(+), 0 deletions(-) create mode 100644 tests/egl/spec/egl_kh

[Piglit] [PATCH 13/17] egl_khr_create_context: Verify that the attributes list pointer can be NULL for Desktop GL

2012-08-16 Thread Matt Turner
--- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../valid-attribute-null-gl.c | 85 3 files changed, 87 insertions(+), 0 deletions(-) create mode 100644 tests/egl/spec/egl_kh

[Piglit] [PATCH 12/17] egl_khr_create_context: Verify that the attributes list can be empty for Desktop GL

2012-08-16 Thread Matt Turner
--- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../valid-attribute-empty-gl.c | 88 3 files changed, 90 insertions(+), 0 deletions(-) create mode 100644 tests/egl/spec/egl_kh

[Piglit] [PATCH v2 11/17] egl_khr_create_context: Verify that the forward-compatible flag can be accepted for Desktop GL

2012-08-16 Thread Matt Turner
v2: - Ask for EGL_OPENGL_BIT and skip if not available. - Only check EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR if GL 3.2+ --- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../valid-flag-forward-compatible-gl

[Piglit] [PATCH v2 10/17] egl_khr_create_context: Verify that the invalid flags are rejected for Desktop GL

2012-08-16 Thread Matt Turner
v2: - Correct value of first_valid_flag. - Ask for EGL_OPENGL_API and skip if not available. --- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../spec/egl_khr_create_context/invalid-flag-gl.c | 93 +

[Piglit] [PATCH v2 09/17] egl_khr_create_context: Verify that the invalid attributes are rejected for Desktop GL

2012-08-16 Thread Matt Turner
v2: - Update typo'd (in the spec) EGL_CONTEXT_OPENGL_* names. - Ask for EGL_OPENGL_BIT and skip if not available. - Call eglBindAPI(EGL_OPENGL_API) after _setup. - Fix gl_version condition (from '< 32' to '>= 32'). --- tests/all_egl.tests|1 + .../sp

[Piglit] [PATCH v2 08/17] egl_khr_create_context: Verify that the invalid GL versions are rejected

2012-08-16 Thread Matt Turner
v2: - Do "pass = pass && ...;" instead of "pass = ... && pass;". - Pass EGL_OPENGL_*BIT to _setup() and check versions for the specific rendering API. --- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../egl_khr

[Piglit] [PATCH v2 07/17] egl_khr_create_context: Verify that the attributes list pointer can be NULL for GLES

2012-08-16 Thread Matt Turner
v2: - Ask for EGL_OPENGL_ES_BIT renderable type since the defaults for major/minor are 1.0, so we can't get an ES2 context with a null attributes list. If ES 1 isn't available, skip. --- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeL

[Piglit] [PATCH v2 06/17] egl_khr_create_context: Verify that the attributes list can be empty for GLES

2012-08-16 Thread Matt Turner
v2: - Ask for EGL_OPENGL_ES_BIT renderable type since the defaults for major/minor are 1.0, so we can't get an ES2 context with an empty attributes list. If ES 1 isn't available, skip. --- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMak

[Piglit] [PATCH v2 05/17] egl_khr_create_context: Verify default minor version is 0 for GLES

2012-08-16 Thread Matt Turner
v2: - Try for EGL_OPENGL_ES_BIT renderable type, and if it fails try EGL_OPENGL_ES2_BIT renderable type. --- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../default-minor-version-gles.c | 92 +++

[Piglit] [PATCH v2 04/17] egl_khr_create_context: Verify default major version is 1 for GLES

2012-08-16 Thread Matt Turner
v2: - Ask for minor version 0 and expect to get a 1.0 or 1.1 context. - Ask for EGL_OPENGL_ES_BIT renderable type, and skip the test if ES 1 isn't available. --- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |2 + .../

[Piglit] [PATCH v2 03/17] egl_khr_create_context: Add common test infrastructure

2012-08-16 Thread Matt Turner
v2: - Require EGL_KHR_surfaceless_context instead of other surfaceless extensions. - Fix for-loop typo. - Make EGL_KHR_create_context_setup take a renderable_type_mask argument. - Make EGL_KHR_create_context_setup return whether it succeeded. - PIGLIT_SKIP if eglChooseConfig f

Re: [Piglit] [PATCH 1/3] msaa: Make changes in shared code to accomodate dual-src-blending test cases

2012-08-16 Thread Paul Berry
On 15 August 2012 19:17, Anuj Phogat wrote: > These changes are required to enable dual-src-blending test cases to use > the > shared code: > Generate fragment shader which outputs relevant color values. > Modify compute_expected_color() function to support dual-src-blending. > > V2: Removed unne