diff options
author | Timothy Arceri <[email protected]> | 2017-03-30 22:14:21 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-31 13:43:38 +1100 |
commit | 2caa3aa1f4fed5fd336dbbdb77eeb2e29730a204 (patch) | |
tree | bd2db62d3bbc4f448c64e6469b172cdca11315c0 /src/mesa/main/shaderapi.c | |
parent | 94224950ddb609bfbee1ffb0ca3621c0bda6101f (diff) |
mesa: remove MESA_GLSL=no_opts env option
This is confusing because is only applys to GL_ARB_vertex/fragment_program,
and because of that its also not very useful.
If someone requires this for debugging they can just make an ad-hoc
code change.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.c')
-rw-r--r-- | src/mesa/main/shaderapi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index ba69ede0e84..3d77448f9a5 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; - if (strstr(env, "nopt")) - flags |= GLSL_NO_OPT; else if (strstr(env, "opt")) flags |= GLSL_OPT; if (strstr(env, "uniform")) |