diff options
author | Timothy Arceri <t_arceri@yahoo.com.au> | 2015-03-13 23:33:30 +1100 |
---|---|---|
committer | Timothy Arceri <t_arceri@yahoo.com.au> | 2015-03-30 17:57:43 +1100 |
commit | 8cca208a970970f7b1f362fbee2c53f9fd2c8e33 (patch) | |
tree | 2244614d201facdc75630f8cf4815b4123ad4f03 | |
parent | db4d4a049aa2ab32581686e7d678e2f46f2ca23c (diff) |
arb_arrays_of_arrays: fix output size
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.
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
-rw-r--r-- | tests/spec/arb_arrays_of_arrays/linker/vs-to-fs-interface.shader_test | 5 |
1 files 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 5cd3be069..ad8917779 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() { |