From: Ian Romanick <[email protected]> minimum-maximums.txt was created by copy-and-pasting directly from section 7.4 followed by 's/ = / /;s/;//'. This is why the names are not listed in alphabetic order.
Signed-off-by: Ian Romanick <[email protected]> --- tests/all.tests | 4 ++++ tests/spec/glsl-3.30/minimum-maximums.txt | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/spec/glsl-3.30/minimum-maximums.txt diff --git a/tests/all.tests b/tests/all.tests index 91cf015..f77c3aa 100644 --- a/tests/all.tests +++ b/tests/all.tests @@ -941,6 +941,10 @@ for draw in ['', 'indexed']: add_concurrent_test(spec['glsl-1.50'], ('arb_geometry_shader4-ignore-adjacent-vertices ' 'core {0} {1}').format(draw, prim)) +spec['glsl-1.50']['built-in constants'] = concurrent_test('built-in-constants tests/spec/glsl-1.50/minimum-maximums.txt') + +spec['glsl-3.30'] = Group() +spec['glsl-3.30']['built-in constants'] = concurrent_test('built-in-constants tests/spec/glsl-3.30/minimum-maximums.txt') # Group spec/glsl-es-3.00 spec['glsl-es-3.00'] = Group() diff --git a/tests/spec/glsl-3.30/minimum-maximums.txt b/tests/spec/glsl-3.30/minimum-maximums.txt new file mode 100644 index 0000000..4923442 --- /dev/null +++ b/tests/spec/glsl-3.30/minimum-maximums.txt @@ -0,0 +1,20 @@ +3.30 +gl_MaxVertexAttribs 16 +gl_MaxVertexUniformComponents 1024 +gl_MaxVaryingFloats 60 +gl_MaxVaryingComponents 60 +gl_MaxVertexOutputComponents 64 +gl_MaxGeometryInputComponents 64 +gl_MaxGeometryOutputComponents 128 +gl_MaxFragmentInputComponents 128 +gl_MaxVertexTextureImageUnits 16 +gl_MaxCombinedTextureImageUnits 48 +gl_MaxTextureImageUnits 16 +gl_MaxFragmentUniformComponents 1024 +gl_MaxDrawBuffers 8 +gl_MaxClipDistances 8 +gl_MaxGeometryTextureImageUnits 16 +gl_MaxGeometryOutputVertices 256 +gl_MaxGeometryTotalOutputComponents 1024 +gl_MaxGeometryUniformComponents 1024 +gl_MaxGeometryVaryingComponents 64 -- 1.8.1.4 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
