From f6bc9a9b3e11dda7f2629317adef8d6fc90bc7e4 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 12 Feb 2015 19:19:21 +0000 Subject: [PATCH 2/2] 108 max varyings --- tests/spec/glsl-1.10/execution/varying-packing/simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/glsl-1.10/execution/varying-packing/simple.c b/tests/spec/glsl-1.10/execution/varying-packing/simple.c index ae9ee3f..4aed203 100644 --- a/tests/spec/glsl-1.10/execution/varying-packing/simple.c +++ b/tests/spec/glsl-1.10/execution/varying-packing/simple.c @@ -242,7 +242,7 @@ get_shader(bool is_vs, unsigned glsl_version, int num_varyings, text += sprintf(text, " gl_Position = gl_Vertex;\n"); else text += sprintf(text, " bool failed = false;\n"); - for (i = 0; i < num_varyings; ++i) { + for (i = 0; i < 108; ++i) { unsigned array_loop_bound = varyings[i].array_elems; const char *base_type_name = get_base_type_name(varyings[i].type->base); -- 2.0.5