[Mesa-dev] [PATCH 1/3] Set es_version to false when using FF fragment shading in meta ops

Kenneth Graunke kenneth at whitecape.org
Thu Dec 6 22:09:08 PST 2012


On 12/06/2012 05:53 PM, Ian Romanick wrote:
> From: Paul Berry <stereotype441 at gmail.com>
>
> ---
>   src/mesa/main/ff_fragment_shader.cpp | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/main/ff_fragment_shader.cpp b/src/mesa/main/ff_fragment_shader.cpp
> index 3a80ab7..02b4707 100644
> --- a/src/mesa/main/ff_fragment_shader.cpp
> +++ b/src/mesa/main/ff_fragment_shader.cpp
> @@ -1309,6 +1309,7 @@ create_new_program(struct gl_context *ctx, struct state_key *key)
>      p.shader_program->InternalSeparateShader = GL_TRUE;
>
>      state->language_version = 130;
> +   state->es_shader = false;
>      if (ctx->Extensions.OES_EGL_image_external)
>         state->OES_EGL_image_external_enable = true;
>      _mesa_glsl_initialize_types(state);
>

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

I obviously don't need to review the other ones :)


More information about the mesa-dev mailing list