Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/glsl/
Dlower_ubo_reference.cpp856 ir_dereference *lhs_deref = ir->lhs->as_dereference(); in check_for_buffer_array_copy() local
857 if (!lhs_deref) in check_for_buffer_array_copy()
860 assert(lhs_deref->type->length == rhs_deref->type->length); in check_for_buffer_array_copy()
863 for (unsigned i = 0; i < lhs_deref->type->length; i++) { in check_for_buffer_array_copy()
865 new(mem_ctx) ir_dereference_array(lhs_deref->clone(mem_ctx, NULL), in check_for_buffer_array_copy()
904 ir_dereference *lhs_deref = ir->lhs->as_dereference(); in check_for_buffer_struct_copy() local
905 if (!lhs_deref) in check_for_buffer_struct_copy()
908 assert(lhs_deref->type == rhs_deref->type); in check_for_buffer_struct_copy()
911 for (unsigned i = 0; i < lhs_deref->type->length; i++) { in check_for_buffer_struct_copy()
912 const char *field_name = lhs_deref->type->fields.structure[i].name; in check_for_buffer_struct_copy()
[all …]
Dopt_structure_splitting.cpp261 ir_dereference_variable *lhs_deref = ir->lhs->as_dereference_variable(); in visit_leave() local
263 variable_entry *lhs_entry = lhs_deref ? get_splitting_entry(lhs_deref->var) : NULL; in visit_leave()
Dglsl_to_nir.cpp1270 nir_deref_var *lhs_deref = this->deref_head; in visit() local
1291 store->variables[0] = nir_deref_var_clone(lhs_deref, store); in visit()