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.cpp859 ir_dereference *lhs_deref = ir->lhs->as_dereference(); in check_for_buffer_array_copy() local
860 if (!lhs_deref) in check_for_buffer_array_copy()
863 assert(lhs_deref->type->length == rhs_deref->type->length); in check_for_buffer_array_copy()
866 for (unsigned i = 0; i < lhs_deref->type->length; i++) { in check_for_buffer_array_copy()
868 new(mem_ctx) ir_dereference_array(lhs_deref->clone(mem_ctx, NULL), in check_for_buffer_array_copy()
907 ir_dereference *lhs_deref = ir->lhs->as_dereference(); in check_for_buffer_struct_copy() local
908 if (!lhs_deref) in check_for_buffer_struct_copy()
911 assert(lhs_deref->type == rhs_deref->type); in check_for_buffer_struct_copy()
914 for (unsigned i = 0; i < lhs_deref->type->length; i++) { in check_for_buffer_struct_copy()
915 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.cpp1697 nir_deref_instr *lhs_deref = this->deref; in visit() local
1714 enum gl_access_qualifier qualifiers = deref_get_qualifier(lhs_deref); in visit()
1717 nir_store_deref_with_access(&b, lhs_deref, src, ir->write_mask, in visit()
1721 nir_store_deref_with_access(&b, lhs_deref, src, ir->write_mask, in visit()