From ff0e3fa1fe664f6a7aba289ed36fca9ff505bc18 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Sat, 10 Feb 2018 11:06:55 +1100 Subject: st/glsl_to_nir: remove unused options variable --- src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mesa/state_tracker') 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); -- cgit v1.2.3