Series is

Reviewed-by: Ilia Mirkin <[email protected]>

[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 <[email protected]> wrote:
> Signed-off-by: Jordan Justen <[email protected]>
> ---
>  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
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/piglit
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to