[Piglit] [PATCH 01/23] arb_shading_language_420pack: Test that aggregates can not be used after initialization

Anuj Phogat anuj.phogat at gmail.com
Wed Jul 3 13:57:01 PDT 2013


On Sat, Jun 29, 2013 at 8:42 PM, Matt Turner <mattst88 at gmail.com> wrote:
> ---
>  .../compiler/illegal-aggregate-noninitializer-vec.frag   | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 tests/spec/arb_shading_language_420pack/compiler/illegal-aggregate-noninitializer-vec.frag
>
> diff --git a/tests/spec/arb_shading_language_420pack/compiler/illegal-aggregate-noninitializer-vec.frag b/tests/spec/arb_shading_language_420pack/compiler/illegal-aggregate-noninitializer-vec.frag
> new file mode 100644
> index 0000000..ec03fab
> --- /dev/null
> +++ b/tests/spec/arb_shading_language_420pack/compiler/illegal-aggregate-noninitializer-vec.frag
> @@ -0,0 +1,16 @@
> +/* [config]
> + * expect_result: fail
> + * glsl_version: 1.30
> + * require_extensions: GL_ARB_shading_language_420pack
> + * [end config]
> + */
> +
> +#version 130
> +#extension GL_ARB_shading_language_420pack: enable
> +
> +void main() {
> +    vec3 b;
> +    // Illegal since C-style syntax can only be used as initializers
> +    b = { 1.0, 1.0, 1.0 };
> +    gl_FragColor = vec4(1.0);
> +}
> --
> 1.8.1.5
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit

Other than one minor comment on Patch 21/23, This series is:
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the Piglit mailing list