Module: Mesa
Branch: master
Commit: ff0e3fa1fe664f6a7aba289ed36fca9ff505bc18
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff0e3fa1fe664f6a7aba289ed36fca9ff505bc18

Author: Timothy Arceri <tarc...@itsqueeze.com>
Date:   Sat Feb 10 11:06:55 2018 +1100

st/glsl_to_nir: remove unused options variable

---

 src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 --
 1 file changed, 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 b9ac9fafc2..3f48a27835 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);

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to