Series is: Reviewed-by: Ilia Mirkin <[email protected]>
On Sun, Nov 1, 2015 at 7:02 PM, Timothy Arceri <[email protected]> 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 > [email protected] > http://lists.freedesktop.org/mailman/listinfo/piglit _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
