From: Timothy Arceri Date: Sat, 10 Feb 2018 00:06:55 +0000 (+1100) Subject: st/glsl_to_nir: remove unused options variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff0e3fa1fe664f6a7aba289ed36fca9ff505bc18;p=mesa.git st/glsl_to_nir: remove unused options variable --- 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);