Re: [Piglit] [PATCH v2] util: provide way to read a texture in ES compatible way

2018-05-21 Thread Brian Paul
On 05/21/2018 05:53 AM, Tapani Pälli wrote: Implementation supports GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY and affects following functions: - piglit_probe_texel_rect_rgba - piglit_probe_texel_volume_rgba v2: use read_texture only on GL ES fix indentation issues Signed-off-by: Tapani

Re: [Piglit] [PATCH v2] util: provide way to read a texture in ES compatible way

2018-05-21 Thread Tapani Pälli
On 21.05.2018 18:01, Brian Paul wrote: On 05/21/2018 05:53 AM, Tapani Pälli wrote: Implementation supports GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY and affects following functions:     - piglit_probe_texel_rect_rgba     - piglit_probe_texel_volume_rgba v2: use read_texture only on GL ES fix

[Piglit] [PATCH v2] util: provide way to read a texture in ES compatible way

2018-05-21 Thread Tapani Pälli
Implementation supports GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY and affects following functions: - piglit_probe_texel_rect_rgba - piglit_probe_texel_volume_rgba v2: use read_texture only on GL ES fix indentation issues Signed-off-by: Tapani Pälli ---

Re: [Piglit] [PATCH] cmake: Bump minimum version to 3.2.

2018-05-21 Thread Dylan Baker
Quoting Vinson Lee (2018-05-17 13:28:26) > This build error occurs with cmake 2.8.12. > /bin/sh: BYPRODUCTS: command not found > > BYPRODUCTS is not available until cmake 3.2. > https://cmake.org/cmake/help/v3.2/release/3.2.html > > Fixes: 2f02cf0d4c2d ("Generate xml for builtin profiles") >

[Piglit] [PATCH] gl-3.2-compat: test gl_TexCoord[] built-in with geometry shaders

2018-05-21 Thread Timothy Arceri
--- .../texcoord-array-2.shader_test | 65 ++ .../compatibility/texcoord-array.shader_test | 66 +++ 2 files changed, 131 insertions(+) create mode 100644 tests/spec/glsl-1.50/execution/compatibility/texcoord-array-2.shader_test create mode 100644

[Piglit] [PATCH v2] gl-3.2-compat: test gl_TexCoord[] built-in with geometry shaders

2018-05-21 Thread Timothy Arceri
This tests both setting gl_TexCoord[] in the geometry shader and using the gs to passthrough the gl_TexCoord[] values from the vertex shader. --- .../gs-texcoord-array-2.shader_test | 57 .../gs-texcoord-array.shader_test | 51 ++

[Piglit] [PATCH] gl-3.2-compat: test gl_ClipVertex built-in with geometry shaders

2018-05-21 Thread Timothy Arceri
These tests have been adapted from the glsl-1.20 clipping tests. This tests both setting gl_ClipVertex in the geometry shader and using the gs to passthrough the gl_ClipVertex value from the vertex shader. I tested these on NVIDIA 384.111 binary driver but some of these get a cryptic error

[Piglit] [PATCH] gl-3.2-compat: test gl_*Color built-ins with geometry shaders

2018-05-21 Thread Timothy Arceri
This updates the existing vertex shader test and makes it more flexable. --- tests/spec/gl-2.0/vertex-program-two-side.c | 195 +++- 1 file changed, 145 insertions(+), 50 deletions(-) diff --git a/tests/spec/gl-2.0/vertex-program-two-side.c