[Piglit] [PATCH 2/2] arb_shader_subroutine: multiple subroutine qualifiers for a single function

Ilia Mirkin imirkin at alum.mit.edu
Sun Nov 1 16:11:40 PST 2015


Series is:

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

On Sun, Nov 1, 2015 at 7:02 PM, Timothy Arceri
<timothy.arceri at collabora.com> wrote:
> Test results:
> Nvidia GeForce 840M - NVIDIA 352.41: pass
> Mesa - Segfault
> ---
>  .../compiler/multiple-subroutine-qualifiers.vert         | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 tests/spec/arb_shader_subroutine/compiler/multiple-subroutine-qualifiers.vert
>
> diff --git a/tests/spec/arb_shader_subroutine/compiler/multiple-subroutine-qualifiers.vert b/tests/spec/arb_shader_subroutine/compiler/multiple-subroutine-qualifiers.vert
> new file mode 100644
> index 0000000..bf5452b
> --- /dev/null
> +++ b/tests/spec/arb_shader_subroutine/compiler/multiple-subroutine-qualifiers.vert
> @@ -0,0 +1,16 @@
> +// [config]
> +// expect_result: fail
> +// glsl_version: 1.50
> +// require_extensions: GL_ARB_shader_subroutine
> +// [end config]
> +//
> +// Test for compile error when there are multiple subroutine qualifiers for a
> +// single function.
> +
> +#version 150
> +#extension GL_ARB_shader_subroutine: require
> +
> +subroutine void func_type();
> +
> +/* A subroutine matching the above type */
> +subroutine (func_type) subroutine (func_type) void f() {}
> --
> 2.4.3
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list