Home
last modified time | relevance | path

Searched refs:reladdr (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi_private.cpp75 this->reladdr = NULL; in st_src_reg()
93 this->reladdr = NULL; in st_src_reg()
111 this->reladdr = NULL; in st_src_reg()
128 this->reladdr = NULL; in reset()
155 this->reladdr = dup_reladdr(reg.reladdr); in operator =()
171 this->reladdr = dup_reladdr(reg.reladdr); in st_src_reg()
205 if (lhs.reladdr) { in operator ==()
206 if (!rhs.reladdr) in operator ==()
208 result = (*lhs.reladdr == *rhs.reladdr); in operator ==()
210 result = !rhs.reladdr; in operator ==()
[all …]
Dst_glsl_to_tgsi.cpp355 st_src_reg *reladdr,
452 num_reladdr += dst.reladdr != NULL || dst.reladdr2; in emit_asm()
453 assert(!dst1.reladdr); /* should be lowered in earlier passes */ in emit_asm()
454 num_reladdr += src0.reladdr != NULL || src0.reladdr2 != NULL; in emit_asm()
455 num_reladdr += src1.reladdr != NULL || src1.reladdr2 != NULL; in emit_asm()
456 num_reladdr += src2.reladdr != NULL || src2.reladdr2 != NULL; in emit_asm()
457 num_reladdr += src3.reladdr != NULL || src3.reladdr2 != NULL; in emit_asm()
464 if (dst.reladdr || dst.reladdr2) { in emit_asm()
465 if (dst.reladdr) in emit_asm()
466 emit_arl(ir, address_reg, *dst.reladdr); in emit_asm()
[all …]
Dst_glsl_to_tgsi_private.h77 st_src_reg *reladdr; variable
86 !has_index2 && !reladdr && !reladdr2; in is_legal_tgsi_address_operand()
115 st_src_reg *reladdr; variable
Dst_glsl_to_tgsi_temprename.cpp1060 if (src.reladdr) in record_read()
1061 record_read(*src.reladdr, line, scope); in record_read()
1083 if (dst.reladdr) in record_write()
1084 record_read(*dst.reladdr, line, scope); in record_write()
/external/mesa3d/src/intel/compiler/
Dgen6_gs_visitor.cpp149 dst.reladdr = ralloc(mem_ctx, src_reg); in gs_emit_vertex()
150 memcpy(dst.reladdr, &this->vertex_output_offset, sizeof(src_reg)); in gs_emit_vertex()
167 dst.reladdr = ralloc(mem_ctx, src_reg); in gs_emit_vertex()
168 memcpy(dst.reladdr, &this->vertex_output_offset, sizeof(src_reg)); in gs_emit_vertex()
179 dst.reladdr = ralloc(mem_ctx, src_reg); in gs_emit_vertex()
180 memcpy(dst.reladdr, &this->vertex_output_offset, sizeof(src_reg)); in gs_emit_vertex()
239 dst.reladdr = ralloc(mem_ctx, src_reg); in gs_end_primitive()
240 memcpy(dst.reladdr, &offset, sizeof(src_reg)); in gs_end_primitive()
271 flags_data.reladdr = ralloc(mem_ctx, src_reg); in emit_urb_write_header()
272 memcpy(flags_data.reladdr, &flags_offset, sizeof(src_reg)); in emit_urb_write_header()
[all …]
Dbrw_vec4_visitor.cpp1340 src_reg *reladdr, int reg_offset) in get_scratch_offset() argument
1353 if (reladdr) { in get_scratch_offset()
1361 emit_before(block, inst, ADD(dst_reg(index), *reladdr, in get_scratch_offset()
1366 emit_before(block, inst, MUL(dst_reg(index), *reladdr, in get_scratch_offset()
1390 src_reg index = get_scratch_offset(block, inst, orig_src.reladdr, in emit_scratch_read()
1399 index = get_scratch_offset(block, inst, orig_src.reladdr, reg_offset + 1); in emit_scratch_read()
1419 src_reg index = get_scratch_offset(block, inst, inst->dst.reladdr, in emit_scratch_write()
1475 src_reg index = get_scratch_offset(block, inst, inst->dst.reladdr, in emit_scratch_write()
1490 inst->dst.reladdr = NULL; in emit_scratch_write()
1510 if (src.reladdr) in emit_resolve_reladdr()
[all …]
Dbrw_vec4.cpp73 this->reladdr = NULL; in src_reg()
79 this->reladdr = reg.reladdr; in src_reg()
131 this->reladdr = NULL; in dst_reg()
138 this->reladdr = reg.reladdr; in dst_reg()
145 (reladdr == r.reladdr || in equals()
146 (reladdr && r.reladdr && reladdr->equals(*r.reladdr)))); in equals()
388 !reladdr && !r.reladdr); in equals()
395 !reladdr && !r.reladdr; in negative_equals()
599 assert(!inst->src[i].reladdr); in split_uniform_registers()
993 inst->src[i].reladdr = NULL; in move_push_constants_to_pull_constants()
[all …]
Dbrw_ir_vec4.h53 src_reg *reladdr; variable
147 (!reg.reladdr || is_uniform(*reg.reladdr)); in is_uniform()
170 src_reg *reladdr; variable
Dbrw_vec4_copy_propagation.cpp50 !inst->dst.reladdr && in is_direct_copy()
51 !inst->src[0].reladdr && in is_direct_copy()
485 inst->src[i].reladdr) in opt_copy_propagation()
525 if (inst->dst.reladdr) in opt_copy_propagation()
Dbrw_vec4_reg_allocate.cpp408 if (inst->src[i].reladdr || in evaluate_spill_costs()
437 if (inst->dst.reladdr || inst->dst.offset >= REG_SIZE) in evaluate_spill_costs()
Dbrw_vec4.h283 src_reg *reladdr, int reg_offset);
Dbrw_vec4_nir.cpp183 reg.reladdr = in dst_reg_for_nir_reg()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp80 this->reladdr = NULL; in src_reg()
89 this->reladdr = NULL; in src_reg()
99 src_reg *reladdr; member in __anon83d07f0a0111::src_reg
109 this->reladdr = NULL; in dst_reg()
117 this->reladdr = NULL; in dst_reg()
126 src_reg *reladdr; member in __anon83d07f0a0111::dst_reg
137 this->reladdr = reg.reladdr; in src_reg()
145 this->reladdr = reg.reladdr; in dst_reg()
366 num_reladdr += dst.reladdr != NULL; in emit()
367 num_reladdr += src0.reladdr != NULL; in emit()
[all …]
/external/mesa3d/src/mesa/state_tracker/tests/
Dst_tests_common.cpp164 if (s.reladdr) in read_reg()
165 read_reg(*s.reladdr); in read_reg()
325 retval.reladdr = create_rel_src_register(relidx1); in create_src_register()
394 retval.reladdr = create_rel_src_register(relidx1); in create_dst_register()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_print.c128 static void rc_print_register(FILE * f, rc_register_file file, int index, unsigned int reladdr) in rc_print_register() argument
149 fprintf(f, "%s[%i%s]", filename, index, reladdr ? " + addr[0]" : ""); in rc_print_register()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c1764 struct ureg_src reladdr = ntt_get_src(c, instr->src[sampler_src].src); in ntt_emit_texture() local
1765 sampler = ureg_src_indirect(sampler, ntt_reladdr(c, reladdr)); in ntt_emit_texture()
/external/mesa3d/docs/relnotes/
D7.10.rst1363 - i965: Drop push-mode reladdr constant loading and always use
1392 - i965: Add support for gen6 reladdr VS constant loading.