summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-08-08 11:30:42 -0700
committerIan Romanick <[email protected]>2012-12-07 16:28:40 -0800
commit6cffdb1ca0ae0f60a77dfc070a5685f014e35438 (patch)
treeebff0c913d8fa9e8e115e09c52c96a39cf1bb1f0 /src/mesa
parent1ddc021b2a992a214a7668672d35a55c160f6a90 (diff)
Set es_version to false when using FF fragment shading in meta ops
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/ff_fragment_shader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/ff_fragment_shader.cpp b/src/mesa/main/ff_fragment_shader.cpp
index 3a80ab7f3b7..02b4707f078 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);