[Piglit] [PATCH 0/5] outerProduct tests v4 (this time for sure!)

Ian Romanick idr at freedesktop.org
Tue May 3 11:34:02 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/03/2011 11:29 AM, Ian Romanick wrote:
> This should be the last attempt at more outerProduct tests.
> 
> I decided to add some negative tests that try to call outerProduct
> with invalid parameter types.  In the process, I realized that
> outerProduct could be called with ivec types, and these would be
> converted to vec types.
> 
> Patches 1/5 and 2/5 add support ivec types in shader runner.
> 
> Patch 3/5 adds ivec versions of all the existing non-const vec tests.
> 
> Patch 4/5 is v3 of the const tests.  This includes the stray quotation
> mark fix from v2.  It also adds ivec versions.

It looks like the list ate 3/5 and 4/5.  These are available at:

git://people.freedesktop.org/~idr/piglit.git master

> Patch 5/5 adds the negative compile tests mentioned above.
> 
> Ian Romanick (5):
>       util: Add wrappers for glUniform[234]iv functions
>       shader_runner: Add the ability to specify uniform integer vectors
>       glsl-1.20: Add ivec outerProduct tests
>       glsl-1.20: Add a bunch of outerProduct execution tests for constant data
>       glsl-1.20: Add negative outerProduct function call tests
> 
>  tests/shaders/shader_runner.c                      |   26 +++
>  .../built-in-functions/outerProduct-bool.vert      |   10 +
>  .../built-in-functions/outerProduct-bvec2.vert     |   10 +
>  .../built-in-functions/outerProduct-bvec3.vert     |   10 +
>  .../built-in-functions/outerProduct-bvec4.vert     |   10 +
>  .../built-in-functions/outerProduct-float.vert     |   10 +
>  .../built-in-functions/outerProduct-int.vert       |   10 +
>  .../outerProduct-invalid-parameters.sh             |   24 +++
>  .../built-in-functions/outerProduct-mat2.vert      |   10 +
>  .../built-in-functions/outerProduct-mat2x2.vert    |   10 +
>  .../built-in-functions/outerProduct-mat2x3.vert    |   10 +
>  .../built-in-functions/outerProduct-mat2x4.vert    |   10 +
>  .../built-in-functions/outerProduct-mat3.vert      |   10 +
>  .../built-in-functions/outerProduct-mat3x2.vert    |   10 +
>  .../built-in-functions/outerProduct-mat3x3.vert    |   10 +
>  .../built-in-functions/outerProduct-mat3x4.vert    |   10 +
>  .../built-in-functions/outerProduct-mat4.vert      |   10 +
>  .../built-in-functions/outerProduct-mat4x2.vert    |   10 +
>  .../built-in-functions/outerProduct-mat4x3.vert    |   10 +
>  .../built-in-functions/outerProduct-mat4x4.vert    |   10 +
>  .../fs-outerProduct-const-mat2-ivec.shader_test    |   46 +++++
>  .../fs-outerProduct-const-mat2.shader_test         |   26 +++
>  .../fs-outerProduct-const-mat2x2-ivec.shader_test  |   46 +++++
>  .../fs-outerProduct-const-mat2x2.shader_test       |   26 +++
>  .../fs-outerProduct-const-mat2x3-ivec.shader_test  |   46 +++++
>  .../fs-outerProduct-const-mat2x3.shader_test       |   26 +++
>  .../fs-outerProduct-const-mat2x4-ivec.shader_test  |   46 +++++
>  .../fs-outerProduct-const-mat2x4.shader_test       |   26 +++
>  .../fs-outerProduct-const-mat3-ivec.shader_test    |   46 +++++
>  .../fs-outerProduct-const-mat3.shader_test         |   26 +++
>  .../fs-outerProduct-const-mat3x2-ivec.shader_test  |   46 +++++
>  .../fs-outerProduct-const-mat3x2.shader_test       |   26 +++
>  .../fs-outerProduct-const-mat3x3-ivec.shader_test  |   46 +++++
>  .../fs-outerProduct-const-mat3x3.shader_test       |   26 +++
>  .../fs-outerProduct-const-mat3x4-ivec.shader_test  |   46 +++++
>  .../fs-outerProduct-const-mat3x4.shader_test       |   26 +++
>  .../fs-outerProduct-const-mat4-ivec.shader_test    |   46 +++++
>  .../fs-outerProduct-const-mat4.shader_test         |   26 +++
>  .../fs-outerProduct-const-mat4x2-ivec.shader_test  |   46 +++++
>  .../fs-outerProduct-const-mat4x2.shader_test       |   26 +++
>  .../fs-outerProduct-const-mat4x3-ivec.shader_test  |   46 +++++
>  .../fs-outerProduct-const-mat4x3.shader_test       |   26 +++
>  .../fs-outerProduct-const-mat4x4-ivec.shader_test  |   46 +++++
>  .../fs-outerProduct-const-mat4x4.shader_test       |   26 +++
>  .../fs-outerProduct-mat2-ivec.shader_test          |   66 +++++++
>  .../fs-outerProduct-mat2x2-ivec.shader_test        |   66 +++++++
>  .../fs-outerProduct-mat2x3-ivec.shader_test        |   66 +++++++
>  .../fs-outerProduct-mat2x4-ivec.shader_test        |   66 +++++++
>  .../fs-outerProduct-mat3-ivec.shader_test          |   66 +++++++
>  .../fs-outerProduct-mat3x2-ivec.shader_test        |   66 +++++++
>  .../fs-outerProduct-mat3x3-ivec.shader_test        |   66 +++++++
>  .../fs-outerProduct-mat3x4-ivec.shader_test        |   66 +++++++
>  .../fs-outerProduct-mat4-ivec.shader_test          |   66 +++++++
>  .../fs-outerProduct-mat4x2-ivec.shader_test        |   66 +++++++
>  .../fs-outerProduct-mat4x3-ivec.shader_test        |   66 +++++++
>  .../fs-outerProduct-mat4x4-ivec.shader_test        |   66 +++++++
>  .../spec/glsl-1.20/execution/outerProduct-const.sh |  189 ++++++++++++++++++++
>  tests/spec/glsl-1.20/execution/outerProduct.sh     |  107 +++++++++---
>  .../vs-outerProduct-const-mat2-ivec.shader_test    |   49 +++++
>  .../vs-outerProduct-const-mat2.shader_test         |   29 +++
>  .../vs-outerProduct-const-mat2x2-ivec.shader_test  |   49 +++++
>  .../vs-outerProduct-const-mat2x2.shader_test       |   29 +++
>  .../vs-outerProduct-const-mat2x3-ivec.shader_test  |   49 +++++
>  .../vs-outerProduct-const-mat2x3.shader_test       |   29 +++
>  .../vs-outerProduct-const-mat2x4-ivec.shader_test  |   49 +++++
>  .../vs-outerProduct-const-mat2x4.shader_test       |   29 +++
>  .../vs-outerProduct-const-mat3-ivec.shader_test    |   49 +++++
>  .../vs-outerProduct-const-mat3.shader_test         |   29 +++
>  .../vs-outerProduct-const-mat3x2-ivec.shader_test  |   49 +++++
>  .../vs-outerProduct-const-mat3x2.shader_test       |   29 +++
>  .../vs-outerProduct-const-mat3x3-ivec.shader_test  |   49 +++++
>  .../vs-outerProduct-const-mat3x3.shader_test       |   29 +++
>  .../vs-outerProduct-const-mat3x4-ivec.shader_test  |   49 +++++
>  .../vs-outerProduct-const-mat3x4.shader_test       |   29 +++
>  .../vs-outerProduct-const-mat4-ivec.shader_test    |   49 +++++
>  .../vs-outerProduct-const-mat4.shader_test         |   29 +++
>  .../vs-outerProduct-const-mat4x2-ivec.shader_test  |   49 +++++
>  .../vs-outerProduct-const-mat4x2.shader_test       |   29 +++
>  .../vs-outerProduct-const-mat4x3-ivec.shader_test  |   49 +++++
>  .../vs-outerProduct-const-mat4x3.shader_test       |   29 +++
>  .../vs-outerProduct-const-mat4x4-ivec.shader_test  |   49 +++++
>  .../vs-outerProduct-const-mat4x4.shader_test       |   29 +++
>  .../vs-outerProduct-mat2-ivec.shader_test          |   69 +++++++
>  .../vs-outerProduct-mat2x2-ivec.shader_test        |   69 +++++++
>  .../vs-outerProduct-mat2x3-ivec.shader_test        |   69 +++++++
>  .../vs-outerProduct-mat2x4-ivec.shader_test        |   69 +++++++
>  .../vs-outerProduct-mat3-ivec.shader_test          |   69 +++++++
>  .../vs-outerProduct-mat3x2-ivec.shader_test        |   69 +++++++
>  .../vs-outerProduct-mat3x3-ivec.shader_test        |   69 +++++++
>  .../vs-outerProduct-mat3x4-ivec.shader_test        |   69 +++++++
>  .../vs-outerProduct-mat4-ivec.shader_test          |   69 +++++++
>  .../vs-outerProduct-mat4x2-ivec.shader_test        |   69 +++++++
>  .../vs-outerProduct-mat4x3-ivec.shader_test        |   69 +++++++
>  .../vs-outerProduct-mat4x4-ivec.shader_test        |   69 +++++++
>  tests/util/piglit-shader-gl.c                      |    6 +
>  tests/util/piglit-util.h                           |    6 +
>  96 files changed, 3933 insertions(+), 25 deletions(-)
> 
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk3ASpoACgkQX1gOwKyEAw8T3ACgmusm+dTC0I7cLOgERTrKb6Pe
UCwAnj+k53uz2GN+6P7RUAwSCJLqpQ7s
=i/Qj
-----END PGP SIGNATURE-----


More information about the Piglit mailing list