summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_extensions.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-05-08 22:54:06 +0200
committerSamuel Pitoiset <[email protected]>2017-05-10 12:10:50 +0200
commit6a1f324e4a711d5c7258ea86132cd8d07c610cbe (patch)
tree15441c9304c7c32cc9daa51bb387401311222cd6 /src/mesa/state_tracker/st_extensions.c
parent362f8f67989e8e9a9bce3a2bf5e51fd4c0debe5b (diff)
mesa: remove never used gl_shader_compiler_options::EmitNoFunctions
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Elie Tournier <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r--src/mesa/state_tracker/st_extensions.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 1df2ba76168..fffc0ef8ee3 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -270,7 +270,6 @@ void st_init_limits(struct pipe_screen *screen,
options->EmitNoLoops =
!screen->get_shader_param(screen, sh,
PIPE_SHADER_CAP_MAX_CONTROL_FLOW_DEPTH);
- options->EmitNoFunctions = true;
options->EmitNoMainReturn =
!screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_SUBROUTINES);