Lines Matching refs:nir_variable
122 static nir_variable *
123 remap_var(clone_state *state, const nir_variable *var) in remap_var()
129 nir_constant_clone(const nir_constant *c, nir_variable *nvar) in nir_constant_clone()
146 nir_variable *
147 nir_variable_clone(const nir_variable *var, nir_shader *shader) in nir_variable_clone()
149 nir_variable *nvar = rzalloc(shader, nir_variable); in nir_variable_clone()
167 static nir_variable *
168 clone_variable(clone_state *state, const nir_variable *var) in clone_variable()
170 nir_variable *nvar = nir_variable_clone(var, state->ns); in clone_variable()
182 foreach_list_typed(nir_variable, var, node, list) { in clone_var_list()
183 nir_variable *nvar = clone_variable(state, var); in clone_var_list()
268 nir_variable *nvar = remap_var(state, dvar->var); in clone_deref_var()
675 nfi->params = ralloc_array(state->ns, nir_variable *, fi->num_params); in clone_function_impl()