[Piglit] waffle 0.3 branch created

2012-07-31 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If you build piglit with waffle, then please begin using waffle's 0.3 branch. That branch has a stable API and receives bug fixes. The master branch currently has an unstable API and Piglit fails to build against it. - -Chad -BEGIN PGP

Re: [Piglit] [PATCH] util: fix MSVC build failure in piglit_ktx.c

2012-07-31 Thread Chad Versace
On 07/31/2012 11:16 AM, Brian Paul wrote: Using void pointers for pointer arithmetic doesn't work. Fixes: tests\util\piglit_ktx.c(333) : error C2036: 'void *' : unknown size Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53013 --- tests/util/piglit_ktx.c |2 +- 1 files changed, 1

Re: [Piglit] [PATCH 2/2] msaa: Check for proper error for operations prohibited on MSAA buffers.

2012-07-31 Thread Anuj Phogat
On Mon, Jul 16, 2012 at 1:33 PM, Paul Berry stereotype...@gmail.com wrote: From the GL 3.0 spec, section 4.3.3, in the documentation for CopyPixels(): An INVALID_OPERATION error will be generated if the object bound to READ_FRAMEBUFFER_BINDING is framebuffer complete and the value

[Piglit] [PATCH] gl-3.1/minmax: Fix what is apparently a typo in the 3.1 and 3.2 specs.

2012-07-31 Thread Eric Anholt
--- tests/spec/gl-3.1/minmax.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/spec/gl-3.1/minmax.c b/tests/spec/gl-3.1/minmax.c index 0f82326..e9b0a68 100644 --- a/tests/spec/gl-3.1/minmax.c +++ b/tests/spec/gl-3.1/minmax.c @@ -118,11 +118,15 @@

[Piglit] [PATCH 1/2] GL_ARB_ubo: Add new test for glDeleteBuffers() behavior.

2012-07-31 Thread Eric Anholt
--- tests/all.tests|1 + .../arb_uniform_buffer_object/CMakeLists.gl.txt|1 + .../spec/arb_uniform_buffer_object/deletebuffers.c | 103 3 files changed, 105 insertions(+) create mode 100644

[Piglit] piglit tests for EGL_KHR_create_context

2012-07-31 Thread Matt Turner
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/pre-3.0 - Verify that invalid render types are rejected -

[Piglit] [PATCH 01/11] Handle OpenGL ES-CM 1.x strings in piglit_get_gl_version

2012-07-31 Thread Matt Turner
Otherwise, piglit would fail to parse the version string and report a failure if glGetString(GL_VERSION) were called in an ES 1.x context. --- tests/util/piglit-util-gl-common.c | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/util/piglit-util-gl-common.c

[Piglit] [PATCH 06/11] egl_khr_create_context: Verify that the attributes list can be empty

2012-07-31 Thread Matt Turner
--- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../egl_khr_create_context/valid-attribute-empty.c | 81 3 files changed, 83 insertions(+), 0 deletions(-) create mode 100644

[Piglit] [PATCH 07/11] egl_khr_create_context: Verify that the attributes list pointer can be NULL

2012-07-31 Thread Matt Turner
--- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../egl_khr_create_context/valid-attribute-null.c | 78 3 files changed, 80 insertions(+), 0 deletions(-) create mode 100644

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

2012-07-31 Thread Matt Turner
--- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../egl_khr_create_context/invalid-gl-version.c| 110 3 files changed, 112 insertions(+), 0 deletions(-) create mode 100644

[Piglit] [PATCH 09/11] egl_khr_create_context: Verify that the invalid attributes are rejected

2012-07-31 Thread Matt Turner
--- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../egl_khr_create_context/invalid-attribute.c | 118 3 files changed, 120 insertions(+), 0 deletions(-) create mode 100644

[Piglit] [PATCH 10/11] egl_khr_create_context: Verify that the invalid flags are rejected

2012-07-31 Thread Matt Turner
--- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../egl/spec/egl_khr_create_context/invalid-flag.c | 83 3 files changed, 85 insertions(+), 0 deletions(-) create mode 100644

[Piglit] [PATCH 11/11] egl_khr_create_context: Verify that the forward-compatible flag can be accepted

2012-07-31 Thread Matt Turner
--- tests/all_egl.tests|1 + .../spec/egl_khr_create_context/CMakeLists.gl.txt |1 + .../valid-flag-forward-compatible.c| 59 3 files changed, 61 insertions(+), 0 deletions(-) create mode 100644

Re: [Piglit] piglit tests for EGL_KHR_create_context

2012-07-31 Thread Matt Turner
On Tue, Jul 31, 2012 at 6:38 PM, Matt Turner matts...@gmail.com wrote: Oh, the series is also available here: http://cgit.freedesktop.org/~mattst88/piglit/log/?h=egl_khr_create_context Another thing: I've used EGL_KHR_surfaceless_* so that the tests don't have to create windows and surfaces.

[Piglit] [PATCH 3/3] msaa: Add test to verify sample-alpha-to-one with dual source blending

2012-07-31 Thread Anuj Phogat
src0_alpha should be modified if sample-alpha-to-one is enabled. Both src0 and src1 colorcan be used to determine blending factors. Note: Test passes on mesa i965 drivers but fails on NVIDIA's proprietary linux drivers. No blending occurs with NVIDIA drivers when sample-alpha-to-one is enabled