Set es_version to false when using FF fragment shading in meta ops
authorPaul Berry <stereotype441@gmail.com>
Wed, 8 Aug 2012 18:30:42 +0000 (11:30 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 8 Dec 2012 00:28:40 +0000 (16:28 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/ff_fragment_shader.cpp

index 3a80ab7f3b737d5b663634fc8197ad2ed263b565..02b4707f0783bf8f6127ef19fb4ef76087ee0c11 100644 (file)
@@ -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);