Home
last modified time | relevance | path

Searched refs:max_inst (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_ppc.c54 p->max_inst = 100; /* first guess at buffer size */ in ppc_init_func()
55 p->store = rtasm_exec_malloc(p->max_inst * PPC_INST_SIZE); in ppc_init_func()
74 assert(p->num_inst <= p->max_inst); in ppc_release_func()
267 if (p->num_inst == p->max_inst) { in emit_instruction()
270 p->max_inst *= 2; /* 2x larger */ in emit_instruction()
271 newbuf = rtasm_exec_malloc(p->max_inst * PPC_INST_SIZE); in emit_instruction()
Drtasm_ppc.h58 uint max_inst; member
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_pair_schedule.c1089 struct schedule_instruction * max_inst = NULL; in emit_instruction() local
1113 update_max_score(s, &s->ReadyFullALU, &max_score, &max_inst, &max_list); in emit_instruction()
1114 update_max_score(s, &s->ReadyRGB, &max_score, &max_inst, &max_list); in emit_instruction()
1115 update_max_score(s, &s->ReadyAlpha, &max_score, &max_inst, &max_list); in emit_instruction()
1124 remove_inst_from_list(max_list, max_inst); in emit_instruction()
1125 rc_insert_instruction(before->Prev, max_inst->Instruction); in emit_instruction()
1126 commit_alu_instruction(s, max_inst); in emit_instruction()
/external/mesa3d/src/mesa/main/
Dffvertex_prog.c308 GLint max_inst; /** number of instructions allocated for program */ member
585 assert((GLint) p->program->Base.NumInstructions <= p->max_inst); in emit_op3fn()
587 if (p->program->Base.NumInstructions == p->max_inst) { in emit_op3fn()
592 p->max_inst *= 2; in emit_op3fn()
594 newInst = _mesa_alloc_instructions(p->max_inst); in emit_op3fn()
1643 p.max_inst = 32; in create_new_program()
1644 p.program->Base.Instructions = _mesa_alloc_instructions(p.max_inst); in create_new_program()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_decoder.c877 unsigned nr_of_idct_render_targets, max_inst; in init_idct() local
888 max_inst = dec->base.context->screen->get_shader_param in init_idct()
894 if (nr_of_idct_render_targets >= 4 && max_inst >= 32*4) in init_idct()