[Mesa-dev] [PATCH 1/1] mesa: meta_glsl_clear_init() use of "out" is not compatible with ES2.0.
Oliver McFadden
oliver.mcfadden at linux.intel.com
Fri May 25 01:27:17 PDT 2012
On Fri, May 25, 2012 at 11:18:07AM +0300, Oliver McFadden wrote:
> Discovered by Eric Anholt's recent changes to the i965 driver GL clear
> logic while executing some of the Khronos conformance tests.
Oops. I didn't fix this completely; please ignore while I roll a new
patch.
>
> Signed-off-by: Oliver McFadden <oliver.mcfadden at linux.intel.com>
> ---
> src/mesa/drivers/common/meta.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
> index 95336fc..4bd9c5d 100644
> --- a/src/mesa/drivers/common/meta.c
> +++ b/src/mesa/drivers/common/meta.c
> @@ -1753,11 +1753,10 @@ meta_glsl_clear_init(struct gl_context *ctx, struct clear_state *clear)
> const char *fs_int_source =
> "#version 130\n"
> "uniform ivec4 color;\n"
> - "out ivec4 out_color;\n"
> "\n"
> "void main()\n"
> "{\n"
> - " out_color = color;\n"
> + " gl_FragColor = color;\n"
> "}\n";
> GLuint vs, fs;
>
> --
> 1.7.8
>
--
Oliver McFadden.
More information about the mesa-dev
mailing list