[Piglit] [PATCH] glsl-1.50: Test that no profile argument means core profile.
Andreas Boll
andreas.boll.dev at gmail.com
Wed Jul 10 10:43:59 PDT 2013
2013/7/10 Matt Turner <mattst88 at gmail.com>
> ---
> .../compiler/profiles/core-profile-default.vert | 16
> ++++++++++++++++
> 1 file changed, 16 insertions(+)
> create mode 100644
> tests/spec/glsl-1.50/compiler/profiles/core-profile-default.vert
>
> diff --git
> a/tests/spec/glsl-1.50/compiler/profiles/core-profile-default.vert
> b/tests/spec/glsl-1.50/compiler/profiles/core-profile-default.vert
> new file mode 100644
> index 0000000..179c607
> --- /dev/null
> +++ b/tests/spec/glsl-1.50/compiler/profiles/core-profile-default.vert
> @@ -0,0 +1,16 @@
> +// [config]
> +// expect_result: pass
>
Shouldn't this be expect_result: fail ?
> +// glsl_version: 1.50
> +// [end config]
> +
> +/* The GLSL 1.50 spec says
> + * "If no profile argument is provided, the default is core."
> + */
> +#version 150
> +
> +void main() {
> + /* gl_ClipVertex is deprecated and not available in GLSL 1.50 core, so
> + * it should cause a compilation error.
> + */
> + gl_Position = gl_ClipVertex;
> +}
> --
> 1.8.1.5
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20130710/b01bd7ca/attachment-0001.html>
More information about the Piglit
mailing list