Home
last modified time | relevance | path

Searched refs:rzalloc_array (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_live_variables.cpp141 bd = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks); in fs_live_variables()
144 bd[i].def = rzalloc_array(mem_ctx, bool, num_vars); in fs_live_variables()
145 bd[i].use = rzalloc_array(mem_ctx, bool, num_vars); in fs_live_variables()
146 bd[i].livein = rzalloc_array(mem_ctx, bool, num_vars); in fs_live_variables()
147 bd[i].liveout = rzalloc_array(mem_ctx, bool, num_vars); in fs_live_variables()
Dbrw_eu.c183 p->store = rzalloc_array(mem_ctx, struct brw_instruction, p->store_size); in brw_init_compile()
201 p->if_stack = rzalloc_array(mem_ctx, int, p->if_stack_array_size); in brw_init_compile()
205 p->loop_stack = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in brw_init_compile()
206 p->if_depth_in_loop = rzalloc_array(mem_ctx, int, p->loop_stack_array_size); in brw_init_compile()
Dbrw_wm.c309 c->instruction = rzalloc_array(c, struct brw_wm_instruction, BRW_WM_MAX_INSN); in do_wm_prog()
310 c->prog_instructions = rzalloc_array(c, struct prog_instruction, BRW_WM_MAX_INSN); in do_wm_prog()
311 c->vreg = rzalloc_array(c, struct brw_wm_value, BRW_WM_MAX_VREG); in do_wm_prog()
312 c->refs = rzalloc_array(c, struct brw_wm_ref, BRW_WM_MAX_REF); in do_wm_prog()
/external/mesa3d/src/mesa/program/
Dregister_allocate.c171 regs->regs = rzalloc_array(regs, struct ra_reg, count); in ra_alloc_reg_set()
174 regs->regs[i].conflicts = rzalloc_array(regs->regs, GLboolean, count); in ra_alloc_reg_set()
241 class->regs = rzalloc_array(class, GLboolean, regs->count); in ra_alloc_reg_class()
311 g->nodes = rzalloc_array(g, struct ra_node, count); in ra_alloc_interference_graph()
314 g->stack = rzalloc_array(g, unsigned int, count); in ra_alloc_interference_graph()
317 g->nodes[i].adjacency = rzalloc_array(g, GLboolean, count); in ra_alloc_interference_graph()
Dir_to_mesa.cpp2275 if_stack = rzalloc_array(v->mem_ctx, int, if_count); in set_branchtargets()
2276 loop_stack = rzalloc_array(v->mem_ctx, int, loop_count); in set_branchtargets()
2572 ir_to_mesa_instruction **acp = rzalloc_array(mem_ctx, in copy_propagate()
2575 int *acp_level = rzalloc_array(mem_ctx, int, this->next_temp * 4); in copy_propagate()
/external/mesa3d/src/glsl/
Dralloc.h157 #define rzalloc_array(ctx, type, count) \ macro
Dlink_uniforms.cpp595 rzalloc_array(prog, struct gl_uniform_storage, num_user_uniforms); in link_assign_uniform_locations()
597 rzalloc_array(uniforms, union gl_constant_value, num_data_slots); in link_assign_uniform_locations()
Dlinker.cpp2207 rzalloc_array(prog, in store_tfeedback_info()
2217 rzalloc_array(prog, in store_tfeedback_info()
Dast_to_hir.cpp4057 ubo->Uniforms = rzalloc_array(state->uniform_blocks, in hir()
/external/mesa3d/src/glsl/tests/
Dset_uniform_initializer_tests.cpp111 prog->UniformStorage = rzalloc_array(prog, struct gl_uniform_storage, in establish_uniform_storage()
123 rzalloc_array(prog, union gl_constant_value, total_components); in establish_uniform_storage()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp3243 glsl_to_tgsi_instruction **acp = rzalloc_array(mem_ctx, in copy_propagate()
3246 int *acp_level = rzalloc_array(mem_ctx, int, this->next_temp * 4); in copy_propagate()
3469 glsl_to_tgsi_instruction **writes = rzalloc_array(mem_ctx, in eliminate_dead_code_advanced()
3472 int *write_level = rzalloc_array(mem_ctx, int, this->next_temp * 4); in eliminate_dead_code_advanced()
3610 int *last_reads = rzalloc_array(mem_ctx, int, this->next_temp); in merge_registers()
3611 int *first_writes = rzalloc_array(mem_ctx, int, this->next_temp); in merge_registers()