[Piglit] [PATCH 2/2] arb_arrays_of_arrays: fix output size

Chris Forbes chrisf at ijw.co.nz
Sun Mar 29 10:12:49 PDT 2015


Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>

On Mon, Mar 30, 2015 at 12:01 AM, Timothy Arceri <t_arceri at yahoo.com.au> wrote:
> 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
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list