summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-02-10 11:06:55 +1100
committerTimothy Arceri <[email protected]>2018-02-10 11:06:55 +1100
commitff0e3fa1fe664f6a7aba289ed36fca9ff505bc18 (patch)
tree9321b0b44322db3f21e85327a5039541cd65cf06 /src/mesa
parent8f378c116eb226e18193583dcbf1a5a77246b507 (diff)
st/glsl_to_nir: remove unused options variable
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_nir.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp
index b9ac9fafc2f..3f48a278359 100644
--- a/src/mesa/state_tracker/st_glsl_to_nir.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp
@@ -471,8 +471,6 @@ st_nir_get_mesa_program(struct gl_context *ctx,
struct gl_linked_shader *shader)
{
struct st_context *st = st_context(ctx);
- const nir_shader_compiler_options *options =
- ctx->Const.ShaderCompilerOptions[shader->Program->info.stage].NirOptions;
struct gl_program *prog;
validate_ir_tree(shader->ir);