Home
last modified time | relevance | path

Searched refs:ralloc_array (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_live_variables.cpp169 int *def = ralloc_array(mem_ctx, int, num_vars); in calculate_live_intervals()
170 int *use = ralloc_array(mem_ctx, int, num_vars); in calculate_live_intervals()
Dbrw_vec4_reg_allocate.cpp112 brw->vs.ra_reg_to_grf = ralloc_array(brw, uint8_t, ra_reg_count); in brw_alloc_reg_set_for_classes()
116 brw->vs.classes = ralloc_array(brw, int, class_count + 1); in brw_alloc_reg_set_for_classes()
Dbrw_fs_reg_allocate.cpp90 brw->wm.ra_reg_to_grf = ralloc_array(brw, uint8_t, ra_reg_count); in brw_alloc_reg_set_for_classes()
94 brw->wm.classes = ralloc_array(brw, int, class_count + 1); in brw_alloc_reg_set_for_classes()
Dbrw_fs_cfg.cpp242 blocks = ralloc_array(mem_ctx, fs_bblock *, num_blocks); in make_block_array()
Dbrw_vec4.cpp271 int *def = ralloc_array(mem_ctx, int, virtual_grf_count); in calculate_live_intervals()
272 int *use = ralloc_array(mem_ctx, int, virtual_grf_count); in calculate_live_intervals()
Dbrw_fs.cpp1112 this->params_remap = ralloc_array(mem_ctx, int, c->prog_data.nr_params); in remove_dead_constants()
/external/mesa3d/src/mesa/program/
Dregister_allocate.c177 regs->regs[i].conflict_list = ralloc_array(regs->regs, unsigned int, 4); in ra_alloc_reg_set()
265 regs->classes[b]->q = ralloc_array(regs, unsigned int, regs->class_count); in ra_set_finalize()
318 g->nodes[i].adjacency_list = ralloc_array(g, unsigned int, count); in ra_alloc_interference_graph()
Dir_to_mesa.cpp2806 mesa_instruction_annotation = ralloc_array(v.mem_ctx, ir_instruction *, in get_mesa_program()
/external/mesa3d/src/glsl/
Dralloc.h140 #define ralloc_array(ctx, type, count) \ macro
Dralloc.c311 ptr = ralloc_array(ctx, char, n + 1); in ralloc_strdup()
330 ptr = ralloc_array(ctx, char, n + 1); in ralloc_strndup()
Dir_clone.cpp71 var->state_slots = ralloc_array(var, ir_state_slot, in clone()
375 c->array_elements = ralloc_array(c, ir_constant *, this->type->length); in clone()
Dopt_array_splitting.cpp379 entry->components = ralloc_array(mem_ctx, in optimize_split_arrays()
Dopt_structure_splitting.cpp350 entry->components = ralloc_array(mem_ctx, in do_structure_splitting()
Dlink_uniforms.cpp431 linked_block->Uniforms = ralloc_array(*linked_blocks, in link_cross_validate_uniform_block()
Dir.cpp605 this->array_elements = ralloc_array(this, ir_constant *, type->length); in ir_constant()
743 c->array_elements = ralloc_array(c, ir_constant *, type->length); in zero()
Dglsl_types.cpp93 this->fields.structure = ralloc_array(this->mem_ctx, in glsl_type()
Dlinker.cpp600 prog->UniformBlockStageIndex[i] = ralloc_array(prog, int, in interstage_cross_validate_uniform_blocks()
2597 tfeedback_decls = ralloc_array(mem_ctx, tfeedback_decl, in link_shaders()
Dbuiltin_variables.cpp444 ralloc_array(uni, ir_state_slot, uni->num_state_slots); in add_uniform()
Dast_to_hir.cpp3951 glsl_struct_field *const fields = ralloc_array(state, glsl_struct_field, in hir()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp2957 int *conv = ralloc_array(mem_ctx, int, element_type->components()); in set_uniform_initializer()