Re: [Piglit] [Mesa-dev] [PATCH 0/9] remove mfeatures.h file

2013-02-26 Thread Aaron Watry
On Tue, Feb 26, 2013 at 2:19 PM, Brian Paul wrote: > On 02/26/2013 11:58 AM, Jordan Justen wrote: > >> On Tue, Feb 26, 2013 at 10:16 AM, Brian Paul wrote: >> >>> On 02/26/2013 10:09 AM, Jordan Justen wrote: >>> On Sat, Feb 23, 2013 at 7:29 AM, Brian Paul wrote: > > This

[Piglit] [PATCH 3/3] depthstencil-render-miplevels: Present the results in non-auto mode.

2013-02-26 Thread Eric Anholt
I tried to make the presentation be the data that was originally probed -- there's a second readpixels that's unfortunately, but we do use separate textures so that any workaround relayouts of the probed textures don't get tweaked in the process of displaying. --- tests/texturing/depthstencil-rend

[Piglit] [PATCH 2/3] depthstencil-render-miplevels: Make the stencil value scale like depth.

2013-02-26 Thread Eric Anholt
This will let the presentation of stencil work like presentation of depth. --- tests/texturing/depthstencil-render-miplevels.cpp | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tests/texturing/depthstencil-render-miplevels.cpp b/tests/texturing/depthstencil-re

[Piglit] [PATCH 1/3] depthstencil-render-miplevels: Move the rendering to display() time.

2013-02-26 Thread Eric Anholt
I want to actually present results on the screen so that debugging this test involves less meditation before achieving enlightenment. --- tests/texturing/depthstencil-render-miplevels.cpp | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/tests/texturing/depthstenc

[Piglit] [RFC 3/3] tests/spec: add tests for oes image external

2013-02-26 Thread Topi Pohjolainen
This consists of tests adapted from Khronos conformance suite and Android surface flinger. While the former deals with "getters/setters", enumrations and simple sampling of texture based images, the latter addresses bilinear sampling of non-GPU written subsampled UV-planes and conversion from YUV t

[Piglit] [RFC 2/3] framework: gbm: support for creating external buffers

2013-02-26 Thread Topi Pohjolainen
Getting direct access to the gbm device through the waffle display and creating the buffer is rather straightforward thing to do. Writing to the buffer using CPU, however, requires priviledges for the underlying gem-ioctl. Signed-off-by: Topi Pohjolainen --- .../piglit-framework-gl/piglit_gbm_fr

[Piglit] [RFC 1/3] framework: introduce interface for external buffers

2013-02-26 Thread Topi Pohjolainen
In order to test the OES_EGL_image_external with planar formats such as YUV420 or NV12, one needs a way for creating buffers that can be passed to EGL and filling them with YUV-data for the GL-stack to sample. By the nature the extension in question deals with platform specific buffers and hence th

[Piglit] [RFC] Tests for image external

2013-02-26 Thread Topi Pohjolainen
In addition to the actual tests this series augments the framework to provide platform specific buffers for the tests to consume. The support written for GBM is far from ideal but I could not figure out anything better and hence I'm looking for advise. Topi Pohjolainen (3): framework: introduce

[Piglit] [PATCH V3 8/8] arb_texture_multisample: add new test for errors

2013-02-26 Thread Chris Forbes
Tests that glFramebufferTextureLayer produces the correct error for layer < 0 when used with GL_TEXTURE_2D_MULTISAMPLE_ARRAY. This was overlooked in the initial mesa implementation of ARB_texture_multisample, and crashed deep in the driver instead. V3: - Don't set the window size, we don't care.

[Piglit] [PATCH V3 7/8] arb_texture_multisample: add new targets to texelFetch

2013-02-26 Thread Chris Forbes
Allows verification of texelFetch with all six flavors of MS sampler. - Put lod/sample_index in the fourth channel of the texture, so we can verify that the correct lod/sample was sampled. - For multisample targets, render the test pattern rather than uploading it. GL won't let us do a direc

