[Piglit] [PATCH 5/8] arb_tessellation_shader: Add nop compiler tests

Ilia Mirkin imirkin at alum.mit.edu
Mon Jun 2 16:26:19 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                                          |  3 +++
>  tests/spec/arb_tessellation_shader/compiler/nop.tessc | 14 ++++++++++++++
>  tests/spec/arb_tessellation_shader/compiler/nop.tesse | 12 ++++++++++++
>  3 files changed, 29 insertions(+)
>  create mode 100644 tests/spec/arb_tessellation_shader/compiler/nop.tessc
>  create mode 100644 tests/spec/arb_tessellation_shader/compiler/nop.tesse
>
> diff --git a/tests/all.py b/tests/all.py
> index 4972998..87d773c 100644
> --- a/tests/all.py
> +++ b/tests/all.py
> @@ -3180,6 +3180,9 @@ spec['ARB_compute_shader']['built-in constants'] = concurrent_test('built-in-con
>  arb_tessellation_shader = {}
>  spec['ARB_tessellation_shader'] = arb_tessellation_shader
>  arb_tessellation_shader['minmax'] = concurrent_test('arb_tessellation_shader-minmax')
> +import_glsl_parser_tests(spec['ARB_tessellation_shader'],
> +                         os.path.join(testsDir, 'spec', 'arb_tessellation_shader'),
> +                         ['compiler'])
>  spec['ARB_tessellation_shader']['built-in constants'] = concurrent_test('built-in-constants tests/spec/arb_tessellation_shader/minimum-maximums.txt')
>
>  # group glslparsertest ------------------------------------------------------
> diff --git a/tests/spec/arb_tessellation_shader/compiler/nop.tessc b/tests/spec/arb_tessellation_shader/compiler/nop.tessc
> new file mode 100644
> index 0000000..a1c308d
> --- /dev/null
> +++ b/tests/spec/arb_tessellation_shader/compiler/nop.tessc
> @@ -0,0 +1,14 @@
> +// [config]
> +// expect_result: pass
> +// glsl_version: 3.20
> +// require_extensions: GL_ARB_tessellation_shader
> +// [end config]
> +
> +#version 330
> +#extension GL_ARB_compute_shader: enable

Should this be ARB_tess? (Or perhaps explain to the less-than-informed
like me why you require compute shader...)

> +
> +layout(vertices = 1) out;
> +
> +void main()
> +{
> +}
> diff --git a/tests/spec/arb_tessellation_shader/compiler/nop.tesse b/tests/spec/arb_tessellation_shader/compiler/nop.tesse
> new file mode 100644
> index 0000000..68fffa3
> --- /dev/null
> +++ b/tests/spec/arb_tessellation_shader/compiler/nop.tesse
> @@ -0,0 +1,12 @@
> +// [config]
> +// expect_result: pass
> +// glsl_version: 3.20
> +// require_extensions: GL_ARB_tessellation_shader
> +// [end config]
> +
> +#version 330
> +#extension GL_ARB_compute_shader: enable
> +
> +void main()
> +{
> +}
> --
> 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