Home
last modified time | relevance | path

Searched refs:temp_regs (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c59 struct ttn_reg_info *temp_regs; member
265 c->temp_regs[decl->Range.First + i].reg = NULL; in ttn_emit_declaration()
266 c->temp_regs[decl->Range.First + i].var = var; in ttn_emit_declaration()
267 c->temp_regs[decl->Range.First + i].offset = i; in ttn_emit_declaration()
273 c->temp_regs[decl->Range.First + i].reg = reg; in ttn_emit_declaration()
274 c->temp_regs[decl->Range.First + i].var = NULL; in ttn_emit_declaration()
275 c->temp_regs[decl->Range.First + i].offset = 0; in ttn_emit_declaration()
525 if (c->temp_regs[index].var) { in ttn_src_for_file_and_index()
526 unsigned offset = c->temp_regs[index].offset; in ttn_src_for_file_and_index()
527 nir_variable *var = c->temp_regs[index].var; in ttn_src_for_file_and_index()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c55 nir_register **temp_regs; member
95 dest.dest.reg.reg = c->temp_regs[prog_dst->Index]; in ptn_get_dest()
129 src.src.reg.reg = c->temp_regs[prog_src->Index]; in ptn_get_src()
982 c->temp_regs = rzalloc_array(c, nir_register *, in setup_registers_and_variables()
993 c->temp_regs[i] = reg; in setup_registers_and_variables()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c6752 int temp_regs[4]; in tgsi_op3_dst() local
6760 temp_regs[j] = 0; in tgsi_op3_dst()
6762 temp_regs[j] = r600_get_temp(ctx); in tgsi_op3_dst()
6771 r = tgsi_make_src_for_op3(ctx, temp_regs[j], i, &alu.src[j], &ctx->src[j]); in tgsi_op3_dst()
8857 unsigned i, temp_regs[2]; in tgsi_lrp() local
8928 temp_regs[0] = r600_get_temp(ctx); in tgsi_lrp()
8930 temp_regs[0] = 0; in tgsi_lrp()
8932 temp_regs[1] = r600_get_temp(ctx); in tgsi_lrp()
8934 temp_regs[1] = 0; in tgsi_lrp()
8943 r = tgsi_make_src_for_op3(ctx, temp_regs[0], i, &alu.src[0], &ctx->src[0]); in tgsi_lrp()
[all …]