Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/glsl/
Dlower_ubo_reference.cpp843 ir_dereference *lhs_deref = ir->lhs->as_dereference(); in check_for_buffer_array_copy() local
844 if (!lhs_deref) in check_for_buffer_array_copy()
847 assert(lhs_deref->type->length == rhs_deref->type->length); in check_for_buffer_array_copy()
850 for (unsigned i = 0; i < lhs_deref->type->length; i++) { in check_for_buffer_array_copy()
852 new(mem_ctx) ir_dereference_array(lhs_deref->clone(mem_ctx, NULL), in check_for_buffer_array_copy()
891 ir_dereference *lhs_deref = ir->lhs->as_dereference(); in check_for_buffer_struct_copy() local
892 if (!lhs_deref) in check_for_buffer_struct_copy()
895 assert(lhs_deref->type->record_compare(rhs_deref->type)); in check_for_buffer_struct_copy()
898 for (unsigned i = 0; i < lhs_deref->type->length; i++) { in check_for_buffer_struct_copy()
899 const char *field_name = lhs_deref->type->fields.structure[i].name; in check_for_buffer_struct_copy()
[all …]
Dopt_structure_splitting.cpp265 ir_dereference_variable *lhs_deref = ir->lhs->as_dereference_variable(); in visit_leave() local
267 variable_entry *lhs_entry = lhs_deref ? get_splitting_entry(lhs_deref->var) : NULL; in visit_leave()
Dglsl_to_nir.cpp1196 nir_deref_var *lhs_deref = this->deref_head; in visit() local
1217 store->variables[0] = nir_deref_var_clone(lhs_deref, store); in visit()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_vector_splitting.cpp249 ir_dereference_variable *lhs_deref = ir->lhs->as_dereference_variable(); in visit_leave() local
251 variable_entry *lhs = lhs_deref ? get_splitting_entry(lhs_deref->var) : NULL; in visit_leave()
254 if (lhs_deref && rhs_deref && (lhs || rhs) && !ir->condition) { in visit_leave()