Re: [Piglit] [PATCH v2] dmabuf: fix YUV tests for drivers other than intel

2016-09-12 Thread Kristian Høgsberg
GR88, which is on mesa master as of > this morning. (So I bumped the gbm version dependency to 12.1.) > > Signed-off-by: Rob Clark <robdcl...@gmail.com> > Few nitpicks below, but looks good: Reviewed-by: Kristian Høgsberg <k...@bitplanet.net> > --- >

Re: [Piglit] [RFC] Trying to fix dmabuf/yuv tests

2016-09-06 Thread Kristian Høgsberg
On Tue, Sep 6, 2016 at 1:32 PM, Rob Clark wrote: > On Tue, Sep 6, 2016 at 4:23 PM, Rob Clark wrote: @@ -212,28 +247,65 @@ piglit_gbm_buf_create(unsigned w, unsigned h, unsigned cpp, void *dst_data; void *map_data =

[Piglit] [PATCH 1/2] util: Observe piglit_tolerance in piglit_probe_image_ubyte()

2016-05-25 Thread Kristian Høgsberg
From: Kristian Høgsberg Kristensen <kristian.h.kristen...@intel.com> --- tests/util/piglit-util-gl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/util/piglit-util-gl.c b/tests/util/piglit-util-gl.c index a96ab27..727a901 100644 --- a/tests/util/piglit-uti

[Piglit] [PATCH] Add more ARB_cull_distance tests

2016-05-13 Thread Kristian Høgsberg
From: Kristian Høgsberg Kristensen <kristian.h.kristen...@intel.com> This adds a handful simpler tests for ARB_cull_distance. Instead of the uncessarily complicated math in the old tests, we just set the distances based on gl_VertexID. That way we can reliably select which triangles t

[Piglit] [PATCH 2/2] Use DRM_FORMAT_RGB332 for dma-buf import failure test

2016-05-11 Thread Kristian Høgsberg
From: Kristian Høgsberg Kristensen <kristian.h.kristen...@intel.com> DRM_FORMAT_YUYV now succeeds. --- tests/spec/ext_image_dma_buf_import/intel_unsupported_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/ext_image_dma_buf_import/intel_unsupported_fo

[Piglit] [PATCH 1/2] Add tests for YUV EGLImages with samplerExternalOES

2016-05-11 Thread Kristian Høgsberg
From: Kristian Høgsberg Kristensen <kristian.h.kristen...@intel.com> --- tests/all.py | 6 + .../ext_image_dma_buf_import/CMakeLists.gles2.txt | 1 + .../spec/ext_image_dma_buf_import/sample_common.c | 67 - tests/spec/ext_image_dma_buf_

Re: [Piglit] [PATCH] Add tests for GL_ARB_shader_draw_parameters

2015-12-16 Thread Kristian Høgsberg
On Wed, Dec 16, 2015 at 10:18 AM, Kristian Høgsberg <hoegsb...@gmail.com> wrote: > From: Kristian Høgsberg Kristensen <kristian.h.kristen...@intel.com> Oops, disregard this one, sent it from the wrong repo. Kristian > --- > tests/spec/CMakeLists.txt

[Piglit] [PATCH] Add tests for GL_ARB_shader_draw_parameters

2015-12-16 Thread Kristian Høgsberg
From: Kristian Høgsberg Kristensen <kristian.h.kristen...@intel.com> --- tests/all.py | 15 ++ tests/spec/CMakeLists.txt | 1 + .../arb_shader_draw_parameters/CMakeLists.gl.txt | 14 ++ .../spec/arb_shader_draw_para

[Piglit] [PATCH] Add tests for GL_ARB_shader_draw_parameters

2015-12-16 Thread Kristian Høgsberg
From: Kristian Høgsberg Kristensen <kristian.h.kristen...@intel.com> --- tests/spec/CMakeLists.txt | 1 + .../arb_shader_draw_parameters/CMakeLists.gl.txt | 15 ++ .../spec/arb_shader_draw_parameters/CMakeLists.txt | 1 + .../spec/arb_shader_draw_para

[Piglit] [PATCH] Add tests for GL_ARB_shader_draw_parameters

2015-12-16 Thread Kristian Høgsberg
From: Kristian Høgsberg Kristensen <kristian.h.kristen...@intel.com> --- v2: Fix copy-paste error in drawid-indirect-vertexid case. tests/all.py | 15 ++ tests/spec/CMakeLists.txt | 1 + .../arb_shader_draw_para

Re: [Piglit] [PATCH] arb_uniform_buffer_object: fix UNIFORM_BUFFER_START and UNIFORM_BUFFER_SIZE queries when no buffer object is bound

2015-09-15 Thread Kristian Høgsberg
seems to have changed in v64 of the spec: (v64, 2011-01-27, jon) - Change return value for start/size queries when no buffer bound from -1 to zero, to match state tables (Bug 7318). Section 6.7.1 of the GL4.0 spec also confirms this. Reviewed-by: Kristia

Re: [Piglit] [PATCH] arb_shader_storage_buffer_object: Test std430 packing of vec2/vec3 array data

2015-09-15 Thread Kristian Høgsberg
On Tue, Sep 15, 2015 at 11:48 AM, Jordan Justen <jordan.l.jus...@intel.com> wrote: > Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com> > Cc: Samuel Iglesias Gonsálvez <sigles...@igalia.com> Reviewed-by: Kristian Høgsberg <k...@bitplanet.net> > --- &g

Re: [Piglit] [PATCH] egl-util: remove GL include

2014-08-18 Thread Kristian Høgsberg
On Sun, Aug 17, 2014 at 5:32 PM, Daniel Kurtz djku...@chromium.org wrote: On Aug 18, 2014 3:49 AM, Kristian Høgsberg k...@bitplanet.net wrote: On Sun, Aug 17, 2014 at 7:19 AM, Ken Phillis Jr kphilli...@gmail.com wrote: This patch looks good to me. On Aug 17, 2014 7:39 AM, Daniel Kurtz

Re: [Piglit] [PATCH] egl-util: remove GL include

2014-08-17 Thread Kristian Høgsberg
On Sun, Aug 17, 2014 at 7:19 AM, Ken Phillis Jr kphilli...@gmail.com wrote: This patch looks good to me. On Aug 17, 2014 7:39 AM, Daniel Kurtz djku...@chromium.org wrote: EGL util should not in any way depend on the headers of a particular client library. In fact, this breaks compilation

Re: [Piglit] [PATCH] gbm: use libcaca to display results in non-auto mode

2014-02-07 Thread Kristian Høgsberg
On Fri, Feb 7, 2014 at 4:38 PM, Kenneth Graunke kenn...@whitecape.org wrote: On 02/07/2014 11:04 AM, Jordan Justen wrote: If GBM is enabled, attempt to locate libcaca too. If the test was not run with -auto, then use libcaca to draw a text version of the test's results to the console.