[Piglit] [PATCH] multi-draw-elements-base-vertex: Require GLSL 1.30.
Brian Paul
brian.e.paul at gmail.com
Tue Nov 12 07:21:05 PST 2013
On Mon, Nov 11, 2013 at 5:16 PM, Vinson Lee <vlee at freedesktop.org> wrote:
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
> .../arb_draw_elements_base_vertex/multi-draw-elements-base-vertex.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/spec/arb_draw_elements_base_vertex/multi-draw-elements-base-vertex.c b/tests/spec/arb_draw_elements_base_vertex/multi-draw-elements-base-vertex.c
> index 8fdd666..0314ee2 100644
> --- a/tests/spec/arb_draw_elements_base_vertex/multi-draw-elements-base-vertex.c
> +++ b/tests/spec/arb_draw_elements_base_vertex/multi-draw-elements-base-vertex.c
> @@ -120,6 +120,8 @@ piglit_init(int argc, char **argv)
> GLuint program;
> GLuint vertex_index;
>
> + piglit_require_GLSL_version(130);
> +
> if (piglit_get_gl_version() < 32) {
> piglit_require_extension("GL_ARB_draw_elements_base_vertex");
> }
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the Piglit
mailing list