On 26 October 2011 14:45, Ian Romanick <span dir="ltr"><<a href="mailto:idr@freedesktop.org">idr@freedesktop.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
From: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>><br>
<br>
Function definitions, function declarations (prototypes), structure<br>
definitions, and variable declarations go through slightly different<br>
paths in the compiler. It seems worthwhile to try all four. There is<br>
already a test for array-of-array variable declarations.<br>
<br>
Signed-off-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>><br>
---<br>
...ay-of-array-function-parameter-declaration.vert | 19 +++++++++++++++++<br>
...ray-of-array-function-parameter-definition.vert | 22 ++++++++++++++++++++<br>
.../array-of-array-structure-field.vert | 21 +++++++++++++++++++<br>
3 files changed, 62 insertions(+), 0 deletions(-)<br>
create mode 100644 tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-of-array-function-parameter-declaration.vert<br>
create mode 100644 tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-of-array-function-parameter-definition.vert<br>
create mode 100644 tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-of-array-structure-field.vert<br>
<br></blockquote><div><br>It's probably worth making the corresponding *.frag tests too. In any case, this is<br><br>Reviewed-by: Paul Berry <<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>><br>
</div></div>