[Piglit] [PATCH V3 6/8] arb_texture_multisample: add new sampler targets to textureSize

2013-02-26 Thread Chris Forbes
Covers use of the textureSize() glsl builtin with multisample samplers Signed-off-by: Chris Forbes --- tests/all.tests | 6 + tests/texturing/shaders/common.c | 37 +++--- tests/texturing/shaders/textureSize.c | 49 -

[Piglit] [PATCH V3 5/8] arb_texture_multisample: new tests for sample mask

2013-02-26 Thread Chris Forbes
Adds tests for sample mask: - Initial state - Fetching of each sample mask word - Execution test via rendering with various masks to a multisample FBO, then downsampling via glBlitFramebuffer and checking the result. V2: Don't specify window size when we don't care V2: Don't specify window size

[Piglit] [PATCH V3 4/8] arb_texture_multisample: new test for teximage state

2013-02-26 Thread Chris Forbes
This tests that the new teximage state added in ARB_texture_multisample exists and has correct defaults for non-multisample textures: - GL_TEXTURE_SAMPLES = 0 - GL_TEXTURE_FIXED_SAMPLE_LOCATIONS = true V2: Don't specify window size, we don't care. Signed-off-by: Chris Forbes --- tests/

[Piglit] [PATCH V3 3/8] arb_texture_multisample: new test for fb configs

2013-02-26 Thread Chris Forbes
This tests FBO setup with various combinations of multisample textures and `classic` multisample renderbuffers, and for each, checks: - That the renderbuffers or textures can be created - Completeness status If the configuration is expected to work, additionally: - Actual sample count >= requeste

[Piglit] [PATCH V3 2/8] arb_texture_multisample: new minmax test

2013-02-26 Thread Chris Forbes
Verifies new minimum maximums in ARB_texture_multisample: GL_MAX_COLOR_TEXTURE_SAMPLES >= 1 GL_MAX_DEPTH_TEXTURE_SAMPLES >= 1 GL_MAX_INTEGER_SAMPLES >= 1 GL_MAX_SAMPLE_MASK_WORDS >= 1 V2: - Don't specify the window size; we don't render anything so we don't care. - Use piglit_minmax_pas

[Piglit] [PATCH V3 1/8] arb_texture_multisample: add cmake plumbing

2013-02-26 Thread Chris Forbes
Signed-off-by: Chris Forbes --- tests/spec/CMakeLists.txt| 1 + tests/spec/arb_texture_multisample/CMakeLists.gl.txt | 14 ++ tests/spec/arb_texture_multisample/CMakeLists.txt| 1 + 3 files changed, 16 insertions(+) create mode 100644 tests/spec/arb_

[Piglit] [PATCH V3 0/8] Add tests for ARB_texture_multisample

2013-02-26 Thread Chris Forbes
This series adds an initial set of tests for the ARB_texture_multisample extension. I will follow this with more tests to explore some edge cases. Changes from V2: - Leftover window size junk removed - Misc small tidyups -- Chris ___ Piglit mai

Re: [Piglit] [PATCH] fbo-blit: test BlitFramebuffer with GL_TEXTURE_RECTANGLE

2013-02-26 Thread Jose Fonseca
- Original Message - > --- > tests/all.tests |1 + > tests/fbo/fbo-blit.c | 22 +- > 2 files changed, 18 insertions(+), 5 deletions(-) > > diff --git a/tests/all.tests b/tests/all.tests > index 2278026..9595070 100644 > --- a/tests/all.tests > +++ b/tests/

[Piglit] [PATCH] fbo-blit: test BlitFramebuffer with GL_TEXTURE_RECTANGLE

2013-02-26 Thread Marek Olšák
--- tests/all.tests |1 + tests/fbo/fbo-blit.c | 22 +- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/tests/all.tests b/tests/all.tests index 2278026..9595070 100644 --- a/tests/all.tests +++ b/tests/all.tests @@ -1140,6 +1140,7 @@ add_concurrent_te