Home
last modified time | relevance | path

Searched refs:base_ir (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/glsl/
Dlower_vec_index_to_cond_assign.cpp90 index = new(base_ir) ir_variable(glsl_type::int_type, in convert_vec_index_to_cond_assign()
94 deref = new(base_ir) ir_dereference_variable(index); in convert_vec_index_to_cond_assign()
95 assign = new(base_ir) ir_assignment(deref, orig_deref->array_index, NULL); in convert_vec_index_to_cond_assign()
99 var = new(base_ir) ir_variable(ir->type, "vec_index_tmp_v", in convert_vec_index_to_cond_assign()
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()
123 deref = new(base_ir) ir_dereference_variable(var); in convert_vec_index_to_cond_assign()
124 assign = new(base_ir) ir_assignment(deref, swizzle, condition_swizzle); in convert_vec_index_to_cond_assign()
131 base_ir->insert_before(&list); in convert_vec_index_to_cond_assign()
134 return new(base_ir) ir_dereference_variable(var); in convert_vec_index_to_cond_assign()
Dlower_clip_distance.cpp154 this->base_ir->insert_before(old_index_var); in create_indices()
155 this->base_ir->insert_before(new(ctx) ir_assignment( in create_indices()
241 this->base_ir->insert_before( in visit_leave()
260 ir_instruction *old_base_ir = this->base_ir; in visit_new_assignment()
261 this->base_ir = ir; in visit_new_assignment()
263 this->base_ir = old_base_ir; in visit_new_assignment()
300 this->base_ir->insert_before(temp_clip_distance); in visit_leave()
313 this->base_ir->insert_before(new_assignment); in visit_leave()
326 this->base_ir->insert_after(new_assignment); in visit_leave()
Dlower_variable_index_to_cond_assign.cpp186 ir_instruction* base_ir; member
202 void *mem_ctx = ralloc_parent(base_ir); in generate()
399 void *const mem_ctx = ralloc_parent(base_ir); in convert_dereference_array()
411 base_ir->insert_before(var); in convert_dereference_array()
418 base_ir->insert_before(assign); in convert_dereference_array()
423 base_ir->insert_before(var); in convert_dereference_array()
430 base_ir->insert_before(index); in convert_dereference_array()
435 base_ir->insert_before(assign); in convert_dereference_array()
441 ag.base_ir = base_ir; in convert_dereference_array()
464 base_ir->insert_before(if_stmt); in convert_dereference_array()
[all …]
Dlower_mat_op_to_vec.cpp148 base_ir->insert_before(assign); in do_mul_mat_mat()
178 base_ir->insert_before(assign); in do_mul_mat_vec()
202 base_ir->insert_before(column_assign); in do_mul_vec_mat()
223 base_ir->insert_before(column_assign); in do_mul_mat_scalar()
258 this->base_ir->insert_before(tmp_bvec); in do_equal_mat_mat()
272 this->base_ir->insert_before(assign); in do_equal_mat_mat()
283 base_ir->insert_before(assign); in do_equal_mat_mat()
341 base_ir->insert_before(var); in visit_leave()
348 base_ir->insert_before(assign); in visit_leave()
365 base_ir->insert_before(column_assign); in visit_leave()
[all …]
Dlower_ubo_reference.cpp169 base_ir->insert_before(load_var); in handle_rvalue()
174 base_ir->insert_before(load_offset); in handle_rvalue()
175 base_ir->insert_before(assign(load_offset, offset)); in handle_rvalue()
266 base_ir->insert_before(assign(deref->clone(mem_ctx, NULL), in emit_ubo_loads()
290 base_ir->insert_before(assign(deref_chan, in emit_ubo_loads()
Dir_expression_flattening.cpp82 base_ir->insert_before(var); in handle_rvalue()
87 base_ir->insert_before(assign); in handle_rvalue()
Dlower_vector.cpp139 this->base_ir->insert_before(temp); in handle_rvalue()
192 this->base_ir->insert_before(assign); in handle_rvalue()
205 this->base_ir->insert_before(assign); in handle_rvalue()
Dlower_texture_projection.cpp62 base_ir->insert_before(var); in visit_leave()
69 base_ir->insert_before(assign); in visit_leave()
Dir_hv_accept.cpp50 ir_instruction *prev_base_ir = v->base_ir; in visit_list_elements()
55 v->base_ir = ir; in visit_list_elements()
62 v->base_ir = prev_base_ir; in visit_list_elements()
Dlower_instructions.cpp241 this->base_ir->insert_before(temp); in mod_to_fract()
247 this->base_ir->insert_before(assign); in mod_to_fract()
Dir_hierarchical_visitor.h153 class ir_instruction *base_ir; variable
Dir_hierarchical_visitor.cpp29 this->base_ir = NULL; in ir_hierarchical_visitor()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_lower_texture_gradients.cpp56 base_ir->insert_before(var); in emit()
57 base_ir->insert_before(assign(var, value)); in emit()
107 base_ir->insert_before(size); in visit_leave()
108 base_ir->insert_before(assign(size, expr(ir_unop_i2f, txs), WRITEMASK_XY)); in visit_leave()
109 base_ir->insert_before(assign(size, new(mem_ctx) ir_constant(1.0f), WRITEMASK_Z)); in visit_leave()
Dbrw_cubemap_normalize.cpp61 base_ir->insert_before(var); in visit_leave()
65 base_ir->insert_before(assign); in visit_leave()
Dbrw_fs_visitor.cpp1673 this->base_ir = ir->condition; in visit()
1686 this->base_ir = ir; in visit()
1696 this->base_ir = ir; in visit()
1715 this->base_ir = ir->counter; in visit()
1720 this->base_ir = ir->from; in visit()
1727 this->base_ir = NULL; in visit()
1731 this->base_ir = ir->to; in visit()
1744 this->base_ir = ir; in visit()
1749 this->base_ir = ir->increment; in visit()
1754 this->base_ir = NULL; in visit()
[all …]
Dbrw_vec4_visitor.cpp42 this->ir = v->base_ir; in vec4_instruction()
357 base_ir = ir; in visit_instructions()
889 this->base_ir = NULL; in visit()
892 this->base_ir = ir->counter; in visit()
897 this->base_ir = ir->from; in visit()
907 this->base_ir = ir->to; in visit()
921 this->base_ir = ir->increment; in visit()
2078 this->base_ir = ir->condition; in visit()
2091 this->base_ir = ir->condition; in visit()
2097 this->base_ir = ir->condition; in visit()
[all …]
Dbrw_fs.h383 ir_instruction *base_ir; variable
Dbrw_vec4.h237 ir_instruction *base_ir; variable
Dbrw_fs.cpp1985 base_ir = ir; in run()