summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderapi.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-30 22:21:32 +1100
committerTimothy Arceri <[email protected]>2017-03-31 13:43:38 +1100
commit3e524cfa4781f4fa904b0918523337059620123f (patch)
tree8fd50d39864ec3335f9e00ecc9359bec270cc4c6 /src/mesa/main/shaderapi.c
parent2caa3aa1f4fed5fd336dbbdb77eeb2e29730a204 (diff)
mesa: remove MESA_GLSL=opt
This is unused. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.c')
-rw-r--r--src/mesa/main/shaderapi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 3d77448f9a5..187475f1277 100644
--- a/src/mesa/main/shaderapi.c
+++ b/src/mesa/main/shaderapi.c
@@ -83,8 +83,6 @@ _mesa_get_shader_flags(void)
flags |= GLSL_NOP_VERT;
if (strstr(env, "nopfrag"))
flags |= GLSL_NOP_FRAG;
- else if (strstr(env, "opt"))
- flags |= GLSL_OPT;
if (strstr(env, "uniform"))
flags |= GLSL_UNIFORMS;
if (strstr(env, "useprog"))