Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
/* 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;
_mesa_key_pointer_equal);
this->result = NULL;
this->impl = NULL;
- this->var = NULL;
memset(&this->b, 0, sizeof(this->b));
}
nir_shader_add_variable(shader, var);
_mesa_hash_table_insert(var_table, ir, var);
- this->var = var;
}
ir_visitor_status