[Piglit] [v2 PATCH 2/3] arb_internalformat_query2: more than one way to support GEOMETRY_TEXTURE
Marek Olšák
maraeo at gmail.com
Mon Jan 29 22:12:20 UTC 2018
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
On Sat, Jan 27, 2018 at 10:44 AM, Alejandro Piñeiro
<apinheiro at 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
More information about the Piglit
mailing list