[Piglit] [PATCH] glsl-1.50: Remove gl_Position from fragment shader.

Paul Berry stereotype441 at gmail.com
Fri Aug 23 09:50:59 PDT 2013


On 22 August 2013 22:37, Kenneth Graunke <kenneth at whitecape.org> wrote:

> This must've been cut and pasted from a vertex shader by accident.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> Cc: Nicholas Mack <nichmack at gmail.com>
> ---
>  tests/spec/glsl-1.50/compiler/layout-global-only.frag | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/spec/glsl-1.50/compiler/layout-global-only.frag
> b/tests/spec/glsl-1.50/compiler/layout-global-only.frag
> index e1aa65b..55b7811 100644
> --- a/tests/spec/glsl-1.50/compiler/layout-global-only.frag
> +++ b/tests/spec/glsl-1.50/compiler/layout-global-only.frag
> @@ -12,5 +12,5 @@
>  void main()
>  {
>         layout(pixel_center_integer) vec4 fc;
> -       gl_Position = fc;
> +       gl_FragColor = vec4(1.);
>  }
>

Reviewed-by: Paul Berry <stereotype441 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20130823/13cf6d6c/attachment.html>


More information about the Piglit mailing list