Searched refs:num_reg (Results 1 – 9 of 9) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_compiler_nir.c | 126 sf->reg[sf->num_reg].reg = src.reg; in etna_emit_output() 127 sf->reg[sf->num_reg].slot = var->data.location; in etna_emit_output() 128 sf->reg[sf->num_reg].num_components = glsl_get_components(var->type); in etna_emit_output() 129 sf->num_reg++; in etna_emit_output() 1021 v->input_count_unk8 = DIV_ROUND_UP(v->infile.num_reg + 4, 16); /* XXX what is this */ in fill_vs_mystery() 1042 int half_out = v->outfile.num_reg / 2 + 1; in fill_vs_mystery() 1099 sf->num_reg = MAX2(sf->num_reg, idx+1); in etna_compile_shader_nir() 1108 sf->num_reg = MAX2(sf->num_reg, idx+1); in etna_compile_shader_nir() 1111 assert(sf->num_reg == count); in etna_compile_shader_nir() 1218 for (int i = 0; i < sobj->outfile.num_reg; i++) in etna_shader_vs_lookup() [all …]
|
D | etnaviv_shader.c | 83 for (int idx = 0; idx < shader->infile.num_reg; ++idx) { in etna_dump_shader() 91 for (int idx = 0; idx < shader->outfile.num_reg; ++idx) { in etna_dump_shader() 323 num_vs_inputs = MAX2(ves->num_elements, vs->infile.num_reg); in etna_shader_update_vs_inputs() 326 ves->num_elements, vs->infile.num_reg); in etna_shader_update_vs_inputs() 331 num_temps = num_vs_inputs - vs->infile.num_reg + cur_temp; in etna_shader_update_vs_inputs() 341 if (idx < vs->infile.num_reg) in etna_shader_update_vs_inputs()
|
D | etnaviv_compiler_tgsi.c | 2138 sf->num_reg = 0; in fill_in_ps_inputs() 2144 assert(sf->num_reg < ETNA_NUM_INPUTS); in fill_in_ps_inputs() 2145 sf->reg[sf->num_reg].reg = reg->native.id; in fill_in_ps_inputs() 2146 sf->reg[sf->num_reg].slot = sem2slot(®->semantic); in fill_in_ps_inputs() 2153 sf->reg[sf->num_reg].num_components = util_last_bit(reg->usage_mask); in fill_in_ps_inputs() 2154 sf->num_reg++; in fill_in_ps_inputs() 2158 assert(sf->num_reg == c->num_varyings); in fill_in_ps_inputs() 2166 sobj->outfile.num_reg = 0; in fill_in_ps_outputs() 2190 sf->num_reg = 0; in fill_in_vs_inputs() 2193 assert(sf->num_reg < ETNA_NUM_INPUTS); in fill_in_vs_inputs() [all …]
|
D | etnaviv_compiler.h | 67 size_t num_reg; member
|
D | etnaviv_compiler_nir_ra.c | 213 reg = c->variant->infile.num_reg * NUM_REG_TYPES + REG_TYPE_VIRT_SCALAR_Y; in etna_ra_assign()
|
D | etnaviv_nir.c | 83 v->vs_id_in_reg = v->infile.num_reg; in etna_lower_io()
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/ |
D | nir.c | 404 static gpir_compiler *gpir_compiler_create(void *prog, unsigned num_reg, unsigned num_ssa) in gpir_compiler_create() argument 415 comp->node_for_reg = rzalloc_array(comp, gpir_node *, num_reg); in gpir_compiler_create() 417 comp->reg_for_reg = rzalloc_array(comp, gpir_reg *, num_reg); in gpir_compiler_create()
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
D | ppir.h | 690 static inline unsigned int reg_mask_size(unsigned int num_reg) in reg_mask_size() argument 692 return (num_reg + 1) / 2; in reg_mask_size()
|
D | nir.c | 772 static ppir_compiler *ppir_compiler_create(void *prog, unsigned num_reg, unsigned num_ssa) in ppir_compiler_create() argument 775 prog, sizeof(*comp) + ((num_reg << 2) + num_ssa) * sizeof(ppir_node *)); in ppir_compiler_create()
|