[Piglit] [PATCH 2/8] arb_tessellation_shader: Add GLSL minimum-maximums test

Ilia Mirkin imirkin at alum.mit.edu
Mon Jun 2 16:30:08 PDT 2014


On Mon, Jun 2, 2014 at 6:44 PM, Jordan Justen <jordan.l.justen at intel.com> wrote:
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> ---
>  tests/all.py                                            |  4 ++++
>  tests/spec/arb_tessellation_shader/minimum-maximums.txt | 16 ++++++++++++++++
>  2 files changed, 20 insertions(+)
>  create mode 100644 tests/spec/arb_tessellation_shader/minimum-maximums.txt
>
> diff --git a/tests/all.py b/tests/all.py
> index 30e461e..3d76da1 100644
> --- a/tests/all.py
> +++ b/tests/all.py
> @@ -3177,6 +3177,10 @@ import_glsl_parser_tests(spec['ARB_compute_shader'],
>                           ['compiler'])
>  spec['ARB_compute_shader']['built-in constants'] = concurrent_test('built-in-constants tests/spec/arb_compute_shader/minimum-maximums.txt')
>
> +arb_tessellation_shader = {}
> +spec['ARB_tessellation_shader'] = arb_tessellation_shader
> +spec['ARB_tessellation_shader']['built-in constants'] = concurrent_test('built-in-constants tests/spec/arb_tessellation_shader/minimum-maximums.txt')

I believe the idea is that you use arb_tessellation_shader to add
stuff rather than spec[...] -- otherwise what's the point of creating
the separate variable? [I see ARB_cs has the same confusion above...]

> +
>  # group glslparsertest ------------------------------------------------------
>  glslparsertest = {}
>  # Add all shader source files in the directories below.
> diff --git a/tests/spec/arb_tessellation_shader/minimum-maximums.txt b/tests/spec/arb_tessellation_shader/minimum-maximums.txt
> new file mode 100644
> index 0000000..6e92a4d
> --- /dev/null
> +++ b/tests/spec/arb_tessellation_shader/minimum-maximums.txt
> @@ -0,0 +1,16 @@
> +3.30
> +GL_TESS_CONTROL_SHADER
> +GL_ARB_tessellation_shader
> +gl_MaxTessControlInputComponents 128
> +gl_MaxTessControlOutputComponents 128
> +gl_MaxTessControlTextureImageUnits 16
> +gl_MaxTessControlUniformComponents 1024
> +gl_MaxTessControlTotalOutputComponents 4096
> +gl_MaxTessEvaluationInputComponents 128
> +gl_MaxTessEvaluationOutputComponents 128
> +gl_MaxTessEvaluationTextureImageUnits 16
> +gl_MaxTessEvaluationUniformComponents 1024
> +gl_MaxTessPatchComponents 120
> +gl_MaxPatchVertices 32
> +gl_MaxTessGenLevel 64
> +gl_MaxCombinedTextureImageUnits 80
> --
> 2.0.0.rc4
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list