glsl: Remove unused member variable

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
Matt Turner
2018-10-30 05:36:02 -07:00
parent 1a210268b8
commit 6f737b9207

View File

@@ -97,8 +97,6 @@ private:
/* most recent deref instruction created */
nir_deref_instr *deref;
nir_variable *var; /* variable created by ir_variable visitor */
/* whether the IR we're operating on is per-function or global */
bool is_global;
@@ -180,7 +178,6 @@ nir_visitor::nir_visitor(nir_shader *shader)
_mesa_key_pointer_equal);
this->result = NULL;
this->impl = NULL;
this->var = NULL;
memset(&this->b, 0, sizeof(this->b));
}
@@ -454,7 +451,6 @@ nir_visitor::visit(ir_variable *ir)
nir_shader_add_variable(shader, var);
_mesa_hash_table_insert(var_table, ir, var);
this->var = var;
}
ir_visitor_status