Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c65 struct ttn_reg_info *temp_regs; member
237 c->temp_regs[decl->Range.First + i].reg = NULL; in ttn_emit_declaration()
238 c->temp_regs[decl->Range.First + i].var = var; in ttn_emit_declaration()
239 c->temp_regs[decl->Range.First + i].offset = i; in ttn_emit_declaration()
245 c->temp_regs[decl->Range.First + i].reg = reg; in ttn_emit_declaration()
246 c->temp_regs[decl->Range.First + i].var = NULL; in ttn_emit_declaration()
247 c->temp_regs[decl->Range.First + i].offset = 0; in ttn_emit_declaration()
558 if (c->temp_regs[index].var) { in ttn_src_for_file_and_index()
559 unsigned offset = c->temp_regs[index].offset; in ttn_src_for_file_and_index()
560 nir_variable *var = c->temp_regs[index].var; in ttn_src_for_file_and_index()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c58 nir_register **temp_regs; member
98 dest.dest.reg.reg = c->temp_regs[prog_dst->Index]; in ptn_get_dest()
132 src.src.reg.reg = c->temp_regs[prog_src->Index]; in ptn_get_src()
933 c->temp_regs = rzalloc_array(c, nir_register *, in setup_registers_and_variables()
944 c->temp_regs[i] = reg; in setup_registers_and_variables()