[Piglit] [PATCH] arb_gpu_shader_fp64: simple double varyings test on GL4.4

2016-05-25 Thread Timothy Arceri
--- .../execution/vs-fs-packing-gl4.4.shader_test | 76 ++ 1 file changed, 76 insertions(+) create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/vs-fs-packing-gl4.4.shader_test diff --git a/tests/spec/arb_gpu_shader_fp64/execution/vs-fs-packing-gl4.4.shader_test

[Piglit] [PATCH 3/3] arb_program_interface_query: Fix TCS input expectations

2016-05-25 Thread Ian Romanick
From: Ian Romanick Section 7.1 (Built-In Language Variables) of the GLSL 4.00 spec says: In the tessellation control language, built-in variables are intrinsically declared as: in gl_PerVertex { vec4 gl_Position; float gl_PointSize; float gl_ClipDistance[]; } gl_in

[Piglit] [PATCH 0/3] Fix some program input / output issues with ARB_piq

2016-05-25 Thread Ian Romanick
After spending about a week with dEQP, GL_OES_shader_io_blocks, and GL_OES_geometry_shader, I believe there are some errors with the expectations of our existing ARB_piq tests. I have included spec justifications for the changes, and the changes match tests that I have seen in dEQP. I would reall

[Piglit] [PATCH 1/3] arb_program_interface_query: Expect certain built-ins be prefixed with gl_PerVertex

2016-05-25 Thread Ian Romanick
From: Ian Romanick The ARB_program_interface_query spec says: Issues: (16) How are inputs and outputs in the built-in interface block "gl_PerVertex" enumerated? ... For tessellation control, tessellation evaluation, and geometry shaders, per-vertex built-in inp

[Piglit] [PATCH 2/3] arb_program_interface_query: Expect array suffixes on array inputs / outputs

2016-05-25 Thread Ian Romanick
From: Ian Romanick The ARB_program_interface_query spec says: * For an active variable declared as an array of basic types, a single entry will be generated, with its name string formed by concatenating the name of the array and the string "[0]". I can find no language that implies

[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 --- 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-util-gl.c +++ b/tests/util/piglit-util-gl.c @@

[Piglit] [PATCH 2/2] ext_image_dma_buf_import: Set tolerance to 565

2016-05-25 Thread Kristian Høgsberg
From: Kristian Høgsberg Kristensen We need to lower the tolerance for when we're running on a 565 render target (like gbm does). Signed-off-by: Kristian Høgsberg Kristensen --- tests/spec/ext_image_dma_buf_import/sample_yuv.c | 5 + 1 file changed, 5 insertions(+) diff --git a/tests/spec/

[Piglit] [PATCH 1/1] cl: declare enum counts as extern

2016-05-25 Thread Jan Vesely
The correct symbols are in libpiglitutil_cl.so Reported-by: Jose Luis Cercós Signed-off-by: Jan Vesely --- tests/util/piglit-util-cl-enum.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/util/piglit-util-cl-enum.h b/tests/util/piglit-util-cl-enum.h index e08d3

Re: [Piglit] PIGLIT_CL_ENUM_NUM(cl_device_type, env->version) return zero

2016-05-25 Thread Jose Luis Cercós
It worked! gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) 2016-05-25 19:08 GMT+02:00 Jan Vesely : > Hi, > > does the attached patch fix your problem? > what compiler are you using? > > regards, > Jan > > On Wed, 2016-05-25 at 17:59 +0200, Jose Luis Cercós wrote: > > Hi community! > > > > I

Re: [Piglit] PIGLIT_CL_ENUM_NUM(cl_device_type, env->version) return zero

2016-05-25 Thread Jan Vesely
Hi, does the attached patch fix your problem? what compiler are you using? regards, Jan On Wed, 2016-05-25 at 17:59 +0200, Jose Luis Cercós wrote: > Hi community! > > I have a some kind of strange error. When I execute the test > tests/cl/api/get-device-ids.c, num_device_types is always zero >

[Piglit] PIGLIT_CL_ENUM_NUM(cl_device_type, env->version) return zero

2016-05-25 Thread Jose Luis Cercós
Hi community! I have a some kind of strange error. When I execute the test tests/cl/api/get-device-ids.c, num_device_types is always zero (please, not that such variable should not depend on the hardware/drivers). To check what is going on, I'm printing some variables: env->version = 12 piglit_c

Re: [Piglit] [PATCH 0/4] Additional tests for ARB_vertex_attrib_64bit extension

2016-05-25 Thread Andres Gomez
Hi, this series have yet only received an "Ack-b" (thanks, Dave and Alejandro) so it would be great if some more eyes could take a look and, maybe, provide a "r-b". If there is nothing new by the end of this week, we will assume that all is OK and will proceed to land the series. On Wed, 2016-0