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

Ian Romanick idr at freedesktop.org
Thu Dec 6 17:53:02 PST 2012


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);
-- 
1.7.11.7



More information about the mesa-dev mailing list