diff options
author | Samuel Pitoiset <[email protected]> | 2017-05-08 22:54:06 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-05-10 12:10:50 +0200 |
commit | 6a1f324e4a711d5c7258ea86132cd8d07c610cbe (patch) | |
tree | 15441c9304c7c32cc9daa51bb387401311222cd6 /src | |
parent | 362f8f67989e8e9a9bce3a2bf5e51fd4c0debe5b (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')
-rw-r--r-- | src/mesa/main/mtypes.h | 1 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 0d594bf436f..79f50130e73 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3043,7 +3043,6 @@ struct gl_shader_compiler_options { /** Driver-selectable options: */ GLboolean EmitNoLoops; - GLboolean EmitNoFunctions; GLboolean EmitNoCont; /**< Emit CONT opcode? */ GLboolean EmitNoMainReturn; /**< Emit CONT/RET opcodes? */ GLboolean EmitNoPow; /**< Emit POW opcodes? */ 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); |