[Piglit] [PATCH] arb_viewport_array: add GL_ARB_gpu_shader5 requirement for render_viewport_2

Ilia Mirkin imirkin at alum.mit.edu
Wed Jan 13 16:22:30 PST 2016


Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

On Wed, Jan 13, 2016 at 7:21 PM,  <sroland at vmware.com> wrote:
> From: Roland Scheidegger <sroland at vmware.com>
>
> The test cannot work without this (and thus always failed if not present).
> ---
>  tests/spec/arb_viewport_array/render_viewport_2.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/spec/arb_viewport_array/render_viewport_2.c b/tests/spec/arb_viewport_array/render_viewport_2.c
> index 963709b..7e8360f 100644
> --- a/tests/spec/arb_viewport_array/render_viewport_2.c
> +++ b/tests/spec/arb_viewport_array/render_viewport_2.c
> @@ -152,6 +152,7 @@ piglit_init(int argc, char **argv)
>         GLuint program;
>         GLuint vao;
>         piglit_require_extension("GL_ARB_viewport_array");
> +       piglit_require_extension("GL_ARB_gpu_shader5");
>
>         program = piglit_build_simple_program_multiple_shaders(
>                                         GL_VERTEX_SHADER, vsSource,
> --
> 2.1.4
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list