[Piglit] [PATCH] version-mixing: gl_FragColor built-in is not available in core profile >= 4.20
Matt Turner
mattst88 at gmail.com
Wed Apr 13 01:56:32 UTC 2016
On Tue, Apr 12, 2016 at 6:00 PM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> ... so just use an explicit out declaration unconditionally for such versions.
> ---
> tests/shaders/version-mixing.c | 25 ++++++++++++++++++++++++-
> 1 file changed, 24 insertions(+), 1 deletion(-)
>
> diff --git a/tests/shaders/version-mixing.c b/tests/shaders/version-mixing.c
> index 1948c9e..b349d46 100644
> --- a/tests/shaders/version-mixing.c
> +++ b/tests/shaders/version-mixing.c
> @@ -104,6 +104,24 @@ static const char *interstage_fs =
> " gl_FragColor = vec4(0.0);\n"
> "}\n";
>
> +/* Section 1.2.1 (Summary of Changes from Version 4.10) of the OpenGL
> + * Shading Language 4.20 spec says:
> + *
> + * Move these previously deprecated features to be only in the
> + * compatibility profile:
> + * ...
> + * * The built-in variabls gl_FragColor and gl_FragData.
Typo: variables
More information about the Piglit
mailing list