st/glsl_to_nir: remove unused options variable
authorTimothy Arceri <tarceri@itsqueeze.com>
Sat, 10 Feb 2018 00:06:55 +0000 (11:06 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sat, 10 Feb 2018 00:06:55 +0000 (11:06 +1100)
src/mesa/state_tracker/st_glsl_to_nir.cpp

index b9ac9fafc2f9f82d74fa43bb00d1f95d7d20a891..3f48a278359da349df383765f113a6eda6dec38b 100644 (file)
@@ -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);