[Piglit] [PATCH 0/5] outerProduct tests v4 (this time for sure!)
Ian Romanick
idr at freedesktop.org
Tue May 3 11:29:57 PDT 2011
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.
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(-)
More information about the Piglit
mailing list