/external/mesa3d/src/glsl/ |
D | ir_builder.h | 97 ir_swizzle *swizzle_for_size(operand a, int components); 99 ir_swizzle *swizzle_xxxx(operand a); 100 ir_swizzle *swizzle_yyyy(operand a); 101 ir_swizzle *swizzle_zzzz(operand a); 102 ir_swizzle *swizzle_wwww(operand a); 103 ir_swizzle *swizzle_x(operand a); 104 ir_swizzle *swizzle_y(operand a); 105 ir_swizzle *swizzle_z(operand a); 106 ir_swizzle *swizzle_w(operand a); 107 ir_swizzle *swizzle_xy(operand a); [all …]
|
D | ir_builder.cpp | 66 ir_swizzle * 71 return new(mem_ctx) ir_swizzle(a.val, in swizzle() 79 ir_swizzle * 91 return new(mem_ctx) ir_swizzle(a.val, s, components); in swizzle_for_size() 94 ir_swizzle * 100 ir_swizzle * 106 ir_swizzle * 112 ir_swizzle * 118 ir_swizzle * 124 ir_swizzle * [all …]
|
D | lower_vec_index_to_cond_assign.cpp | 58 virtual ir_visitor_status visit_enter(ir_swizzle *); 114 new(base_ir) ir_swizzle(cond_deref->clone(ir, NULL), i, 0, 0, 0, 1); in convert_vec_index_to_cond_assign() 120 new(base_ir) ir_swizzle(orig_deref->array->clone(mem_ctx, NULL), in convert_vec_index_to_cond_assign() 150 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_swizzle *ir) in visit_enter() 214 new(ir) ir_swizzle(cond_deref->clone(ir, NULL), i, 0, 0, 0, 1); in visit_leave() 221 new(ir) ir_swizzle(orig_deref->array->clone(mem_ctx, NULL), in visit_leave()
|
D | opt_swizzle_swizzle.cpp | 44 virtual ir_visitor_status visit_enter(ir_swizzle *); 52 ir_swizzle_swizzle_visitor::visit_enter(ir_swizzle *ir) in visit_enter() 56 ir_swizzle *swiz2 = ir->val->as_swizzle(); in visit_enter()
|
D | ir_rvalue_visitor.h | 42 ir_visitor_status rvalue_visit(ir_swizzle *); 58 virtual ir_visitor_status visit_leave(ir_swizzle *); 72 virtual ir_visitor_status visit_enter(ir_swizzle *);
|
D | lower_vec_index_to_swizzle.cpp | 52 virtual ir_visitor_status visit_enter(ir_swizzle *); 98 return new(ctx) ir_swizzle(deref->array, i, 0, 0, 0, 1); in convert_vec_index_to_swizzle() 114 ir_vec_index_to_swizzle_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
|
D | ir.cpp | 82 ir_swizzle *swiz = lhs->as_swizzle(); in set_lhs() 108 this->rhs = new(mem_ctx) ir_swizzle(this->rhs, rhs_swiz); in set_lhs() 122 this->rhs = new(mem_ctx) ir_swizzle(this->rhs, rhs_swiz); in set_lhs() 1327 ir_swizzle::init_mask(const unsigned *comp, unsigned count) in init_mask() 1368 ir_swizzle::ir_swizzle(ir_rvalue *val, unsigned x, unsigned y, unsigned z, in ir_swizzle() function in ir_swizzle 1377 ir_swizzle::ir_swizzle(ir_rvalue *val, const unsigned *comp, in ir_swizzle() function in ir_swizzle 1385 ir_swizzle::ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask) in ir_swizzle() function in ir_swizzle 1399 ir_swizzle * 1400 ir_swizzle::create(ir_rvalue *val, const char *str, unsigned vector_length) in create() 1468 return new(ctx) ir_swizzle(val, swiz_idx[0], swiz_idx[1], swiz_idx[2], in create() [all …]
|
D | ir_rvalue_visitor.cpp | 79 ir_rvalue_base_visitor::rvalue_visit(ir_swizzle *ir) in rvalue_visit() 159 ir_rvalue_visitor::visit_leave(ir_swizzle *ir) in visit_leave() 213 ir_rvalue_enter_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
|
D | opt_copy_propagation_elements.cpp | 114 virtual ir_visitor_status visit_leave(class ir_swizzle *); 189 ir_copy_propagation_elements_visitor::visit_leave(ir_swizzle *ir) in visit_leave() 216 ir_swizzle *swizzle = (*ir)->as_swizzle(); in handle_rvalue() 277 *ir = new(shader_mem_ctx) ir_swizzle(deref_var, in handle_rvalue() 445 ir_swizzle *swiz = ir->rhs->as_swizzle(); in add_copy()
|
D | ir_visitor.h | 53 virtual void visit(class ir_swizzle *) = 0; 76 virtual void visit(class ir_swizzle *) {} in visit() argument
|
D | hir_field_selection.cpp | 51 ir_swizzle *swiz = ir_swizzle::create(op, in _mesa_ast_field_selection_to_hir()
|
D | ir.h | 130 virtual class ir_swizzle * as_swizzle() { return NULL; } in as_swizzle() 1452 class ir_swizzle : public ir_rvalue { 1454 ir_swizzle(ir_rvalue *, unsigned x, unsigned y, unsigned z, unsigned w, 1457 ir_swizzle(ir_rvalue *val, const unsigned *components, unsigned count); 1459 ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask); 1461 virtual ir_swizzle *clone(void *mem_ctx, struct hash_table *) const; 1465 virtual ir_swizzle *as_swizzle() in as_swizzle() 1473 static ir_swizzle *create(ir_rvalue *, const char *, unsigned vector_length);
|
D | ir_hierarchical_visitor.h | 121 virtual ir_visitor_status visit_enter(class ir_swizzle *); 122 virtual ir_visitor_status visit_leave(class ir_swizzle *);
|
D | opt_algebraic.cpp | 180 return new(mem_ctx) ir_swizzle(operand, 0, 0, 0, 0, in swizzle_if_required() 330 return new(mem_ctx) ir_swizzle(ir->operands[1], component, 0, 0, 0, 1); in handle_expression() 339 return new(mem_ctx) ir_swizzle(ir->operands[0], component, 0, 0, 0, 1); in handle_expression()
|
D | ir_hierarchical_visitor.cpp | 161 ir_hierarchical_visitor::visit_enter(ir_swizzle *ir) in visit_enter() 170 ir_hierarchical_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
|
D | opt_noop_swizzle.cpp | 59 ir_swizzle *swiz = (*rvalue)->as_swizzle(); in handle_rvalue()
|
D | ir_print_visitor.h | 63 virtual void visit(ir_swizzle *);
|
D | ir_clone.cpp | 91 ir_swizzle * 92 ir_swizzle::clone(void *mem_ctx, struct hash_table *ht) const in clone() 94 return new(mem_ctx) ir_swizzle(this->val->clone(mem_ctx, ht), this->mask); in clone()
|
D | opt_dead_code_local.cpp | 100 virtual ir_visitor_status visit(ir_swizzle *ir) in visit() 227 entry->ir->rhs = new(mem_ctx) ir_swizzle(entry->ir->rhs, in process_assignment()
|
D | ast_function.cpp | 532 return new(ctx) ir_swizzle(src, component, 0, 0, 0, 1); in dereference_component() 739 ir_rvalue *rhs = new(ctx) ir_swizzle(first_param, 0, 0, 0, 0, in emit_inline_vector_constructor() 836 new(ctx) ir_swizzle(param, 0, 1, 2, 3, rhs_components); in emit_inline_vector_constructor() 880 src = new(mem_ctx) ir_swizzle(src, in assign_to_matrix_column() 977 ir_rvalue *const rhs = new(ctx) ir_swizzle(rhs_ref, rhs_swiz[i], in emit_inline_matrix_constructor() 989 ir_rvalue *const rhs = new(ctx) ir_swizzle(rhs_ref, 1, 1, 1, 1, in emit_inline_matrix_constructor() 1086 rhs = new(ctx) ir_swizzle(rhs_col, swiz, last_row); in emit_inline_matrix_constructor()
|
D | opt_tree_grafting.cpp | 78 virtual ir_visitor_status visit_enter(class ir_swizzle *); 257 ir_tree_grafting_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
|
D | opt_function_inlining.cpp | 60 virtual ir_visitor_status visit_enter(ir_swizzle *); 250 ir_function_inlining_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
|
D | lower_mat_op_to_vec.cpp | 104 return new(mem_ctx) ir_swizzle(val, row, 0, 0, 0, 1); in get_element() 194 column_result = new(mem_ctx) ir_swizzle(column_result, i, 0, 0, 0, 1); in do_mul_vec_mat()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_cubemap_normalize.cpp | 68 ir_rvalue *swiz0 = new(mem_ctx) ir_swizzle(deref, 0, 0, 0, 0, 1); in visit_leave() 70 ir_rvalue *swiz1 = new(mem_ctx) ir_swizzle(deref, 1, 0, 0, 0, 1); in visit_leave() 72 ir_rvalue *swiz2 = new(mem_ctx) ir_swizzle(deref, 2, 0, 0, 0, 1); in visit_leave()
|
D | brw_fs_vector_splitting.cpp | 91 virtual ir_visitor_status visit_enter(ir_swizzle *); 161 ir_vector_reference_visitor::visit_enter(ir_swizzle *ir) in visit_enter() 241 ir_swizzle *swiz = (*rvalue)->as_swizzle(); in handle_rvalue() 290 new_rhs = new(mem_ctx) ir_swizzle(ir->rhs->clone(mem_ctx, NULL), in visit_leave()
|