Home
last modified time | relevance | path

Searched refs:num_reg (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c126 assert(sf->num_reg < ETNA_NUM_INPUTS); in etna_emit_output()
127 sf->reg[sf->num_reg].reg = src.reg; in etna_emit_output()
128 sf->reg[sf->num_reg].slot = var->data.location; in etna_emit_output()
129 sf->reg[sf->num_reg].num_components = glsl_get_components(var->type); in etna_emit_output()
130 sf->num_reg++; in etna_emit_output()
1024 v->input_count_unk8 = DIV_ROUND_UP(v->infile.num_reg + 4, 16); /* XXX what is this */ in fill_vs_mystery()
1045 int half_out = v->outfile.num_reg / 2 + 1; in fill_vs_mystery()
1102 sf->num_reg = MAX2(sf->num_reg, idx+1); in etna_compile_shader()
1111 sf->num_reg = MAX2(sf->num_reg, idx+1); in etna_compile_shader()
1114 assert(sf->num_reg == count); in etna_compile_shader()
[all …]
Detnaviv_shader.c84 for (int idx = 0; idx < shader->infile.num_reg; ++idx) { in etna_dump_shader()
92 for (int idx = 0; idx < shader->outfile.num_reg; ++idx) { in etna_dump_shader()
321 num_vs_inputs = MAX2(ves->num_elements, vs->infile.num_reg); in etna_shader_update_vs_inputs()
324 ves->num_elements, vs->infile.num_reg); in etna_shader_update_vs_inputs()
329 num_temps = num_vs_inputs - vs->infile.num_reg + cur_temp; in etna_shader_update_vs_inputs()
339 if (idx < vs->infile.num_reg) in etna_shader_update_vs_inputs()
Detnaviv_compiler.h67 size_t num_reg; member
Detnaviv_compiler_nir_ra.c213 reg = c->variant->infile.num_reg * NUM_REG_TYPES + REG_TYPE_VIRT_SCALAR_Y; in etna_ra_assign()
Detnaviv_nir.c83 v->vs_id_in_reg = v->infile.num_reg; in etna_lower_io()
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnir.c401 static gpir_compiler *gpir_compiler_create(void *prog, unsigned num_reg, unsigned num_ssa) in gpir_compiler_create() argument
412 comp->node_for_reg = rzalloc_array(comp, gpir_node *, num_reg); in gpir_compiler_create()
414 comp->reg_for_reg = rzalloc_array(comp, gpir_reg *, num_reg); in gpir_compiler_create()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dppir.h741 static inline unsigned int reg_mask_size(unsigned int num_reg) in reg_mask_size() argument
743 return (num_reg + 1) / 2; in reg_mask_size()
Dnir.c801 static ppir_compiler *ppir_compiler_create(void *prog, unsigned num_reg, unsigned num_ssa) in ppir_compiler_create() argument
804 prog, sizeof(*comp) + ((num_reg << 2) + num_ssa) * sizeof(ppir_node *)); in ppir_compiler_create()