Reviewed-by: Marek Olšák <marek.ol...@amd.com>

Marek

On Sat, Jan 27, 2018 at 10:44 AM, Alejandro Piñeiro
<apinhe...@igalia.com> wrote:
> v2: GL_EXT_geometry_shader should not be checked, as is only for GLES
>     (Ilia Mirkin)
> ---
>  tests/spec/arb_internalformat_query2/common.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/spec/arb_internalformat_query2/common.c 
> b/tests/spec/arb_internalformat_query2/common.c
> index 9fa5fa9d11..60109eaf68 100644
> --- a/tests/spec/arb_internalformat_query2/common.c
> +++ b/tests/spec/arb_internalformat_query2/common.c
> @@ -617,7 +617,8 @@ check_query2_pname_dependencies(const GLenum pname)
>                  break;
>
>          case GL_GEOMETRY_TEXTURE:
> -                if 
> (!piglit_is_extension_supported("GL_ARB_geometry_shader4"))
> +                if 
> (!piglit_is_extension_supported("GL_ARB_geometry_shader4") &&
> +                    !(piglit_get_gl_version() >= 32))
>                          return false;
>                  break;
>
> --
> 2.11.0
>
> _______________________________________________
> Piglit mailing list
> Piglit@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to