[Piglit] [PATCH 2/2] arb_arrays_of_arrays: fix output size
Timothy Arceri
t_arceri at yahoo.com.au
Fri Mar 13 20:45:15 PDT 2015
Fix array sizes so that the arrays are not larger than
the minimum implementation requirement of GL_MAX_VERTEX_ATTRIBS.
Also assign something to the output so that its marked as used.
The minumum for GL_MAX_VERTEX_ATTRIBS is 64.
---
.../spec/arb_arrays_of_arrays/linker/vs-to-fs-interface.shader_test | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/spec/arb_arrays_of_arrays/linker/vs-to-fs-interface.shader_test b/tests/spec/arb_arrays_of_arrays/linker/vs-to-fs-interface.shader_test
index 5cd3be0..ad89177 100644
--- a/tests/spec/arb_arrays_of_arrays/linker/vs-to-fs-interface.shader_test
+++ b/tests/spec/arb_arrays_of_arrays/linker/vs-to-fs-interface.shader_test
@@ -10,10 +10,11 @@ GL_ARB_arrays_of_arrays
out ArraysOfArraysBlock
{
vec4 a;
-} i[4][5];
+} i[2][5];
void main()
{
+ i[1][1].a = vec4(1.0);
gl_Position = vec4(1.0);
}
@@ -23,7 +24,7 @@ void main()
in ArraysOfArraysBlock
{
vec4 a;
-} i[4][5];
+} i[2][5];
void main()
{
--
2.1.0
More information about the Piglit
mailing list