Home
last modified time | relevance | path

Searched refs:store_instr (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opt_copy_prop_vars.c66 nir_instr *store_instr[4]; member
233 nir_instr *instr = entry->store_instr[i]; in remove_dead_writes()
242 if (entry->store_instr[j] == instr) { in remove_dead_writes()
244 entry->store_instr[j] = NULL; in remove_dead_writes()
331 nir_instr *store_instr) in store_to_entry() argument
339 entry->store_instr[i] = store_instr; in store_to_entry()
348 entry->store_instr[i] = store_instr; in store_to_entry()
Dnir_lower_vars_to_ssa.c372 register_store_instr(nir_intrinsic_instr *store_instr, in register_store_instr() argument
375 struct deref_node *node = get_deref_node(store_instr->variables[0], state); in register_store_instr()
383 _mesa_set_add(node->stores, store_instr); in register_store_instr()
/external/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp1131 nir_intrinsic_instr *store_instr = in visit() local
1133 store_instr->num_components = ir->return_deref->type->vector_elements; in visit()
1134 nir_intrinsic_set_write_mask(store_instr, in visit()
1135 (1 << store_instr->num_components) - 1); in visit()
1137 store_instr->variables[0] = in visit()
1138 evaluate_deref(&store_instr->instr, ir->return_deref); in visit()
1139 store_instr->src[0] = nir_src_for_ssa(&dest->ssa); in visit()
1141 nir_builder_instr_insert(&b, &store_instr->instr); in visit()