[Piglit] [PATCH v2 1/2] shader_runner: Allow compute shaders in OpenGLES 3.1
Ilia Mirkin
imirkin at alum.mit.edu
Thu Nov 5 12:04:09 PST 2015
Series is
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
[Note, there's no GL_ARB_compute_shader for ES3, but there's no way to
get compute pre-ES 3.1, so it'll cause a skip to happen which is all
just fine.]
On Thu, Nov 5, 2015 at 3:00 PM, Jordan Justen <jordan.l.justen at intel.com> wrote:
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> ---
> tests/shaders/shader_runner.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
> index a967e52..59a76fa 100644
> --- a/tests/shaders/shader_runner.c
> +++ b/tests/shaders/shader_runner.c
> @@ -365,7 +365,7 @@ compile_glsl(GLenum target)
> piglit_require_extension("GL_ARB_geometry_shader4");
> break;
> case GL_COMPUTE_SHADER:
> - if (gl_version.num < 43)
> + if (gl_version.num < (gl_version.es ? 31 : 43))
> piglit_require_extension("GL_ARB_compute_shader");
> break;
> }
> --
> 2.6.2
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
More information about the Piglit
mailing list